Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Ability To Load In JSON From Git / External URL #7

Open
dansjackson opened this issue Apr 27, 2024 · 6 comments
Open

Comments

@dansjackson
Copy link

Hi,

It would be great if I was somehow able to store the config without having to copy and paste the export.

Perhaps if I could store it in Git and then load in the URL of the JSON, eg:

https://visualsubnetcalc.com/?url=https://raw.github.com/username/project/master/subnet.json

or also if there was some scope to perhaps allow for commiting to git within the interface after changes are made?

@byroncollins
Copy link
Contributor

How about this for a first cut? @dansjackson?
Being able to save or load a json to a file locally. The json could be saved to a folder managed by git.

@dansjackson
Copy link
Author

@byroncollins - this is a good idea

@crussell52
Copy link

Great tool, btw... Recent discovery for me!

To validate this idea, was literally just musing to coworker "too bad this doesn't let you commit a spec file to git".

@crussell52
Copy link

How about this for a first cut? @dansjackson? Being able to save or load a json to a file locally. The json could be saved to a folder managed by git.

IMO, a "To/From JSON" type link which populates/reads a (collapsible?) text area would be OK as a first iteration. I'd be fine using copy/paste for file persistence.

This implementation would also be usable in environments where direct browser interaction with local files is not possible or not wanted.

@ckabalan
Copy link
Owner

@crussell52 - This already has a Import/Export JSON option in the Tools menu.

@crussell52
Copy link

@crussell52 - This already has a Import/Export JSON option in the Tools menu.

😬 Yeah... I just found that and came back to confess my sins. Thx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants