If Joplin were to host this as a project, I'd heavily encourage using my Client Side JS above.

It's a minimal text file that can be hosted on a CDN, it's entirely stateless, with no databases or services running beyond the HTTP server itself. That means that yes, Github Pages can host it entirely for free, that's how I originally used it (except in work itself, where its on our own domain/Apache2).

The end result is the same but the technical implementation is significantly different, a 1KB text file in a Git repo that hasn't changed once in 3 years is hard to beat.

Yes there's one minor known defect (that doesn't even effect the Joplin URLs), if that is problematic for Joplin, it's likely significantly easier to work around it than to rearchitect the whole thing.

2 Likes