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
What XERJ indexed
Snapshot
The whole repository at commit 66711a0e0f (2026-10-20). main is 64 commits ahead.
Selected work

“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
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
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
- How does ssg implement generator?
- Where does ssg handle “breadcrumbs name real pages; the 404 page stays out of the sitemap”?
- What does internal/generator do in ssg?
Inside the indexed corpus
- 1,389 files, 11.6 MB in total, about 8.6 KB per file.
- The selected commit changed 23 of those files (1.7%).
- Languages by size: Go 90.9%, TypeScript 2.7%, HTML 2.2%, CSS 1.7%, JavaScript 1.5%.
- On GitHub since 2026-01-13, last push 2026-10-31, 766 commits on main.
- The pin is 64 commits behind main; the corpus answers from the pinned code, not the newest.
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
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
- Ask questions about a GitHub repo without cloning it
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
Mona LisaWriting and copy corporaactoasdiffchaos-meshbyjg/docker-static-httpserverLephiziel/findrailGit-Hospital/githealthcheck
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.