smb2

Pure-Rust SMB2/3 client. Faster than native macOS SMB on all operations. No C dependencies

A new way for AI to search for data
View on GitHub
32GitHub stars
475commits on main
7forks
latest release, 2026-10-30

Rust 98.6%, Shell 0.7%, Dockerfile 0.3%, Just 0.3% · created 2026-04-08 · last push 2026-10-31

What XERJ indexed

Snapshot

383 files · 4.2 MB

The whole repository at commit 56b2fda89f (2026-09-29). main is 79 commits ahead.

Selected work

“a call through a DFS link leaves the caller's tree on i…”. 8 files, 953 lines in crates/smb2.

Licence

The repository

NOASSERTION

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

The XERJ corpus

NOASSERTION, with credit

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

cifsfile-transfernasnetworkrustsambasmbsmb2

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported Apache-2.0 for vdavid/smb2 on 2026-10-31, but the LICENSE file at commit 56b2fda89f was reviewed as NOASSERTION. The corpus is the pinned commit, so answers from it follow NOASSERTION.

Contributors

David Veszelovszki (@vdavid) has 1 selected repository on the hub.

Using XERJ with smb2

The prompt

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

Search the GitHub repository vdavid/smb2 with XERJ (https://hub.xerj.org/corpus/vdavid--smb2).
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/vdavid/smb2 smb2 && git -C smb2 checkout 56b2fda89f041efef8eedf7c886b8a4d5666cb83
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./smb2 --url http://127.0.0.1:9200 --prefix smb2 --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

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.