I've set up a microblog that uses Github Issues as a CMS

Published:

Tags: New Website Astro

I’ve made a microblog. It’s a blog but the idea is that I can put short posts there without too much thought or effort.

The key thing here is the posting experience. If it’s not easy, I won’t do it.

Writing a markdown file on my phone is just not going to happen. I can – but usually don’t – use Netlify CMS for this blog and it’s not good on mobile – like it’s really bad.

Github’s interface for creating issues is pretty good for this though, including on the mobile app. You get a really good markdown editor for free including the ability to add images, videos, all markdown stuff and a formatting bar.

The microblog uses Astro for the framework, same as this blog. But the microblog renders dynamically on the server using Vercel’s serverless functions to fetch the content from Github’s API for Issues and build the pages. Github has a limit of 5,000 API requests an hour. Seems unlikely the microblog will get enough visitors to hit that.

I also pieced together an API route which dynamically builds share (Open Graph) images for all of the pages. That uses Vercel’s ‘satori’ library.

It’s got an RSS feed if you’re into that sort of thing.

I’ll switch the site repostitory to public in a few days. I’ll probably leave the Issues/CMS repository private.