roam-toolkit
roam-toolkit copied to clipboard
Feature request: Ability to export and import all settings
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.
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)