skimdit

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2026 License: AGPL-3.0

README

Skimdit

A blog engine for one author, written from scratch in Go.

Skimdit turns a folder of Markdown files into a fast, static, accessible site, and runs the parts a real blog needs next to it: a web editor, comments, a newsletter, privacy-friendly stats, webmentions and ActivityPub. One binary, no external database, no third-party scripts.

Its first site is deeperthinking.xyz.

Status: feature-complete, being proven on deeperthinking.xyz before the first stable release.

Principles

  • Your words stay yours. Posts are plain Markdown files with YAML frontmatter in a git repo. Export is a folder.
  • Readers get HTML. Every page is pre-built and works without JavaScript. No cookies, no trackers, no third-party requests.
  • Boring formats, long life. Markdown, TOML, HTML, Atom/RSS. Old links never break: slugs are frozen and every URL change gets a redirect.
  • Built to last ten years. A single Go binary with few dependencies, deterministic builds, and golden-file tests on every release.

Non-goals

Skimdit will not become any of these. Issues asking for them will be closed.

  • Multi-user or multi-author publishing
  • A page builder or visual layout editor
  • E-commerce, paid memberships or paywalls
  • A hosted service, theme marketplace or plugin registry
  • Client-side rendered pages

Roadmap

Everything below ships in 1.0. Each milestone must pass its checks before the next one starts.

Milestone Scope
M0 Repository, licence, CI on Linux/macOS/Windows, release pipeline
M1 Content core: Markdown, frontmatter schema, images, highlighting, math, diagrams, build, dev, check
M2 Default dark theme, every page type, accessibility and size budgets, theme contract and overrides
M3 Feeds, sitemap, robots.txt, meta tags, JSON-LD, social cards, redirect ledger, search
M4 serve, SQLite, admin login, web editor, drafts, publish-to-git, scheduling
M5 Comments with moderation, reply by email, webmentions
M6 Newsletter over SMTP, cookieless stats
M7 WebFinger, ActivityPub, Mastodon and Bluesky cross-posting
M8 Sandboxed WebAssembly plugins, WordPress/Ghost/Markdown import, export
M9 Security review, fuzzing, load test, restore drill, full documentation
M10 1.0 release

What it does

  • Writing: Markdown with footnotes, tables, math (rendered at build time), highlighted code, callouts and safe embeds; a web editor with live preview, autosave, versions, image uploads and scheduling; or plain files and git push.
  • Reading: a fast, accessible, dark-first theme (light mode included); search, tags, series, archives, related posts and backlinks; no cookies, no trackers, no JavaScript required.
  • Reaching readers: Atom, RSS and JSON feeds, sitemap, social cards, structured data; a double opt-in newsletter; webmentions; ActivityPub; Mastodon and Bluesky cross-posting.
  • Hearing back: moderated comments with spam defences that do not track anyone; replies by email; cookieless stats.
  • Lasting: old URLs never break (every move is redirected); deterministic builds; continuous database backups and a tested restore; import from WordPress, Ghost, Hugo and Jekyll; export to a zip that is a working site.
  • Extending: themes with a stable, versioned contract and per-file overrides; sandboxed WebAssembly plugins.

Quick start

go install github.com/GTKottman/skimdit/cmd/skimdit@latest
skimdit init my-blog && cd my-blog
skimdit new "My first post"
skimdit dev            # http://127.0.0.1:1414, reloads as you write
skimdit check          # links, images, drafts, feeds, page weight
skimdit build          # static site in dist/
skimdit serve          # the full server: editor, comments, newsletter...

Requires Go 1.27 or newer to build. Release binaries and a container image (ghcr.io/gtkottman/skimdit) come with each tagged release.

Documentation

Writing · CLI · Configuration · Themes · Feeds and SEO · Server · Comments and webmentions · Newsletter and stats · Fediverse · Plugins · Import and export · Deploying

Contributing

See CONTRIBUTING.md. Skimdit is maintained by one person, so replies can take about a week.

Security

Please report vulnerabilities privately. See SECURITY.md.

Licence

Skimdit is licensed under the GNU Affero General Public License v3.0 or later.

Themes and plugins that only use Skimdit's documented theme and plugin interfaces are separate works and may use any licence. Your posts are yours; the engine's licence does not apply to the content you publish with it.

Directories

Path Synopsis
cmd
skimdit command
Command skimdit is the Skimdit blog engine.
Command skimdit is the Skimdit blog engine.
internal
cards
Package cards draws the 1200x630 social sharing image for a post at build time: the post title on the theme's ground, the site name and date.
Package cards draws the 1200x630 social sharing image for a post at build time: the post title on the theme's ground, the site name and date.
check
Package check builds a site into a scratch folder and inspects the result: broken internal links and anchors, drafts committed to git, page weight budgets, and anything later stages register.
Package check builds a site into a scratch folder and inspects the result: broken internal links and anchors, drafts committed to git, page weight budgets, and anything later stages register.
config
Package config loads and validates a site's config.toml.
Package config loads and validates a site's config.toml.
content
Package content loads posts and pages from a site's content folder and validates their frontmatter.
Package content loads posts and pages from a site's content folder and validates their frontmatter.
dev
Package dev is the local preview server: it rebuilds on every change, reloads open pages and shows build errors in the browser.
Package dev is the local preview server: it rebuilds on every change, reloads open pages and shows build errors in the browser.
export
Package export writes everything a site is into one zip file: the Markdown content and settings, unpublished drafts as Markdown, and a copy of the database (comments, subscribers, stats).
Package export writes everything a site is into one zip file: the Markdown content and settings, unpublished drafts as Markdown, and a copy of the database (comments, subscribers, stats).
importer
Package importer brings posts from WordPress, Ghost and Markdown folders (Hugo, Jekyll, Skimdit) into a Skimdit site.
Package importer brings posts from WordPress, Ghost and Markdown folders (Hugo, Jekyll, Skimdit) into a Skimdit site.
locale
Package locale holds every UI string, so a site can translate or reword them in one file.
Package locale holds every UI string, so a site can translate or reword them in one file.
markdown
Package markdown renders post bodies to sanitized HTML.
Package markdown renders post bodies to sanitized HTML.
media
Package media resizes and re-encodes images at build time: responsive sizes, AVIF and WebP, EXIF (and GPS) stripped, width and height known.
Package media resizes and re-encodes images at build time: responsive sizes, AVIF and WebP, EXIF (and GPS) stripped, width and height known.
plugins
Package plugins runs WebAssembly plugins in a sandbox: no files, no network, no environment, a memory cap and a time limit per call.
Package plugins runs WebAssembly plugins in a sandbox: no files, no network, no environment, a memory cap and a time limit per call.
scaffold
Package scaffold creates new sites and posts.
Package scaffold creates new sites and posts.
server
Package server is `skimdit serve`: it serves the built site and runs the dynamic parts (web editor, comments, newsletter, stats, webmentions, ActivityPub) next to it.
Package server is `skimdit serve`: it serves the built site and runs the dynamic parts (web editor, comments, newsletter, stats, webmentions, ActivityPub) next to it.
site
Package site builds a whole site: it loads content, renders every page through the theme and writes a static output folder atomically.
Package site builds a whole site: it loads content, renders every page through the theme and writes a static output folder atomically.
store
Package store is Skimdit's SQLite database: drafts, comments, subscribers, stats, sessions and the job queue.
Package store is Skimdit's SQLite database: drafts, comments, subscribers, stats, sessions and the job queue.
theme
Package theme loads a theme: templates, partials and assets, layered so a site can override any single file without forking the theme.
Package theme loads a theme: templates, partials and assets, layered so a site can override any single file without forking the theme.
themecheck
Package themecheck verifies a theme against the theme contract: it builds a sample site that uses every page type and content feature with the theme, then runs the same checks as `skimdit check`.
Package themecheck verifies a theme against the theme contract: it builds a sample site that uses every page type and content feature with the theme, then runs the same checks as `skimdit check`.
tools/gencss command
Command gencss writes the default theme's code colours:
Command gencss writes the default theme's code colours:
version
Package version holds the Skimdit version and the theme/plugin API level.
Package version holds the Skimdit version and the theme/plugin API level.
Package plugin is the Skimdit plugin SDK.
Package plugin is the Skimdit plugin SDK.
plugins
examples/abbreviations command
Command abbreviations is an example Skimdit plugin.
Command abbreviations is an example Skimdit plugin.
examples/reading-list command
Command reading-list is an example Skimdit plugin.
Command reading-list is an example Skimdit plugin.
Package themes embeds the default theme into the binary.
Package themes embeds the default theme into the binary.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL