1) Load + edit JSON
Load current content, edit values, validate the content model, and keep everything in one content.json file. Cards support draft and published status.
Export is blocked until JSON syntax and the content model both pass validation. Bundle export includes content, selected section JSON, CSV files, README, and metadata.
Run validation before export.
2) Card manager (add/edit/remove)
3) Import CSV / XLSX
CSV import runs in-browser and appends cards into the selected section. Supported headers: title,description,link,tags,status. Quoted commas and BOM-marked CSV files are supported.
Use | inside the tags column. If status is omitted, imported rows default to draft.
XLSX placeholder: convert to CSV first, or parse with a browser XLSX library in a future version.
4) Browser backups + restore points
The current editor text auto-saves in this browser. You can also create timestamped restore points before larger changes.
5) Live preview (safe, local only)
This preview never auto-commits to GitHub. Draft cards are labelled here and stay hidden from the public homepage until marked published.
6) Safe publishing workflow
- Recommended now: export
content.json, commit it in a PR, review it, and merge tomain. - Future option: publish through a backend or serverless function that uses a GitHub App or another server-side secret. Never place GitHub tokens or other secrets in frontend code.
This admin page is intentionally local-first. It helps you prepare safe content updates without exposing secrets in the browser.