#bssg

8 posts · Last used 6d

Back to Timeline
Stefano Marinelli @stefano@mastodon.bsd.cafe · 6d ago
25
1
14
Stefano on littleFedi @stefano@rpi0w.stefanomarinelli.it · Jul 25, 2026
The Blog Option in littleFedi littleFedi, like many social platforms, had both a strength and a limit. Posts, by their nature, are ephemeral. They get published, federated (unless local-only, which littleFedi handles) and then, over time, lost. Partly through self-deletion, partly through their normal blending in with the thousands of other posts that pile up over time. Sometimes, though, we want something to stay. And not just stay as a social post, but as an actual blog. A bit like with BSSG, I had thought it would be convenient to have a minimal system. Not to compete with WordPress or other solutions, but to have a small blog, integrated into littleFedi, that would produce and serve a blog updated every now and then, whenever the person writing felt like doing it. And that's why the blog option was born. The idea is simple: when you write a post, from the web UI or from the CLI, there's a checkbox, "blog post". If you check it, that post stops being just a status that will scroll past and disappear. littleFedi renders it into a real static site. No JavaScript, just HTML and CSS, an Atom feed, tag pages, a chronological archive. Nothing exotic, nothing that needs maintenance five years from now. The blog isn't a parallel system you have to feed separately. It's not an export, not an import, not a bridge to some other CMS. The post you wrote is the blog post. Same database, same act of writing, still boostable, still repliable, still part of the conversation on the fediverse side. The blog is just a second representation of the same content, generated automatically. Every time you create, edit, or delete a blog post, the whole static site for your account gets rebuilt from scratch, and the new version replaces the old one atomically, so nobody ever lands on a half-built page. If the build fails, the previous version stays in place. Simple, but it has to work reliably, or the whole idea is pointless. That's the core of it: two representations of the same post. As a status, it lives in the fediverse, interactive, part of the conversation, subject to replies and boosts like anything else. As a static page, it lives on the web, durable, indexable, with a permalink, something an RSS reader can hold onto. You don't have to decide in advance which posts deserve to last. You write normally, and if something turns out to be worth keeping, you flag it, and it gets its own page. One detail I cared about while thinking this through: the generated site has to be self-contained. When littleFedi builds it, media gets copied or hard-linked into the generated directory - images, audio, video. If it's stored on S3, it keeps its public URL directly. Either way, the point is that the site on disk doesn't depend on the instance staying up. If the server goes down tomorrow, the blog files are still a complete, working website. That wasn't an afterthought, it was one of the requirements from the start. Not every account gets a blog, and that's intentional. The instance admin has to enable the feature globally ([blog] enabled = true), and then grant it per account. It's not meant to be a CMS, and I didn't want it to become one. Blog posts can't be replies, can't be boosts, have to be public and top-level. These are constraints, not missing features: the blog is for your own writing, not for threads or reshared content. There's no JavaScript anywhere in the generated site. That was deliberate too. It loads fast, it works offline if you cache it, and it will still render correctly in ten years without anyone having to update a dependency. In the end, the blog option doesn't ask you to choose between writing socially and writing something permanent. You keep writing the way you always do, on littleFedi, and if a post is worth keeping, you check a box. No separate platform, no migration, no vendor lock-in. Just your own posts, some of them rendered into a small static site you can host anywhere, built out of something that already existed on the open web. Remember: all this is being currently served by a Raspberry PI Zero W powered by NetBSD Here's the result: https://rpi0w.stefanomarinelli.it/@stefano/blog/691cb62e-e7a1-434b-ba65-d059ee58ac41/ #littleFedi #SSG #BSSG #OwnYourData #Blogging #Fediverse #NetBSD
0
0
0
Michael Thomas @michael@mstdn.thms.uk · Jun 26, 2026
Replying to @michael@mstdn.thms.uk
Looks like the general consensus is #Hugo with #BSSG a close second. I guess I’ll check them both out. Thanks to everyone who took the time to reply!
0
0
2
Stefano Marinelli @stefano@mastodon.bsd.cafe · Jun 14, 2026
Announcing BSSG 0.41.0 Caching is now working, several fixes are in and you can now hide the header menu, the estimated reading time and other things. https://blog.bssg.dragas.net/2026/06/14/announcing-bssg-0-41-0-several-improvements/ #BSSG #SSG #Bash #OwnYourData
13
2
6
Stefano Marinelli @stefano@mastodon.bsd.cafe · Jun 14, 2026
Preparing the imminent release of BSSG 0.41.0 #BSSG #SSG
10
1
2
Stefano Marinelli @stefano@mastodon.bsd.cafe · Jun 11, 2026
A new BSSG commit has been pushed: New config options in config.sh (all default true for backward compat): SHOW_HEADER_MENU=true # Set false to remove nav menu from header SHOW_INDEX_DESCRIPTIONS=true # Set false to hide descriptions/excerpts on index GENERATE_EXCERPT=true # Set false to skip auto-generating excerpts SHOW_READING_TIME=true # Set false to hide reading time on posts Enjoy! #BSSG
12
2
3
DataKnightmare @DataKnightmare@mastodon.xyz · May 16, 2026
Replying to @lorenzo@snac.bobadin.icu
4
1
1

You've seen all posts