This is a small file server for the CON tool suite. It runs on
and serves everything under /home/ms/active/con
as read-only files. It sends CORS headers (permission for web pages on other ports, like the map
or builder apps, to fetch from it), so every app in the suite reads its shared data here.
This is the public read-only snapshot; the write API is local-only and not deployed here.
/ | launcher page — links to the apps and datasets |
/api | flat JSON index: dataset name → path |
/explore | browse the raw sheets — every .xlsx and /db/out/*.csv in a sortable, searchable table |
/library | visual art browser — thumbnail grid of every image folder under /con-map/out/art/, with search + lightbox |
/sheets | JSON index of the tabular datasets, grouped: section → {name → path} |
/sheet/<path>?tab=<n> | one sheet as JSON: {tabs, tab, header, rows, truncated} |
/catalog | the same datasets grouped into a tree (what the explorer UI shows) |
/ls/<dir> | JSON listing of a directory: name, dir yes/no, size |
/<any/path> | the raw file itself (JSON, image, css, …) |
curl / curl /api curl /catalog curl /ls/con-map/out/config/ curl /con-map/out/config/icons.json
Each game lives in its own folder under /con-map/out/maps/. Start by listing one:
curl /ls/con-map/out/maps/example-game-id/
That returns the files for the WW3 Europe game: config.json (game settings),
state.json (current game state), teams.json, frontline.json,
geometry.json (map shapes), owner-legend.json, stats.json,
and a thumb.png preview. Fetch any of them directly:
curl /con-map/out/maps/example-game-id/teams.json curl /con-map/out/maps/example-game-id/state.json
Game-independent data sits one level up. Unit stats for all units, plus the config files that control icons and the level-chevron overlays drawn on unit markers:
curl /con-map/out/units.json curl /con-map/out/config/icons.json curl /con-map/out/config/level-chevrons.json