xuan

xuan (玄): a lightweight JavaScript runtime for the Internet of Things, built on QuickJS. Broad Node.js compatibility, built-in MQTT / SerialPort / FFI, tiny binary (~6MB) and millisecond cold start. Runs existing npm packages on embedded and edge devices

A new way for AI to search for data
View on GitHub
8GitHub stars
21commits on main
0forks
v1.3.0latest release, 2026-10-12

C 91.3%, JavaScript 6.2%, Python 1.1%, C++ 0.5% · created 2026-10-10 · last push 2026-10-29

What XERJ indexed

Snapshot

Whole repository

The whole repository at commit 9c6f011451 (2026-10-15). main is 8 commits ahead.

Selected work

topelinux
@topelinux

“add a per-target benchmark harness and methodology”. 6 files, 303 lines in bench.

Licence

The repository

MIT

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

The XERJ corpus

MIT, with credit

The author agreed by email on 2026-10-16. 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

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported MIT for topelinux/xuan on 2026-10-31, and the LICENSE file at commit 9c6f011451 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

topelinux (@topelinux) has 1 selected repository on the hub.

Using XERJ with xuan

The prompt

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

Search the GitHub repository topelinux/xuan with XERJ (https://hub.xerj.org/corpus/topelinux--xuan).
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/topelinux/xuan xuan && git -C xuan checkout 9c6f011451470ee6cf5c0e9c76defc34ad1e67d0
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./xuan --url http://127.0.0.1:9200 --prefix xuan --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: MIT. Keep the copyright notice and credit the authors.

Related

Stats: GitHub API, fetched 2026-10-31. Selected work and consent: the XERJ registry.