Piero

Piero

Corpus Hub contributor since 2026-10-24

Piero's work was selected for the XERJ Corpus Hub, the open reference memory AI coding agents search before they write code. When an agent meets the same problem, it gets this implementation back as a worked example, with the author and the repository attached.

1corpus
1selected commit
3files
424lines
★ 50GitHub stars on repo

Totals across every corpus @IoSonoPiero appears in; a commit selected for two corpora counts once. Files and lines count the selected commits; each corpus indexes the whole repository at its pinned commit.

What an agent can do with the mtp-rs corpus

vdavid/mtp-rs: Talk to MTP/PTP devices in pure Rust. No libmtp, no FFI, just async USB (uses nusb). Async streaming uploads/downloads, device events…

Example questions
Paste it into your AI agent. It clones the repo at the pinned commit and indexes it on your machine.
Search the GitHub repository vdavid/mtp-rs with XERJ (https://hub.xerj.org/corpus/vdavid--mtp-rs).
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/mtp-rs mtp-rs && git -C mtp-rs checkout 0012adcba44e0f217276d84c9b0f97e9dbe13474
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./mtp-rs --url http://127.0.0.1:9200 --prefix mtp-rs --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: Apache-2.0. Keep the copyright notice and credit the authors.

corpus vdavid--mtp-rs · Networking, protocols and serialisation
Related corpora: cozo, hyper, BIShare-project/bishare-flutter, alexiusacademia/tessel
Case study: reference coding for agents

Selected work

GitHub ★ 50

vdavid/mtp-rs

Talk to MTP/PTP devices in pure Rust. No libmtp, no FFI, just async USB (uses nusb). Async streaming uploads/downloads, device events, two-level API for Android phones or raw camera access

On GitHub: 354 commits · 12 forks · created 2026-01 · last push 2026-10-31
Languages: Rust 99%
0012adcba4 List folders with GetObjectPropList when the device advertises it
selected commit: 3 files · 424 lines · Rust · crates/mtp-rs

The corpus is the whole repository at the pinned commit, not only the files of the selected commit.

live on the hub · licence clearedcorpus vdavid--mtp-rsNETApache-2.0androidasynccross-platformfile-transfermedia-transfer-protocolmtp agreed 2026-10-24
XERJ Corpus Hub contributor badge
[![XERJ Corpus Hub contributor](https://hub.xerj.org/contributors/IoSonoPiero/badge.svg)](https://hub.xerj.org/contributors/IoSonoPiero)

Included with the author's permission (email, 2026-10-24), under each repository's own licence, with attribution. Own more repositories? Sign in with GitHub and add them. Want something removed? Reply to the email, withdraw it on /add, or open an issue on xerj-org/xerj.