If you don't have a webserver to run the files on, you can also use something like GitHub pages.
Setup
- Fork the repo

- Go to settings

- Scroll down to the bottom to the "GitHub Pages" section"
- In the "Source" dropdown, select "master"

- Click "Save"

- Clone your fork (
git clone git@github.com:username/stickerpicker.git
)
- Follow the instructions in Creating packs to create packs. N.B. Skip step 1 of the install instructions as you already cloned your fork of the repo.
- Commit your changes (
git add web/packs && git commit
) and push (git push
)
- Follow the instructions in Enabling the widget using
https://username.github.io/stickerpicker/web/?theme=$theme
as the url
field.
Updating
To add more packs, simply do steps 7 and 8 again.
To update your copy of the sticker picker to the latest version, first add the upstream repo as a remote: git remote add upstream https://github.com/maunium/stickerpicker.git
(this only needs to be done once). Then whenever you want to update, run git fetch upstream
, git merge upstream/master
and git push