Remix.run Logo
pcmaffey 2 days 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

mmarian 2 days ago | parent [-]

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 days ago | parent [-]

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.

mmarian 2 days ago | parent [-]

Fair enough. Had similar apprehensions after trying Next.js, but I've genuinely been pleased with the Astro experience.