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 export and import all settings #124

Open
gvteja opened this issue Jul 10, 2020 · 1 comment
Open

Feature request: Ability to export and import all settings #124

gvteja opened this issue Jul 10, 2020 · 1 comment
Labels
config enhancement New feature or request

Comments

@gvteja
Copy link

gvteja commented Jul 10, 2020

I use separate browser profiles and would like to have the same roam-toolkit settings in all profiles. Right now, I manually copy and keep all the settings in sync. It would be great if the settings can be exported and reimported. There is also the added benefit of being able to put the settings into a VCS.

@Stvad Stvad added config enhancement New feature or request labels Jul 11, 2020
@SimonWoolf
Copy link

Posting here in case it helps anyone: until there's proper syncing (or the extension uses storage.sync instead of localstorage), you can at least serialize the modified settings & copy that state around to avoid manually changing them one by one, if you use multiple computers.

In firefox, on the source browser, run JSON.stringify((await browser.storage.local.get('appstate')).appstate); from the dev console for the rtk extension (go to about:debugging#/runtime/this-firefox and click inspect next to roam-toolkit). Then on the destination browser, from the same console, run browser.storage.local.set({appstate: JSON.parse(<state>)}); (replacing <state> with the copied state), then restart firefox.

(Can presumably do something similar on chrome but I don't use chrome)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants