Code Monkey home page Code Monkey logo

save-to-roam's Introduction

☕️ 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.

save-to-roam's People

Contributors

agentcooper avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

save-to-roam's Issues

Couple small suggestions

This is amazing! Thank you. Couple suggestions if you're continuing to develop: I'd love for the snippet to be pasted at the bottom of the page, rather than the top, or to have a setting that would copy the markdown to my clipboard rather than paste it directly so I could choose where to put it.

Thanks again!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.