ssg

A simple static site generator written in Go. Converts content from WordPress exports (Markdown format with YAML frontmatter) to static HTML, CSS, and JS files

A new way for AI to search for data
View on GitHub
4GitHub stars
766commits on main
1forks
v1.8.85latest release, 2026-10-30

Go 90.9%, TypeScript 2.7%, HTML 2.2%, CSS 1.7% · created 2026-01-13 · last push 2026-10-31

What XERJ indexed

Snapshot

1,389 files · 11.6 MB

The whole repository at commit 66711a0e0f (2026-10-20). main is 64 commits ahead.

Selected work

Mona Lisa
@spagu

“breadcrumbs name real pages; the 404 page stays out of the sitemap”. 23 files, 704 lines in internal/generator, internal/config, cmd/ssg.

Licence

The repository

NOASSERTION

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

NOASSERTION, with credit

The author agreed by email on 2026-10-20. Same terms as the repository. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution

generatorgithub-actionsgolangmarkdownssgstatic-site

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported BSD-3-Clause for spagu/ssg on 2026-10-31, but the LICENSE file at commit 66711a0e0f was reviewed as NOASSERTION. The corpus is the pinned commit, so answers from it follow NOASSERTION.

Contributors

Mona Lisa (@spagu) has 1 selected repository on the hub.

Using XERJ with ssg

The prompt

Paste it into your AI agent. It clones spagu/ssg at the pinned commit and indexes it on your machine.

Search the GitHub repository spagu/ssg with XERJ (https://hub.xerj.org/corpus/spagu--ssg).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/spagu/ssg ssg && git -C ssg checkout 66711a0e0f1932d8a593e566156dc3fbe0974447
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./ssg --url http://127.0.0.1:9200 --prefix ssg --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: check the LICENSE file. Keep the copyright notice and credit the authors.

Related

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.