this post was submitted on 29 Mar 2025
44 points (97.8% liked)

Selfhosted

45420 readers
984 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
44
submitted 5 days ago* (last edited 5 days ago) by [email protected] to c/[email protected]
 

Hi,

I am looking for a good and lightweight blogging solution.

I imagine I can just go with a static site generator like jekyll but I'd like something else... it would be a plus if it can federate :)

Any ideas?

Thanks !

EDIT: I forgot to say that obviously wordpress does not enters in the "lightweight" category ;)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 5 days ago* (last edited 5 days ago)

If Jekyll isn't your jam, then Hugo probably won't be, either.

I have a simple workflow based on a script on my desktop called "blog". I Cask it with "blog Some blog title" and it looks in a directory for a file named some_blog_entry.md, and if it finds it, opens it in my editor; if it doesn't, it creates it using a template.md that has some front matter filled in by the script. When I exit the editor, the script tests the modtime and updates the changed front matter and the rsyncs the whole blog directory to my server, where Hugo picks up and regenerates the site if anything changed.

My script is 133 lines of bash, mostly involving the file named sanitization and front matter rewriting; it's just a big convenience function that could be three lines of typing a little thought, and a little more editing of the template.

There's no federation, though. I'm not sure what a "federated blog" would look like, anyway; probably something like Lemmy, where you create a community called "YourName". What's the value of a federated blog?

Edit: Oh, I forgot until I just checked it: the script also does some markdown editing to create gem files for the Gemini mirror; that's at least a third to a half of the script (yeah, 60 LOC without the Gemini stuff), which you don't need if you're not trying to support a network that never caught on and that no-one uses.