Skip to content

Repository files navigation

Source 2 Schema Explorer

A schema explorer for Source 2 engine games (Counter-Strike 2, Dota 2, Deadlock). Browse classes, enums, fields, and their metadata across game schema modules.

Loosely based on the ModDota API explorer, but heavily rewritten.

Schema Data

The app expects JSON schema files in the schemas/ directory, one per game:

  • cs2.json
  • dota2.json
  • deadlock.json

The dev and build scripts gzip these into schemas/*.json.gz, which is what the client fetches.

The build also writes llms.txt (see scripts/generate-llms.ts) pointing AI agents at the hashed .json.gz assets with a description of the JSON structure, so they download and search the data instead of crawling pages.

The schemas are generated by DumpSource2 and automatically updated by GameTracking.

Development

npm install
npm run dev

License

The code is licensed under the MIT License. The license does not cover the third-party material below.

Third-party notices

  • Most icons are from Codicons by Microsoft, licensed under CC BY 4.0, with modifications.
  • The GitHub logo is a trademark of GitHub, Inc., used under the GitHub logo guidelines.
  • Counter-Strike 2, Dota 2, Deadlock, Half-Life: Alyx, and their logos are trademarks of Valve Corporation. This project is not affiliated with or endorsed by Valve.
  • The schema data in schemas/ is dumped from Valve's games and belongs to Valve Corporation.

About

Source 2 schemas explorer

Resources

Stars

7 stars

Watchers

0 watching

Forks

Used by

Contributors

Languages