making a list of tricks for making static sites (just HTML/CSS/JS) that do cool or useful things

so far I have:

- store all the state in the URL
- use localStorage for state
- make a client for an API that supports cross-origin requests (like the mastodon API)
- load a bunch of data from a static JSON file

some things I've seen but haven't done myself:

- use github as your data storage (like what Decap CMS does)
- use SQLite from a static website with no backend

0

If you have a fediverse account, you can quote this note from your own instance. Search https://hci.social/users/pg/statuses/114615535393012600 on your instance and quote it. (Note that quoting is not supported in Mastodon.)