A mirror of all the files needed to play Cookie Clicker. This can be useful if you want to:
- Play offline
- Make your own deploy
- Read the code to make a mod... or cheat 😅
Either download the repo or clone it and host the /docs
folder using a http server of your preference.
There is a bun script that downloads all the files needed to run the game and saves them in the /docs
folder.
The list of needed files was obtained by inspecting the code and by looking at the steam version files.
Besides the files that the script downloads there are a few special files needed, these are files that were added manually to make sure the game is playable offline.
grab.json
: On load the game makes a http request, to avoid this I created this mock response and use it instead. I set the heralt to 100.- fonts: The game uses Merriweather font, to avoid downloading the font from the web I made a local copy. This is the same approach as the steam version.
In the index.html
there are a few ads and trackers setup, I manually removed them. So for future updates these need to be removed manually again.
The Cookie Monster addon is included by default.
You are welcome to open PRs.