triggerdotdev / jsonhero-web

JSON Hero is an open-source, beautiful JSON explorer for the web that lets you browse, search and navigate your JSON files at speed. 🚀. Built with 💜 by the Trigger.dev team.
https://jsonhero.io
Apache License 2.0
9.01k stars 482 forks source link

Where's the data stored? #179

Open yuis-ice opened 7 months ago

yuis-ice commented 7 months ago

I'm using docker to use jsonhero-web, while I want to use -v to mount and sync the data file or folder, but anywhere to be found.

gabrielgrant commented 7 months ago

According to this comment they "use Cloudflare Workers as the host and Workers KV as the storage for either the raw JSON contents or the URL you submit". Unclear if this is still happening when running locally? That comment goes on to say

If you want to use it currently with sensitive data, the best way would be to run it yourself

The instructions for running locally don't seem to require API keys for cloudflare, which implies to me that it may be getting stored ephemerally on the server when running in dev mode?

Edit: confirmed, documents are not stored anywhere when running dev mode