Blazor WebAssembly app for browsing CS2 console commands and building .cfg files in a VS Code–style editor.
- Command reference: Browse/search CS2 cvars/commands.
- Config workspace: Edit configs, save them to browser storage, download/copy/upload
.cfgfiles. - Presets: Load example
.cfgpresets (players + servers). - Schema-driven UI: Command UI is generated from JSON data in
CSConfigGenerator/wwwroot/data/.
- Entry point:
CSConfigGenerator/wwwroot/data/manifest.jsonlists one or more command data JSON files. - Command data: Currently
CSConfigGenerator/wwwroot/data/commandschema/all_commands.json. - Runtime loader:
SchemaServicereads the manifest and loads each listed file.
The command data format is documented in SCHEMA.md.
CSConfigGenerator/: Blazor WebAssembly frontend app.CSConfigGenerator/wwwroot/data/: Static data shipped with the app (manifest, command schema, presets).CommandPipeline/: Python pipeline to regenerate command data from a CS2 snapshot.CSConfigGenerator.Tests/: Unit tests for core logic.
Prerequisite: .NET SDK 10.
dotnet restore
dotnet run --project CSConfigGenerator- Put a CS2
dump_commandssnapshot intoCommandPipeline/data/(file name must matchall_commands-*.txt). - Run the pipeline:
python CommandPipeline/pipeline.pySee PIPELINE.md for details (including non-interactive mode and optional scraping inputs).
This repo may include third-party data files under CommandPipeline/data/ (for example config samples and an HTML snapshot used for scraping). If you redistribute the repository or the generated data, make sure you’re comfortable with the provenance and licensing of those inputs.
This repo is set up as a static site (Blazor WASM) and includes CSConfigGenerator/wwwroot/404.html to support client-side routing on GitHub Pages.
For project pages (https://username.github.io/repo-name/), publish with a base href:
dotnet publish CSConfigGenerator -c Release -p:BaseHref=/repo-name/Then serve the publish output via GitHub Pages (for example from a gh-pages branch or a docs/ folder, depending on your Pages settings).
- SCHEMA.md: JSON format consumed by the app
- PIPELINE.md: How to regenerate
wwwroot/data/commandschema/*.json - PROPOSAL.md: Rationale for the polymorphic
UiDatamodel - AGENTS.md: Project context + conventions (for AI coding assistants)
Open an issue for bugs/ideas; PRs welcome.
MIT — see LICENSE.