mahir

mahir

Corpus Hub contributor since 2026-10-24

mahir'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
9files
258lines
★ 506GitHub stars on repo

Totals across every corpus @pilinux 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 gorest corpus

pilinux/gorest: Go RESTful API starter kit with Gin, JWT, GORM (MySQL, PostgreSQL, SQLite), Redis, Mongo, 2FA, email verification, password recovery

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 pilinux/gorest with XERJ (https://hub.xerj.org/corpus/pilinux--gorest).
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/pilinux/gorest gorest && git -C gorest checkout 83f8e578490f083f2200fc868c1c73ad766f570a
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./gorest --url http://127.0.0.1:9200 --prefix gorest --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.

corpus pilinux--gorest · API design and specification
Related corpora: oasdiff, grpc-gateway, clubpay/ronykit, nelthaarion/breeze
Search an OpenAPI spec from an agent · Case study: reference coding for agents

Selected work

GitHub ★ 506

pilinux/gorest

83f8e57849 fix(example3): seal record name/size, drop sha256
selected commit: 9 files · 258 lines · Go · example3, the project root

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

live on the hub · licence clearedcorpus pilinux--gorestAPIMITrestful-apirest-apirestfulapigolanggo agreed 2026-10-24
XERJ Corpus Hub contributor badge
[![XERJ Corpus Hub contributor](https://hub.xerj.org/contributors/pilinux/badge.svg)](https://hub.xerj.org/contributors/pilinux)

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.