top | item 46264664

(no title)

pcmaffey | 2 months ago

A side project for my side project: I built my own static site generator with React islands architecture and MDX support, using Bun. (Build your site from .mdx files, output only html+css, progressively hydrate the client with React only as needed).

I wrote about it here: https://pcmaffey.com/custom-ssg/

Forkable template: https://github.com/pcmaffey/bun-ssg

discuss

order

mmarian|2 months ago

I'm curious if you've considered using Astro? It's my go-to for that use case, been using it for all my side project sites.

pcmaffey|2 months ago

From my post:

> Staring at the errors in my CLI, I realized I did not want to use another framework. It's why I had already discarded the idea of switching to Astro. Twiddling around someone else's abstractions and incentives, frustrations fitting together the final 20% of a project... I've been down that road too many times before. It's never fun. The tradeoffs _you don't know you're making_ are the biggest risk.