5 ms·
I ended up building my own blog hosted atop Github Gist. It's pretty quick once the data is cached, and uses almost no resources. https://devnull.land/github-g
by julianlam 4y ago
I ended up building my own blog hosted atop Github Gist. It's pretty quick once the data is cached, and uses almost no resources.
https://devnull.land/github-gist-blog https://devnull.land/github-gist-blog
I only feel sort of bad that I basically use Gist as my data store.
- staindk 4y agoWhy not host it for free through Github Pages? They only host static sites so it's technically quite different to your blog... but if you are only going to be blogging it may as well be a static site IMO. Edit: I do like how neat it sounds to just query a user's public Gists though. https://pages.github.com/ https://pages.github.com/
- julianlam 4y agoI opted not to use GH pages because I wanted to stay open to the possibility of adding some dynamic elements (e.g. comments integration)
- staindk 4y agoAh that's fair enough. I've actually been thinking about different ways of adding exactly that to a static site - technically you could have something like a comments form that just writes to a text file somewhere (perhaps updating a Gist with the API you mentioned[1]), which the static site reads from upon page reload. Sounds a bit inelegant I guess, but could be interesting to implement. [1] https://docs.github.com/en/rest/gists/gists#update-a-gist https://docs.github.com/en/rest/gists/gists#update-a-gist
- lmas 4y agoI've encountered https://github.com/utterance/utterances https://github.com/utterance/utterances, which relies on github issues for providing a blog comments system of a sort. Alternatively there's https://github.com/giscus/giscus https://github.com/giscus/giscus, which instead uses github discussions. Haven't used either so can't comment (heh) on their "performance".
- staindk 4y agoHa, wow those are both great, thanks for the links!