lachlan

lachlan

Corpus Hub contributor since 2026-10-19

lachlan's work was selected for the XERJ Corpus Hub, the open reference memory AI coding agents search before they write code. When an agent meets the same problem, it gets this implementation back as a worked example, with the author and the repository attached.

1corpus
1selected commit
12files
635lines

Totals count @lachlan-00's own selected commits. The repositories belong to their maintainers; their stars are not counted here.

What an agent can do with @lachlan-00's commit to ampache

ampache/ampache: A web based audio/video streaming application and file manager allowing you to access your music & videos from anywhere, using almost any…

Example questions
Paste it into your AI agent. It clones the repo at the pinned commit and indexes it on your machine.
Search the GitHub repository ampache/ampache with XERJ (https://hub.xerj.org/corpus/ampache--ampache).
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/ampache/ampache ampache --filter=blob:none --no-checkout && git -C ampache sparse-checkout set --no-cone /docs/ /src/Module/Api/Method/Api3/ /src/Module/Api/Method/Api4/ /src/Module/Api/Method/Api5/ /src/Module/Api/Subsonic/Handler/ /src/Repository/ /tests/Module/Api/Method/Api3/ /tests/Module/Api/Method/Api4/ /tests/Module/Api/Method/Api5/ && git -C ampache checkout 618693a47e174b6b6eecdbd1f1e0c1f1359ea058
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./ampache --url http://127.0.0.1:9200 --prefix ampache --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.

corpus ampache--ampache · Web and frontend platform
Related corpora: axe-core, esbuild, aria-practices, preact
Case study: reference coding for agents

Selected work

Commit to ampache/ampache

maintained by @ampache
618693a47e withdrawn checks in apis
selected commit: 12 files · 635 lines · PHP · tests, src/Module, src/Repository

The corpus covers only the directories this commit changed (docs, src/Module/Api/Method/Api3, src/Module/Api/Method/Api4, src/Module/Api/Method/Api5, src/Module/Api/Subsonic/Handler, src/Repository, tests/Module/Api/Method/Api3, tests/Module/Api/Method/Api4, t). The repository is @ampache's; this page credits @lachlan-00 for this commit only.

live on the hub · licence clearedcorpus ampache--ampacheWEBAGPL-3.0 agreed 2026-10-19
XERJ Corpus Hub contributor badge
[![XERJ Corpus Hub contributor](https://hub.xerj.org/contributors/lachlan-00/badge.svg)](https://hub.xerj.org/contributors/lachlan-00)

Included with the author's permission (email, 2026-10-19), under each repository's own licence, with attribution. Own more repositories? Sign in with GitHub and add them. Want something removed? Reply to the email, withdraw it on /add, or open an issue on xerj-org/xerj.