Blog Documentation About
Lambdapad
Elixir & Erlang • ErlyDTL • Padmark • Standalone lpad CLI

Lambdapad Static website generator for the BEAM

Describe your site declaratively in Elixir or Erlang, write content in Markdown with Padmark, render templates with ErlyDTL, and bundle Tailwind CSS & esbuild with a single binary.

lpad
lambdapad.exs
$ lpad
* Reading configuration: lambdapad.exs
  .... Done (0.20s)
* Processing widgets:
  .. Done (0.17s)
* Processing pages:
  ............................. Done (0.35s)
* Processing assets:
  ........................................ Done (2.01s)
Done (2.74s)

Core Capabilities

Everything needed for docs, blogs, and landing pages

Explicit configuration, fast parallel builds, and zero-friction deployment.

Simple and Fast

Build a complete site with Markdown, templates, and assets in seconds using a single declarative configuration file.

Multiplatform

Run the standalone lpad CLI anywhere the BEAM runs, locally or inside CI pipelines like GitHub Actions.

Docs, Blog & RSS

Generate documentation portals with automatic tables of contents, blog indexes, clean URLs, and RSS/XML feeds from one project.

ErlyDTL & EEx

Use familiar Django-style ErlyDTL templates or Elixir EEx, with built-in support for npm, esbuild, and Tailwind CSS.

Extendable

Write lightweight .exs extensions for custom item transforms, sorting, grouping, and metadata enrichment.

Release and Upload

Output clean static HTML ready for GitHub Pages, Cloudflare Pages, Netlify, or any static web server.

Quickstart

One config file, one command

Define your sources, pages, and assets in lambdapad.exs and preview locally with lpad http.

lambdapad.exs
import Lambdapad

blog do
  source(posts: "posts/**/*.md")

  pages "posts" do
    set(from: :posts)
    set(uri: "/blog/")
    set(var_name: "post")
    set(template: "post.html")
  end

  assets "css" do
    set(from: "assets/**/*.css")
    set(to: "site/")
    set(tool: :tailwind)
  end
end
Terminal
# Create a new site
$ lpad new my-site
$ cd my-site

# Build static HTML & assets
$ lpad

# Preview locally at http://localhost:8080
$ lpad http

From the Blog

Latest articles & guides

View all posts →
Tutorial

Publishing a Lambdapad Site on GitHub Pages

Once your Lambdapad site is building locally, deploying it to GitHub Pages takes just one GitHub Actions workflow. You do not need to commit generated HTML into a gh-pages branch—GitHub Actions builds site/ on every push and publishes it directly.

Contributions are welcome!

You can read more in the following section:

Contributing