api.swissgamesgarden

Games of Switzerland - Drupal Backend Application

A new way for AI to search for data
View on GitHub
5GitHub stars

PHP

What XERJ indexed

Snapshot

Whole repository

Only tools/php-cs-fixer, web/modules/custom/gos_default_content/src/EventSubscriber, web/modules/custom/gos_elasticsearch/src/Plugin/Normalizer, web/modules/custom/gos_elasticsearch/src/Plugin/rest/resource, web/modules/custom/gos_game/src, web/modules/custom/gos_game/tests/src/Functional, web/modules/cu at commit e9ed9573b1 (2026-09-27).

Selected work

Kevin Wenger
@WengerK

“modernize codebase following psalm 6 & latests rector”. 16 files, 267 lines in web, the project root.

Licence

The repository

GPL-2.0

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

Approach only

The author agreed by email on 2026-10-16. 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

drupaldrupal-8rest-apijson-apielasticsearchdockerphpdrupal-9

Example questions

The prompt

Paste it into your AI agent. It clones Games-of-Switzerland/api.swissgamesgarden at the pinned commit and indexes it on your machine.

Search the GitHub repository Games-of-Switzerland/api.swissgamesgarden with XERJ (https://hub.xerj.org/corpus/games-of-switzerland--api-swissgamesgarden).
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/Games-of-Switzerland/api.swissgamesgarden api.swissgamesgarden && git -C api.swissgamesgarden checkout e9ed9573b1ce173ef23c5788fc9fd8ea133229dd
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./api.swissgamesgarden --url http://127.0.0.1:9200 --prefix api-swissgamesgarden --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

Selected work and consent: the XERJ registry.