Speed up the distribution of self-hosted webextensions in Firefox.
Speed up the distribution of self-hosted Firefox webextensions
web-ext
via a simple docker imageThis tool relies on docker
and docker-compose
.
See https://docs.docker.com/compose/install/
Some shortcuts are provided by a Makefile
.
You will need make
to use them, but the tool is not mandatory.
cd /home/<username>/dev/webextension
src
.web-ext
npm package in this directory before you should also move your add-on id file.
mkdir src
mv !(src) src
[ -f .web-extension-id ] && mv .web-extension-id src
git submodule add git@github.com:alexandre-abrioux/webextension-helper.git helper
helper/.env.dist
to helper/.env
and fill in
cp helper/.env.dist helper/.env
vim helper/.env
Simply run make sign
.
web-ext
ToolTo rebuild the web-ext
docker image you can run make update
.
update.php
script
"applications": {
"gecko": {
"update_url": "https://webextension-helper.example.com/updates.php"
}
}
docker-compose.yml
file to start the web service on your server
make up
Some shortcuts are configured in a Makefile
. Use make help
for more information.
make help
make build
make up
make stop
make down
make restart
make sign
make update