Repository navigation
Cookbook
Ajat edited this page Sep 28, 2026
·
1 revision
Step-by-step recipes for real work. Each recipe is self-contained; copy, adapt, ship.
Have a recipe that worked? Add it β a working example is worth more than any amount of prose.
Migrate a login from any Camoufox-lineage browser into Ghostfox, without burning the session.
The golden rule: the identity must match the origin device. Cookies carried by a mismatched fingerprint look like an impossible login β anti-fraud systems may revoke ALL sessions for the account (observed on LinkedIn; it took the origin browser down too).
-
Read the source browser's fingerprint first:
navigator.userAgent,Intl.DateTimeFormat().resolvedOptions().timeZone,navigator.language,screen.width x height,devicePixelRatio,navigator.hardwareConcurrency, and the WebGL renderer (WEBGL_debug_renderer_info). -
Write those values into the profile's
identity.toml(platform, locale, timezone, screen, hardware) before the first boot. -
Export cookies from the source browser (Playwright storageState JSON
or its profile's
cookies.sqlite). -
Inject, respecting the Firefox 152 schema:
-
expiryis MILLISECONDS β Playwright gives seconds, multiply by 1000; -
schemeMapmust be256; -
lastAccessed/creationTime/updateTimeare microseconds. A seconds-value expiry reads as 1970 and Firefox purges the cookie silently.
-
-
Boot with
profile_dir, verify login once on the feed, then act. Never hard-kill (SIGKILL) the engine mid-session if you care about freshly-rotated tokens.
Full protocol with the failure story: AGENTS.md Β§8.
- π³ Solving a GeeTest icon-click end-to-end (with receipts)
- π³ Automated posting to X with receipts + escalation
- π³ Ghostfox on a server, phone as the client
- π³ Multi-account management with persistent profiles
- π³ Docker deployment with a compose file
(Claim one by opening a Discussion or just write the page.)
- π¦ README
- π©Ή Troubleshooting
- π³ Cookbook
- β FAQ
- π AGENTS.md (playbook)
- π° JOURNEY.md (roadmap)