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

  • @kernelle@0d.gsOP
    link
    fedilink
    English
    014 days ago

    That requires the running and maintenance of a federated instance, which is not easy or cheap. Doing it like this allows anyone to make a BlogOnLemmy by serving but a single webpage, no extra server cost at all.

    • Scrubbles
      link
      fedilink
      English
      013 days ago

      So, schlepping it off on other instance owners, so they host it, which as you say is not easy or cheap.

      • @kernelle@0d.gsOP
        link
        fedilink
        English
        013 days ago

        The open web and API’s are designed for this purpose, and don’t think any instance would ever follow reddit and close up theirs.

        I’m all for donating to your instance owner, altough I’d be surprised if any would mind their API being used this way. Giving credit where credit is due.