My Blog Engine Is the Erlang Build Tool
The author uses Rebar3 to power a minimalist, static blog focused on fast loading and accessibility, utilizing erlydtl for templates and a DAG for efficient file rebuilding, despite its complexity.
Read original articleThe author discusses their unique choice of using the Erlang Build Tool, Rebar3, to power their minimalist blog, which has been active for 14 years. The blog is designed to be static, with no dynamic content, JavaScript, or tracking, focusing instead on fast loading times and accessibility. The author highlights the need for a simple yet effective way to manage updates and features, such as syntax highlighting and RSS feeds, without relying on a database. The blog engine utilizes erlydtl, an Erlang implementation of Django Templates, to manage templates and content. The Rebar3 compiler is central to the blog's functionality, allowing for efficient rebuilding of only necessary files through a Directed Acyclic Graph (DAG) that tracks dependencies and modifications. The author emphasizes that while this setup works well for them, it may not be suitable for others due to its complexity and reliance on Erlang. The blog's structure includes various templates and sections, with a straightforward configuration that integrates seamlessly with the Rebar3 build process. Overall, the author finds this approach optimal for their needs, despite acknowledging its impracticality for a broader audience.
- The blog is powered by the Erlang Build Tool, Rebar3, emphasizing a static and minimalist design.
- It utilizes erlydtl for template management and focuses on fast loading and accessibility.
- The Rebar3 compiler efficiently rebuilds only necessary files using a Directed Acyclic Graph (DAG).
- The author acknowledges the setup's complexity, making it potentially unsuitable for most users.
- The blog's configuration is straightforward, integrating various templates and sections effectively.
Related
Microfeatures I love in blogs and personal websites
The article explores microfeatures for blogs and websites inspired by programming concepts. It highlights sidenotes, navigation tools, progress indicators, and interactive elements to improve user experience subtly. Examples demonstrate practical implementations.
Writing HTML by hand is easier than debugging your static site generator
The blog author discusses challenges of static site generators versus manual HTML coding, citing setup complexities and advocating for simplicity, stability, and control in website management. Emphasizes static data benefits.
Node 18 Ate My Website
The author upgraded their Next.js website to Node.js 18, facing issues with deprecated dependencies. They rebuilt the site with TypeScript, Contentlayer, Tailwind CSS, and Vercel Analytics, emphasizing simplicity and emerging technologies.
Why I Prefer RST to Markdown
The author prefers reStructured Text (rST) over Markdown for technical documentation, citing its complex structure, custom directives, and better management of content across formats, despite its less attractive syntax.
Making a blog for the next 10 years
The author plans to maintain their blog for a decade, using Markdown for readability, Mataroa for hosting, and Go for publishing tools, while addressing third-party module reliability concerns.
For more germane blogging and ssg in elixir/beam, I use and recommend the excellent tableau generator[2], by Mitch Hanberg. I use it to power my own personal site[3], and publish the source[4] for anyone who is interested.
[2] https://github.com/elixir-tools/tableau
[3] https://pdx.su
They made their own template language on top of html. An interesting outcome of this is that any error in the html, like a missing closing tag, becomes a build time error.
Related
Microfeatures I love in blogs and personal websites
The article explores microfeatures for blogs and websites inspired by programming concepts. It highlights sidenotes, navigation tools, progress indicators, and interactive elements to improve user experience subtly. Examples demonstrate practical implementations.
Writing HTML by hand is easier than debugging your static site generator
The blog author discusses challenges of static site generators versus manual HTML coding, citing setup complexities and advocating for simplicity, stability, and control in website management. Emphasizes static data benefits.
Node 18 Ate My Website
The author upgraded their Next.js website to Node.js 18, facing issues with deprecated dependencies. They rebuilt the site with TypeScript, Contentlayer, Tailwind CSS, and Vercel Analytics, emphasizing simplicity and emerging technologies.
Why I Prefer RST to Markdown
The author prefers reStructured Text (rST) over Markdown for technical documentation, citing its complex structure, custom directives, and better management of content across formats, despite its less attractive syntax.
Making a blog for the next 10 years
The author plans to maintain their blog for a decade, using Markdown for readability, Mataroa for hosting, and Go for publishing tools, while addressing third-party module reliability concerns.