lw-cookie
GDPR-compliant cookie consent banner for WordPress: minimal footprint, full compliance
What XERJ indexed
Snapshot
Only assets/js, includes/Blocking, tests/Unit/Blocking at commit c924ae889c (2026-10-11). main is 22 commits ahead.
Selected work

“guard survives output rewriters that rename the data layer (#13)…”. 7 files, 384 lines in tests, includes, assets.
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. 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
Example questions
- What does includes do in lw-cookie?
Inside the indexed corpus
- 194 files, 1.7 MB in total, about 8.8 KB per file.
- The selected commit changed 7 of those files (3.6%).
- Languages by size: PHP 70.4%, JavaScript 23.5%, SCSS 3.5%, CSS 2.7%.
- On GitHub since 2026-02-05, last push 2026-10-27, 129 commits on main.
- The pin is 22 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported GPL-2.0 for lwplugins/lw-cookie on 2026-10-31, and the LICENSE file at commit c924ae889c was reviewed as GPL-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
TrueQAP (@trueqap) has 1 selected repository on the hub.
Using XERJ with lw-cookie
- Audit a PHP codebase with an index, not grep PHP is 70.4% of the code by size.
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
- Ask questions about a GitHub repo without cloning it
The prompt
Paste it into your AI agent. It clones lwplugins/lw-cookie at the pinned commit and indexes it on your machine.
Search the GitHub repository lwplugins/lw-cookie with XERJ (https://hub.xerj.org/corpus/lwplugins--lw-cookie). 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/lwplugins/lw-cookie lw-cookie && git -C lw-cookie checkout c924ae889c321c6900fca890fdf267ebe5847f49 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./lw-cookie --url http://127.0.0.1:9200 --prefix lw-cookie --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-2.0. Read it for the approach only, do not copy code.
Related
TrueQAPLaw and regulation corpora
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.