findrail
Local-first search for notes, code and text PDFs. Built in Go, with matching passages, PDF page numbers and live folder refresh. No document uploads
What XERJ indexed
Snapshot
The whole repository at commit a8cc6c0e25 (2026-10-17). main is 160 commits ahead.
Selected work

“Guard portable snapshot UI outcomes and exercise native browser trans…”. 5 files, 728 lines in internal/transport, scripts.
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-17. 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
golanglocal-firstmarkdownpdfsearchself-hostedsqlite
Example questions
- How does findrail implement golang?
- What does internal/transport do in findrail?
- Show the local-first code in findrail.
Inside the indexed corpus
- 341 files, 7.8 MB in total, about 23.3 KB per file.
- The selected commit changed 5 of those files (1.5%).
- Languages by size: Go 47.3%, Python 39.6%, JavaScript 9.6%, HTML 2.3%, TypeScript 0.9%.
- On GitHub since 2026-10-02, last push 2026-10-31, 479 commits on main.
- The pin is 160 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported Apache-2.0 for Lephiziel/findrail on 2026-10-31, and the LICENSE file at commit a8cc6c0e25 was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Zakhar Solovev (@Lephiziel) has 1 selected repository on the hub.
Using XERJ with findrail
- Elasticsearch-compatible engine that isn't Elasticsearch findrail is tagged search on GitHub.
- XERJ vs Meilisearch for local and agent search
- Best lightweight Elasticsearch-compatible server (2026)
- Full-text search a SQLite database (FTS5 alternative) findrail is tagged sqlite on GitHub.
The prompt
Paste it into your AI agent. It clones Lephiziel/findrail at the pinned commit and indexes it on your machine.
Search the GitHub repository Lephiziel/findrail with XERJ (https://hub.xerj.org/corpus/lephiziel--findrail). 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/Lephiziel/findrail findrail && git -C findrail checkout a8cc6c0e254ce1ba9334abaf178c82f73b1d43b1 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./findrail --url http://127.0.0.1:9200 --prefix findrail --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: Apache-2.0. Keep the copyright notice and credit the authors.
Related
Zakhar SolovevDatabases and storage engines corporadunorth595--ai-agent-memoryconvert-anything-to-markdowndunorth595--ai-agent-chatNIKX-Tech/relaylyhaukened/gonejlhernando/micelio-crawler
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.