this post was submitted on 11 Apr 2025
78 points (98.8% liked)

Fediverse

33073 readers
450 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to [email protected]!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration)

founded 2 years ago
MODERATORS
 
Lemmydocs 7:4 – Thou shall create a blog

Features

  • Linked to a user using Lemmy’s API, no authentication
  • Host content on any instance
  • Category filters: Set one or more community as the categories
  • Easy to adapt to your profile
  • One page constraint
  • Anchor navigation and permalinks
  • Responsive
  • Dark / Light mode
  • No cookies or tracking
  • Interactive “about me”
  • No backend: serving a single lightweight page that can be hosted anywhere, including GitHub
  • HTML, CSS and ES6 JavaScript. That's it.

TODO

  • Possible compatibility issues with older iOS devices. Let me know if you encounter an issue! I'll be cleaning up the code in the meantime.
  • The only class not written by me is the markdown-html translation layer for which I'm using snarkdown. It does so using regex queries. As to not completely re-invent the wheel I've forked it for this purpose, but I'd like to write one myself.

GitHub | ./Martijn.sh > Blog

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 2 weeks ago (2 children)

A lot of static site blog generators use markdown to create posts. Lemmy also uses markdown for its’ post formatting. From my understanding what OP has done is that he made this post on Lenmy and has created a front end that basically retrieves the given post from Lemmy and displays it with a more traditional blog style CSS as well as a few other pages that aren’t hosted on Lemmy.

[–] [email protected] 10 points 2 weeks ago

This is in it's simplest form a blog frontend for Lemmy indeed!

[–] [email protected] 5 points 2 weeks ago (1 children)

Ok so you’d literally be making a regular Lenny post to some particular community on some particular instance in that case, right?

[–] [email protected] 4 points 2 weeks ago* (last edited 2 weeks ago)

Exactly, in this case the actual post is this one and posted it here as a x-post.

Edit: I own my instance, but you don't have to own one in order to deploy this blog frontend.