ffcu
Update your firefox with remote themes and remote user.js config + custom local overrides with one command
NAME:
ffcu - Helper CLI tool to auto update your firefox config
USAGE:
ffcu [global options] command [command options]
COMMANDS:
config Commands related to ffcu configuration
update Kills firefox and updates it with the latest downloaded files
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help
Installing
go install github.com/Tronikelis/ffcu
Usage
Warning
This tool will override your user.js and chrome directory with the downloaded ones
ffcu config set-chrome-zip-url "the url that has the latest zip which contains the chrome dir"ffcu config set-userjs-url "the url that has the latest user.js file"ffcu config set-profile-dir "absolute path to the firefox profile directory"ffcu update
Config
The ffcu config is stored in $HOME/.ffcu/config.json
Overriding user.js
Create a file in the root of your firefox profile directory named user.overrides.js, once the new user.js is written,
that file will be appended at the end of the new user.js
Example config
$ ffcu config print
{
"ProfileDir": "C:\\Users\\tronikel\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\1coaibnj.default-release",
"UserJsUrl": "https://raw.githubusercontent.com/yokoffing/Betterfox/main/user.js",
"ZippedChromeUrl": "https://codeload.github.com/bmFtZQ/edge-frfox/zip/refs/heads/main"
}