Yet another static site generator written in Go
  • Go 95.4%
  • CSS 2.4%
  • HTML 1.4%
  • Makefile 0.5%
  • SCSS 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-04 23:51:54 +01:00
.github chore(deps): bump goreleaser/goreleaser-action from 7.2.3 to 7.3.0 (#42) 2026-11-04 23:37:43 +01:00
cmd/nida feat: Remove unused code and improve rebuild logic for content resources 2026-05-16 01:48:32 +02:00
docs ci(pages): only trigger pages workflow on documentation and changelog changes 2026-10-26 11:04:03 +01:00
example-site Render math and diagrams at build time with Temml and Pele (#43) 2026-10-20 14:54:22 +02:00
example-site-ar Add many features to nida as modern SSG (#38) 2026-10-18 04:55:46 +02:00
internal chore(deps): bump pele from 1.9.0 to 1.12.0 in /third_party/js (#53) 2026-11-04 23:39:57 +01:00
packaging/homebrew/Formula Enhance release workflow with tag validation and update Homebrew formula URLs 2026-04-23 11:52:22 +02:00
scripts Vendor goja under nida's module path so go install works (#44) 2026-10-20 15:35:53 +02:00
third_party fix(deps): refresh goja patch and update vendored engine (#55) 2026-11-04 23:41:58 +01:00
.gitignore Render math and diagrams at build time with Temml and Pele (#43) 2026-10-20 14:54:22 +02:00
.golangci.yml Render math and diagrams at build time with Temml and Pele (#43) 2026-10-20 14:54:22 +02:00
.goreleaser.yaml prepare changelog for v0.2.0 2026-04-23 11:53:40 +02:00
.sanad.toml ci: migrate sanad to version 1 with native actions.lock 2026-10-26 11:34:01 +01:00
CHANGELOG.md chore(release): prepare v0.8.3 (#56) 2026-11-04 23:51:54 +01:00
go.mod chore(deps): bump go.yaml.in/yaml/v3 from 3.0.5 to 3.0.6 (#52) 2026-11-04 23:37:54 +01:00
go.sum chore(deps): bump go.yaml.in/yaml/v3 from 3.0.5 to 3.0.6 (#52) 2026-11-04 23:37:54 +01:00
LICENSE First commit 2026-04-13 02:49:34 +02:00
Makefile Vendor goja under nida's module path so go install works (#44) 2026-10-20 15:35:53 +02:00
README.md Add migration feature (#40) 2026-10-18 20:08:36 +02:00

Nida

CI Release Go Reference Go Version Docs License: MIT

Nida (نداء, Arabic for "call") is a small static site generator written in Go for blogs, personal sites, and documentation. It reads Markdown with TOML or YAML front matter, renders it with Go HTML templates, and writes a static site you can host anywhere.

Install

curl -fsSL https://melashri.net/nida/install.sh | sh   # Linux and macOS
brew install MohamedElashri/nida/nida                   # Homebrew
go install github.com/MohamedElashri/nida/cmd/nida@latest

Prebuilt archives for Linux, macOS, and Windows are on GitHub Releases.

Quick start

nida init ./my-site                       # create an example site
nida serve ./my-site                      # preview at http://127.0.0.1:1702
nida new -s ./my-site posts/hello.md      # add a post
nida check ./my-site                      # find broken links and errors
nida build ./my-site                      # write the site to my-site/public

Coming from Hugo, Jekyll, Zola, Eleventy, or Pelican? nida migrate ./old-site ./my-site converts the site and writes a report of anything left to do.

Documentation

The full documentation lives at melashri.net/nida.

Guide What it covers
Getting Started Installing Nida and building your first site
Features Everything Nida supports, at a glance
Writing Content Front matter, sections, shortcodes, math, and diagrams
Templates Layouts, partials, and template functions
Themes Using and writing themes
CLI Reference Every command and flag
Config Reference Every config.toml option
Migrating Moving a site from Zola, Hugo, or Jekyll

Release history is in the Changelog.

Examples

Site Description
example-site English blog
example-site-ar Arabic blog with right-to-left layout
docs The Nida documentation site, with its own theme

Preview any of them with nida serve ./example-site.

License

MIT