firetools/README.txt
2026-01-13 17:37:07 -05:00

41 lines
1.1 KiB
Text

curlfire
========
tools for authenticated http requests using your firefox cookies.
scripts
-------
cookiefire extract cookies from firefox sqlite db
curlfire curl with firefox cookies
shotscraper screenshots/pdfs/js via shot-scraper with firefox cookies
playfox headless firefox with interactive python repl
setup
-----
1. install uv (https://docs.astral.sh/uv/)
2. run ./install-browser (one-time, for shotscraper)
usage
-----
curlfire https://private-site.com
curlfire -P work https://work-site.com
shotscraper https://example.com -o out.png
shotscraper -P work https://work-site.com -o shot.png -h 900
playfox https://example.com # print title
playfox --dump https://example.com # print html
playfox -i https://example.com # interactive python repl
all tools use -P to specify firefox profile (default: jtm)
how it works
------------
cookiefire reads cookies directly from firefox's cookies.sqlite file.
other tools use cookiefire to inject those cookies into their requests.
no re-authenticating - uses your existing firefox sessions.