The interactive strategy browser. Loads the strategy data at runtime from
data.json in this repo and renders a filterable, searchable list.
Live app: https://cash-is-clear.github.io/maximizer/
The strategy data lives in this repo as data.json. The app fetches
it on load via GitHub's raw endpoint (see DATA_URL in app.js):
https://raw.githubusercontent.com/Cash-Is-Clear/maximizer/main/data.json
Because the app reads raw directly, edits go live without waiting on a Pages
rebuild, and anyone with write access to this repo can update the data — no
personal accounts, no Gist.
The app accepts either the converter format
{ "columns": [...], "strategies": [...] }or a plain array of strategy objects. Thecolumnsarray, when present, sets the column order.
- Generate a fresh
data.jsonwith the Admin Converter Tool (drop the master spreadsheet → Download data.json). - Open
data.jsonin this repo on GitHub: https://github.com/Cash-Is-Clear/maximizer/blob/main/data.json - Click the pencil (Edit) icon → select all → paste the new JSON → Commit
changes. (Or use Add file → Upload files to drop the downloaded
data.jsonstraight in.) - Hard-refresh the app (Cmd/Ctrl+Shift+R). The
rawURL is CDN-cached briefly, so it may take a minute or two to reflect the change.
That's it — edit the file on GitHub, and the app picks it up. To let someone else do this, add them to the Cash-Is-Clear org with write access to this repo (Settings → Collaborators and teams).
The app fetches over HTTPS, so serve it (don't open index.html via file://):
cd prototype
python3 -m http.server 8000
# open http://localhost:8000/generate_data.js is a legacy Node script (uses the xlsx dep in package.json)
that produced data.json from a spreadsheet directly. The
Admin Converter Tool is the
current, browser-based way to do this — prefer it.
| File | Purpose |
|---|---|
index.html |
App shell (loads app.js). |
data.json |
The strategy data the app renders. Edit this to update the app. |
app.js |
Fetches data.json, renders the list, handles search/filter/sort. |
styles.css |
Styling. |
generate_data.js |
Legacy local spreadsheet → data.json script. |
Pushing to main triggers .github/workflows/static.yml, which deploys the whole
repo to GitHub Pages. No build step.