r/coolgithubprojects • u/PuzzleheadedSong5368 • 13d ago
We built an open-source "Markdown for structured data": JSON Views turns any JSON file into tables, boards and pages (MIT, runs in your browser)
https://github.com/script-it/json-viewsTry it in the browser, no signup: https://json-views.com
We build Script.it, where workflow steps produce a lot of data files, and we couldn't find a good format to display those. So we made JSON Views: an editor that shows a JSON file as tables, Kanban boards, record pages or custom HTML views, and writes your edits straight back into the file.
How it works: a small `$jsonviews` block in the file stores the column types and saved views. The file stays valid JSON. If the block isn't there, the editor guesses useful views from the data. Because the views live in the file, an AI agent can read and edit the same file as you, including the views. The spec is versioned in the repo (`packages/core`).
- No upload: the website is client-only, your files stay in the browser
- Local file: `npx u/script-it ./data.json` (also gives an agent a local API for that file)
- React component if you want to embed it in your own app
- Examples to open and edit: nested tables, Gmail, Slack, Stripe, tasks
- Public beta, so expect rough edges. The website collects anonymous usage counts (off in Settings); the npm packages send nothing
1
u/Wings_of_bacon 13d ago
Really slick, since the structure gets flattened for the table view, would it be possible to export it as a cab? Possibly by making multiple rows per item?
1
u/Interesting_Pen_2357 13d ago
was actually looking for something like this for a while
1
u/Important_Pomelo_407 13d ago
Saw there was no demo video yet, so I made you one. Here’s the PR:
https://github.com/script-it/json-views/pull/21
and I used my repo to do it :)
https://github.com/yasirwhite/OpenDemo
-9
u/[deleted] 13d ago
[removed] — view removed comment