Foundry

A Markdown-first CMS written in Go with themes, plugins, and an integrated admin UI

A new way for AI to search for data
View on GitHub
202GitHub stars
248commits on main
15forks
v1.4.6latest release, 2026-09-29

Go 68%, JavaScript 21%, HTML 5.6%, CSS 5.1% · created 2026-03-06 · last push 2026-10-21

What XERJ indexed

Snapshot

638 files · 18.2 MB

Only docs/themes, internal/admin/service, internal/admin/types, internal/admin/ui, internal/commands/theme, internal/renderer, internal/server, internal/theme, themes/admin-themes/default/assets/admin/views at commit 59badff8e8 (2026-09-29). main is 16 commits ahead.

Selected work

Juan Sanchez
@nsa-yoda

“make security validation remediation actionable”. 15 files, 1,659 lines in internal/theme, internal/commands, internal/admin.

Licence

The repository

AGPL-3.0

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

The XERJ corpus

Approach only

The author agreed by email on 2026-10-13. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: approach only

cmscontent-management-systemmarkdownwordpress

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported AGPL-3.0 for sphireinc/Foundry on 2026-10-31, and the LICENSE file at commit 59badff8e8 was reviewed as AGPL-3.0. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

Juan Sanchez (@nsa-yoda) has 1 selected repository on the hub.

Using XERJ with Foundry

The prompt

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

Search the GitHub repository sphireinc/Foundry with XERJ (https://hub.xerj.org/corpus/sphireinc--foundry).
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/sphireinc/Foundry Foundry && git -C Foundry checkout 59badff8e8753f5556f69f244a55c0bf076cd7bc
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./Foundry --url http://127.0.0.1:9200 --prefix foundry --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: AGPL-3.0. Read it for the approach only, do not copy code.

Related

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