jpegoptim
jpegoptim - utility to optimize/compress JPEG files
What XERJ indexed
Selected work

“Add --strip-ai option to remove AI generation metadata”. 6 files, 477 lines in the project root, test.
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-23. 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
image-optimizationlibjpegjpegoptimjpeg-encoder
Example questions
- How does jpegoptim implement image-optimization?
- Where does jpegoptim handle “Add --strip-ai option to remove AI generation metadata”?
- Show the libjpeg code in jpegoptim.
Inside the indexed corpus
- Languages by size: C 63.1%, CMake 15.8%, Shell 8.8%, Roff 5.7%, Python 5.3%.
- On GitHub since 2011-09-24, last push 2026-10-31, 352 commits on main.
- The pin is 7 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 tjko/jpegoptim on 2026-10-31, but the LICENSE file at commit 4310d5497b was reviewed as NOASSERTION. The corpus is the pinned commit, so answers from it follow NOASSERTION.
Contributors
Matteo Croce (@teknoraver) has 1 selected repository on the hub.
Using XERJ with jpegoptim
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- Ask questions about a GitHub repo without cloning it
- 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 tjko/jpegoptim at the pinned commit and indexes it on your machine.
Search the GitHub repository tjko/jpegoptim with XERJ (https://hub.xerj.org/corpus/tjko--jpegoptim). 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/tjko/jpegoptim jpegoptim && git -C jpegoptim checkout 4310d5497bf957b425ace94731dd3940de4da3f4 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./jpegoptim --url http://127.0.0.1:9200 --prefix jpegoptim --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: check the LICENSE file. Read it for the approach only, do not copy code.
Related
Matteo CroceAPI design and specification corporaDevelonaut/bntoAbdulkader-Safi/obsidian-pixkit-pluginspeterstavrou/django-img-optimizer
Stats: GitHub API, fetched 2026-10-31. Selected work and consent: the XERJ registry.