gitea
Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
What XERJ indexed
Snapshot
Only models/auth, routers/web/auth, routers/web/user/setting/security, services/oauth2_provider, tests/integration at commit f270534e83 (2026-10-12). main is 165 commits ahead.
Selected work

“validate "scope" for OAuth2, "state" for OpenID”. 9 files, 316 lines in routers, services, tests.
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-13. 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
giteagolangdevopsgitgitlabgithubgohacktoberfest
Example questions
- How does gitea implement golang?
- Where does gitea handle “validate "scope" for OAuth2, "state" for OpenID”?
- What does routers do in gitea?
Inside the indexed corpus
- 6,355 files, 31.5 MB in total, about 5.1 KB per file.
- The selected commit changed 9 of those files (0.1%).
- Languages by size: Go 83.1%, Handlebars 7%, TypeScript 5.5%, CSS 1.8%, Vue 1.1%.
- On GitHub since 2016-11-01, last push 2026-10-31, 21,926 commits on main.
- The pin is 165 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for go-gitea/gitea on 2026-10-31, and the LICENSE file at commit f270534e83 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Shivansh Garg (@SHIVANSHGARG07) has 1 selected repository on the hub.
Using XERJ with gitea
- Find every place a config key is set in a repo gitea is tagged devops on GitHub.
- Index a monorepo so your agent stops reading the whole repo The pinned tree has 6,355 files.
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
The prompt
Paste it into your AI agent. It clones go-gitea/gitea at the pinned commit and indexes it on your machine.
Search the GitHub repository go-gitea/gitea with XERJ (https://hub.xerj.org/corpus/go-gitea--gitea). 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/go-gitea/gitea gitea && git -C gitea checkout f270534e8396cd2dfbee6cdac4c3018a5878386c 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./gitea --url http://127.0.0.1:9200 --prefix gitea --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
Shivansh GargOperations and SRE corporaglasskubegossgrpc-goGit-Hospital/githealthcheckMehdiMamas/gh-runnerschalvinwz/lazyssm
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.