fgshell

A unique shell written in Javascript using the OpenTUI library and compiled with Bun. It started as a joke but now it's a bit more serious

A new way for AI to search for data
View on GitHub
4GitHub stars
69commits on master
0forks
0.1.2blatest release, 2026-10-17

JavaScript 94.2%, Python 5.1%, Nix 0.2%, Shell 0.2% · created 2025-12-10 · last push 2026-10-17

What XERJ indexed

Snapshot

47 files · 188.2 MB

The whole repository at commit d66595db3d (2026-10-09). master is 16 commits ahead.

Selected work

Fearless Geek Media
@fearlessgeekmedia

“Fixed line duplications on smaller windows”. 3 files, 494 lines in src, the project root.

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-12. 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 fearlessgeekmedia/fgshell on 2026-10-31, and the LICENSE file at commit d66595db3d was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

Fearless Geek Media (@fearlessgeekmedia) has 1 selected repository on the hub.

Using XERJ with fgshell

The prompt

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

Search the GitHub repository fearlessgeekmedia/fgshell with XERJ (https://hub.xerj.org/corpus/fearlessgeekmedia--fgshell).
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/fearlessgeekmedia/fgshell fgshell && git -C fgshell checkout d66595db3d658eedad3e8787663333816a515252
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./fgshell --url http://127.0.0.1:9200 --prefix fgshell --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. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.