sGallery
Plugin for attaching images and YouTube videos to resources in the Evolution CMS admin panel
What XERJ indexed
Snapshot
Only config, docs/_data, docs/pages, lang/en, lang/ru, lang/uk, src/Builders, src/Exceptions, src/Services, src/Workers, tests at commit b5c8759522 (2026-10-09). main is 5 commits ahead.
Selected work

“defer slow image optimization to optional sTask worker”. 11 files, 551 lines in tests, src/Builders, src/Services.
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-12. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: approach only
evolution-cmsgalleryimagesvideos
Example questions
- How does sGallery implement evolution-cms?
- Where does sGallery handle “defer slow image optimization to optional sTask worker”?
- What does src/Builders do in sGallery?
Inside the indexed corpus
- 126 files, 3.3 MB in total, about 26.5 KB per file.
- The selected commit changed 11 of those files (8.7%).
- Languages by size: HTML 66.9%, PHP 20.7%, Blade 5.3%, CSS 4.1%, JavaScript 3%.
- On GitHub since 2022-05-14, last push 2026-10-25, 216 commits on main.
- The pin is 5 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported GPL-3.0 for Seiger/sGallery on 2026-10-31, and the LICENSE file at commit b5c8759522 was reviewed as GPL-3.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
middle:Sokil (@MiddleSokilAI) has 1 selected repository on the hub.
Using XERJ with sGallery
- Audit a PHP codebase with an index, not grep PHP is 20.7% of the code by size.
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
The prompt
Paste it into your AI agent. It clones Seiger/sGallery at the pinned commit and indexes it on your machine.
Search the GitHub repository Seiger/sGallery with XERJ (https://hub.xerj.org/corpus/seiger--sgallery). 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/Seiger/sGallery sGallery && git -C sGallery checkout b5c8759522eebf6ce11a6fe86694bc10480343a7 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./sGallery --url http://127.0.0.1:9200 --prefix sgallery --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: GPL-3.0. Read it for the approach only, do not copy code.
Related
middle:SokilAPI design and specification corporaSywyar/PixivDownloaderBlazzy-Motion/BlazzyMotionalwindoss/twitterati
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.