PHP_gallery
Self-hosted PHP photo gallery CMS with web administration, photo uploader and Windows desktop uploader
What XERJ indexed
Snapshot
The whole repository at commit 57e71fbbdd (2026-10-14). main is 418 commits ahead.
Selected work

“Fix Settings loading, search, Theme deep links and sidebar selection”. 13 files, 236 lines in tests, app, app/views.
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-15. 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
gallerygallery-appgallery-viewerphppictures-organizerimage-galleryimage-gallery-applicationimage-preview
Example questions
- How does PHP_gallery implement gallery?
- Where does PHP_gallery handle “Fix Settings loading, search, Theme deep links and sidebar selection”?
- What does app/views do in PHP_gallery?
Inside the indexed corpus
- 1,695 files, 34.6 MB in total, about 20.9 KB per file.
- The selected commit changed 13 of those files (0.8%).
- Languages by size: PHP 71.4%, JavaScript 17.2%, Python 7.2%, CSS 4.2%, Inno Setup 0%.
- On GitHub since 2026-04-27, last push 2026-10-30, 1,582 commits on main.
- The pin is 418 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for klusik/PHP_gallery on 2026-10-31, and the LICENSE file at commit 57e71fbbdd was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Rudolf Klusal (@klusik) has 1 selected repository on the hub.
Using XERJ with PHP_gallery
- Audit a PHP codebase with an index, not grep PHP is 71.4% of the code by size.
- Best grep alternative for AI coding agents (2026)
- Ask questions about a GitHub repo without cloning it
- Index a reference library for a coding agent
The prompt
Paste it into your AI agent. It clones klusik/PHP_gallery at the pinned commit and indexes it on your machine.
Search the GitHub repository klusik/PHP_gallery with XERJ (https://hub.xerj.org/corpus/klusik--php-gallery). 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/klusik/PHP_gallery PHP_gallery && git -C PHP_gallery checkout 57e71fbbdddb1f5519fad7f3c766fd2d71c2e491 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./PHP_gallery --url http://127.0.0.1:9200 --prefix php-gallery --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
Rudolf KlusalWeb and frontend platform corporaxobotyi--cc-foundry-phpavroTheTechnoLegacy/TechnoGalleryfazal305/keelwatchtempestphp/tempest-framework
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.