StaticBlog - yet another static site generator with R2 publishing and MarsEdit integration

For Localize I wanted a site where I can publish longer form content on localisation, library usage, industry best practise. I had a few criteria which have resulted in the creation of the boringly-named static_blog library.

Its running live now at https://elixir-localize.com (more content during launch week starting tomorrow).

Features

  • Static site generator underpinned by nimble_publisher
  • Integrates with MarsEdit so you have a simple CMS to work with as writer/publisher (on Mac only)
  • Publishes to Cloudflare r2. Chosen for the CDN capabilities, no fees on egress. The free tier works fine for many use cases, including mine.
  • Delivers 97-100% scores out-of-the-box on Lighthouse metrics
  • Automatically builds in good SEO, accessibility, RSS feed and open-graph tagging.
  • Use it as a dependency then add some configuration and you are up and running. It has guides for the setup requirements of R2 and MarsEdit, all of which is quite straight forward.
  • Build your own theme. Comes with a default Daring Fireball inspired theme - because I like the simplicity and clarity. You can use configuration to change the side bar links. Or build your own template (it’s just heex after all).
  • Run mix blog.server and you have two endpoints: one is a preview server so you can see what your site looks like before publishing and one that is the api server for MarsEdit. When you’re ready, just mix blog.publish and you’re done.

It’s a library that has a lot of opinions and I’m quite sure they are not to most peoples taste. But if you think it fits what you’re after, give it a try and let me know how it goes. It’s live and in production for me so it will get love and attention as I write more content.

15 Likes