Live data from Hacker News

Offbase: Static site generator in a browser

offbase.org

31–40 of 96 posts

Re: Offbase: Static site generator in a browser

#31
post #29

CDN is still a server. It can still go down and can get hacked. You can still lock yourself into a CDN provider.

I can't tell for sure, but it sounds like it puts an abstraction in front of the CDN (via the WYSIWYG editor), such that moving to a new one wouldn't be hard. It mentions Cloudflare, GitHub Pages, Netlify, and Vercel as backends.

Re: Offbase: Static site generator in a browser

#34

Earlier 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.…

I recently dig up some old folders on my musheen and found harpjs back. It's a really nice static sige generator that I found easier to grasp than 11ty, gatsby, etc.

http://harpjs.com/

Re: Offbase: Static site generator in a browser

#35

This 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

I've been advocating for this type of thing, especially since a lot of the tooling around NodeJS is so bad, viz:

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

#36
I like the idea of a program (eh it's in javascript but whatever) that let people create personal websites without having to understand all the complexity of the web, and that allow people to keep control over their data.

It'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

#37
My first thought based on the video is that its serverless, so it can't be deplatformed or taken down, but it does not appear to be the case since you are still hosting it somewhere, so those looking for having a blog that can't be deplatformed will be disappointed. I believe there are other products that DO do that to some extent, though.

However, 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

#39
post #21

I 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.)

Gatsby is the hot one for react. Jekyll is the granddaddy and probably has the most broad support. Gridsome for vue is good too.
Post reply on HN