grammers
Rust Telegram/MTProto client with managed lifecycle, typed session imports, and portable sessions. Independently maintained grammers fork
What XERJ indexed
Snapshot
The whole repository at commit ab09fa5cbe (2026-10-18). main is 38 commits ahead.
Selected work

“import Pyrogram Telethon and gotd sessions in memory”. 7 files, 1,077 lines in grammers-session, grammers-client.
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-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
Example questions
- Where does grammers handle “import Pyrogram Telethon and gotd sessions in memory”?
- What does grammers-session do in grammers?
Inside the indexed corpus
- 187 files, 1.7 MB in total, about 9.2 KB per file.
- The selected commit changed 7 of those files (3.7%).
- Languages by size: Rust 92.9%, Python 7.1%, Makefile 0%.
- On GitHub since 2026-09-19, last push 2026-10-31, 1,427 commits on main.
- The pin is 38 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 xD-Mohamed/grammers on 2026-10-31, but the LICENSE file at commit ab09fa5cbe was reviewed as NOASSERTION. The corpus is the pinned commit, so answers from it follow NOASSERTION.
Contributors
L (@xD-Mohamed) has 1 selected repository on the hub.
Using XERJ with grammers
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
- Ask questions about a GitHub repo without cloning it
The prompt
Paste it into your AI agent. It clones xD-Mohamed/grammers at the pinned commit and indexes it on your machine.
Search the GitHub repository xD-Mohamed/grammers with XERJ (https://hub.xerj.org/corpus/xd-mohamed--grammers). 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/xD-Mohamed/grammers grammers && git -C grammers checkout ab09fa5cbe9ab301ef821b53df43f791151754b0 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./grammers --url http://127.0.0.1:9200 --prefix grammers --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: check the LICENSE file. Keep the copyright notice and credit the authors.
Related
LAPI design and specification corpora
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.