agentcooper / save-to-roam

Safari extension for Roam Research

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

☕️ Buy me a coffee

Save to Roam for Safari

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:

Demo video

Install and run

Install Save to Roam from macOS App Store.

Install and run (without App Store)

  1. Download the latest release.
  2. Move Save to Roam.app to Applications, then open.
  3. Go to Safari, from the top menu > Preferences > Advanced > Show Develop menu in menu bar.
  4. From the top menu > Develop > Allow Unsigned Extensions.
  5. 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.

⚠️ You will need to do step 4 every time you open Safari (this is a limitation for extensions installed not from the App Store).

How to use

  1. Make sure you're logged in to Roam Research in Safari.
  2. Go to some page you want to save (e.g. https://en.wikipedia.org/wiki/Memex) and click the extension icon.
  3. 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).
  4. Click "Save".
  5. 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.
  6. 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.

Development

  1. Clone the project.
  2. Open with Xcode, run the project.
  3. Follow step 3 to 5 from the list above.

Troubleshooting

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:

  1. Check all Safari windows for the warning sign on top of the extension icon. Safari may be asking for permissions in a different window.
  2. Make sure roamresearch.com is set to Allow in extension settings.

Privacy policy

Save to Roam does not collect or retain any data from users.

About

Safari extension for Roam Research

License:MIT License


Languages

Language:JavaScript 62.9%Language:Swift 17.0%Language:HTML 16.5%Language:CSS 3.5%