No description
  • Go 54.2%
  • CSS 40.3%
  • HTML 5.5%
Find a file
Jon Charter 7be1e437e9 test: add core tests
Reviewed-on: https://codeberg.org/jmcharter/lumaca/pulls/1
Co-authored-by: Jon Charter <git@chrt.uk>
Co-committed-by: Jon Charter <git@chrt.uk>
2026-03-26 13:54:18 +01:00
builder test: add core tests 2026-03-26 13:54:18 +01:00
cmd test: add core tests 2026-03-26 13:54:18 +01:00
config test: add core tests 2026-03-26 13:54:18 +01:00
content/static fix: set color-scheme meta and html background to prevent FOUC 2026-03-20 17:37:21 +00:00
docs Add: social media links and configuration 2026-03-13 11:16:32 +00:00
templates fix: set color-scheme meta and html background to prevent FOUC 2026-03-20 17:37:21 +00:00
.gitignore chore: gitignore content/pages 2026-03-13 16:47:20 +00:00
CHANGELOG.md chore: release v1.4.2 2026-03-20 17:49:14 +00:00
cliff.toml chore: update cliff.toml and changelog to reflect codeberg usage 2026-03-20 12:23:58 +00:00
config.example.toml feat: add configurable head links for rel=me 2026-03-19 18:30:03 +00:00
go.mod feat: add SSE broker and event stream endpoint 2026-03-18 09:46:31 +00:00
go.sum feat: add SSE broker and event stream endpoint 2026-03-18 09:46:31 +00:00
LICENSE chore: update license year to 2026 2026-03-13 14:14:57 +00:00
lumaca fix: set color-scheme meta and html background to prevent FOUC 2026-03-20 17:37:21 +00:00
main.go Update package to reflect move to Codeberg 2026-03-06 23:38:28 +00:00
mise.toml fix: centre typo link and add svg icon 2026-03-19 18:18:59 +00:00
README.md chore: update go install url from github to codeberg 2026-03-13 15:04:29 +00:00


A simple static site generator written in Go

What is Lumaca?

Lumaca is a static site generator written in Go, intended to generate my personal blog.
This is not a commercial project and is not intended to be distributed or used by others. With that said, feel free to use it if you feel it meets your needs, but understand that using it comes with no warranty, offer of support or any guarantees.

The project is MIT licensed, so feel free to fork it, copy it, modify and generally do as you please.

Usage

Installation

The easiest way to get started with Lumaca is to use the Go package manager:

go install codeberg.org/jmcharter/lumaca@latest

Alternatively, you can clone this repo and generate your own binary.

Get Started

Once it's installed, create a new directory for your blog and run the init command:

mkdir MyBlog
cd MyBlog
lumaca init --author "John Doe" --title "MyBlog"

This will create a config file for you, which you can customize if you wish. It will also generate all of the boilerplate and template you need to get going.

To create your first blog post, use the new command.

lumaca new --title "My First Post"

A markdown file with some Frontmatter will be generated in your Posts directory (content/posts). Edit as appropriate, and when you're finished writing your post, you can run build to generate the html.

lumaca build

And if you'd like to see how it looks locally before deploying somewhere, you can run serve.

lumaca serve