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