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

Can I somehow auto-import boards? #85

Open
kxygk opened this issue Sep 10, 2023 · 1 comment
Open

Can I somehow auto-import boards? #85

kxygk opened this issue Sep 10, 2023 · 1 comment

Comments

@kxygk
Copy link

kxygk commented Sep 10, 2023

I'd like to use nullboard "dynamically"/normally locally as well as host a copy on my Github Pages (so that my advisor can monitor my progress)
So I'd like to autoimport a exported-file that's on a path relative to nullboard.html

I'd then locally modify my board as usual and then use the "Export" feature to update my local board file. I could then use git to update it on the remote server (ie. Github)

This is kind of half way between the manual Import/Export and the Auto-Backup features (that requires an "agent" to write to disk)

Maybe this is already possible - but I'm just not sure how to do it.. maybe some magic URL extension?
I'm picturing something like

https://kxygk.github.io/nullboard/nullboard.html#file:./exported.nbc

@justinpchang
Copy link
Contributor

This is not supported by the app yet, but it should be fairly straightforward to fork and add it on your own: check out the code for restoring from a file. Repurpose it to instead fetch the save data as text from whatever url you want on load, and then restore from that state.

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

2 participants