Drasil

Generate all the things (focusing on research software)

A new way for AI to search for data
View on GitHub
170GitHub stars
19,280commits on main
34forks

Haskell 98.3%, Makefile 0.9%, Shell 0.7%, HTML 0.1% · created 2014-09-07 · last push 2026-10-30

What XERJ indexed

Snapshot

6,427 files · 246.1 MB

Only code/drasil-lang/lib/Language/Drasil/NaturalLanguage/English, code/drasil-natural-language at commit 58b7571516 (2026-09-28). main is 134 commits ahead.

Selected work

Purav Kanda
@Purav-Kanda

“Move generic NounPhrase code into drasil-natural-language”. 3 files, 558 lines in code.

Licence

The repository

BSD-2-Clause

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

The XERJ corpus

BSD-2-Clause, 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

knowledgescientifichaskellhaskell-languagedsldocumentation-generatorcode-generationdrasil-framework

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported BSD-2-Clause for JacquesCarette/Drasil on 2026-10-31, and the LICENSE file at commit 58b7571516 was reviewed as BSD-2-Clause. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

Purav Kanda (@Purav-Kanda) has 1 selected repository on the hub.

Using XERJ with Drasil

The prompt

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

Search the GitHub repository JacquesCarette/Drasil with XERJ (https://hub.xerj.org/corpus/jacquescarette--drasil).
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/JacquesCarette/Drasil Drasil && git -C Drasil checkout 58b7571516e655bfe3132d602c982760cc6750dd
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./Drasil --url http://127.0.0.1:9200 --prefix drasil --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: BSD-2-Clause. 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.