CDN is still a server. It can still go down and can get hacked. You can still lock yourself into a CDN provider.
Offbase: Static site generator in a browser
31–40 of 96 posts
Re: Offbase: Static site generator in a browser
#32Re: Offbase: Static site generator in a browser
#33Can it use minio/s3 as a CDN ?
Can it also use one's own gitea/git instance ?
Re: Offbase: Static site generator in a browser
#34Earlier quoted context omitted.
Can you list a few? I have been wanting to play with an SSG. (Googling sends me down a rabbit hole.)
Every single one doesn't require a server. 11ty deployed to Netfliy is probably the most simple way get started. Because everybody is clamoring to label themselves a react dev, Gatsby is also en vogue. Jekyll is the OG. But while they don't require a database/server/etc, static sites do require a spaghetti mess of fragile dependencies on build, so have fun troubleshooting that. TBH I don't build static sites anymore.…
Re: Offbase: Static site generator in a browser
#35This is a quite an interesting architecture that could also be used for developing on the browser. I imagine some of the existing browser development tools use something similar
https://news.ycombinator.com/item?id=24495646
For my personal site, I switched to Marijn Haverbeke's Heckle https://marijnhaverbeke.nl/blog/heckle.html> several years ago. I realized that I could pretty easily do a rewrite that uses my browser's native JS engine + browser APIs instead of requiring NodeJS and depending on the slipshod fragility of the NPM ecosystem. The result is triickl:
https://codeberg.org/triplescripts/triickl
What's more is that, because I also created some tools that allow triickl (and similar programs) to be packed into a single, self-contained file that can run in the browser (e.g. buildfoo.html or pages.app.htm), it's pretty natural to let there be a page on the target site corresponding to this file. The end result is that if you're using triickl, you can clone the site's source repo and then use buildfoo.html to generate the static assets. In other words, so long as you're able to get your hands on the source tree, then every computer is already a development system.
Re: Offbase: Static site generator in a browser
#36It's in the "internet is for everyone so let everyone use it and create things with it easily" project category (which is my favorite) :)
Re: Offbase: Static site generator in a browser
#37However, taking out that premise, it still looks interesting, and I would love to try it out. I tried to get someone on one of the static site generators but just getting everything setup on their computer and then teaching them the needed workflow was not trivial, and not something I would try again with anyone less tech-savvy or without being there with them during setup and teaching. I've seen platforms that simplify, but then you are paying a fee again for that too.
Re: Offbase: Static site generator in a browser
#38Re: Offbase: Static site generator in a browser
#39I think this title is askew. The secret sauce here is that this has a GUI CMS that runs without a server. There's plenty of flat file static site generators that don't require a server.
Can you list a few? I have been wanting to play with an SSG. (Googling sends me down a rabbit hole.)