Development
Note
The following content is intended for those interested in building & debugging Camoufox or Camouwolf.
Camoufox is a patch series on Firefox, built with Mozilla's toolchain and make. Camouwolf is a patch series on Chromium, built with Chromium's own toolchain (depot_tools, GN and ninja). Each page below has a section per browser. What the two share:
- Both build on a Linux host only, and cross-compile the other platforms from it.
- Both keep their changes as
.patchfiles inbrowser/patches/, applied to a pinned upstream version set inbrowser/upstream.sh. Never hand-edit a.patchfile: edit the source, then write the diff with the repository's tool. - The launchers (
python/andtypescript/) need no browser build to develop.
git clone --depth 1 https://github.com/daijro/camoufoxgit clone --depth 1 https://github.com/CamouBrowser/camouwolfBuilding
Instructions on how to build each browser from scratch:
Build system overview Build via CLI Build via DockerDeveloping patches
How to develop patches and find leaks:
Changing patches Leak debugging workflow