Skip to content

Conversation

@jonbarrow
Copy link
Member

@jonbarrow jonbarrow commented Oct 30, 2025

Resolves org-issues#9

Changes:

  • Completely removes all the old code. This was originally a crappy JSX SSR factory, but that was pointless and no one was using it anyway.
  • Converts this repo into a "framework" for building 3DS/Wii U web apps in a modern feeling way, mainly intended for Juxtaposition

See the updated README for all the finer details of what the projects would look like. Also see the examples folder for some tests of me messing around with features. This is mostly an Express wrapper with some project structure conventions and a few extra features sprinkled in. Some key features are:

  • Still has access to the full Express app and Express request/response life cycles. So Porting existing Express apps would be pretty easy
  • Takes inspiration from both Nuxt/Next in terms of project structure and path routing. HTTP methods can be defined in file names, as can path parameters, much like Nuxt/Next
  • Support for page partials via HTMX/NWFX, so we can navigate pages without full page transitions
  • Support for SSE as a native feature, so we can add real-time events
  • Support for injecting client-side code from the SSR pages

Still needs to have the build script made into a proper CLI tool though

Marking this as a draft for now just in case there's any major issues, but I don't think there are. Basically everything in terms of building is handled by tsup, only a minimal Express app is hand-generated by the build script. I'm quite happy with where it's at and personally think this is more than usable for a v1 (technically v2, but who's counting) release.

@jonbarrow jonbarrow marked this pull request as ready for review October 31, 2025 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants