Safari extension for Roam Research.
The extension opens the Roam Research (or reuse an existing window) in the background and communicates with it using the JavaScript API.
Demo:
Install Save to Roam from macOS App Store.
- Download the latest release.
- Move
Save to Roam.app
to Applications, then open. - Go to Safari, from the top menu >
Preferences
>Advanced
>Show Develop menu in menu bar
. - From the top menu >
Develop
>Allow Unsigned Extensions
. - Enable the extension in
Preferences
>Extensions
.
If you save and see the loading indicator hanging, check if there is a pending permission request in the other Safari window with Roam.
- Make sure you're logged in to Roam Research in Safari.
- Go to some page you want to save (e.g. https://en.wikipedia.org/wiki/Memex) and click the extension icon.
- If you're using the extension for the first time, click on "Settings" and fill the "Graph url" input (it should look like
https://roamresearch.com/#/app/YOUR-GRAPH-NAME
). - Click "Save".
- The spinner takes some time if the extension can't find the open tab with Roam Research. In that case it will open it in the foreground window. Otherwise, an existing tab will be used.
- Verify your highlight by opening your Daily Notes in Roam Research.
If you see the warning icon on the extension icon, you need to click it and allow the extension to access Roam Research website. If you don't see the warning icon, but the spinner is taking to long, please check other windows in Safari (Top Menu > Window), the warning icon might appear there.
- Clone the project.
- Open with Xcode, run the project.
- Follow step 3 to 5 from the list above.
If you see ❌ Error: didn't get any messages from the Roam tab. Please check extension permissions. Make sure roamresearch.com is set to Allow. Then restart Safari and try again.
, then:
- Check all Safari windows for the warning sign on top of the extension icon. Safari may be asking for permissions in a different window.
- Make sure roamresearch.com is set to Allow in extension settings.
Save to Roam does not collect or retain any data from users.