Progressively enhance HTML with lightweight JavaScript/CSS libraries. No build tools and no compiling necessary. Most libraries should be 10 KB or less (minified).
Sometimes you don't need an entire SPA framework just to load a progress spinner.
Yeah, probably.
- Fork this repo
- Update
data/js.jsonordata/css.jsonfollowing the current examples - Make a PR
- ???
- Profit!
🤓 Why use coltrane to build this site?
unsuckjs.com and unsuckcss.com look like static sites (and they mostly are), but I wanted to fetch repository metadata dynamically without having to re-run a static site generator on a schedule. So, I used coltrane which gives the flexibility of using Django templatetags for server-side functionality. It's the best of both worlds.
Also... because it's my site and I wanted to. 🥹
- Install uv
git clonethis repocdinto the newly created directory- Create a personal access token at https://github.com/settings/tokens
cp .env.example .env- Update
.envwith your GitHub username and personal access token that was just created uv run coltrane play; note: this will take a while on the first load because it loads a lot of data from the GitHub API