This is a workflow for searching and adding bookmarks to Raindrop.io.
To add a new bookmark to Raindrop.io, there are two ways to get the actual bookmark you want to add into the workflow.
- The primary way is to first make sure that you have the webpage you want to add opened in a browser and that it is the frontmost window, and then open Alfred and type ra followed by a space.
- The alternative way, which only works if the frontmost application is not one of the supported browsers (as the primary method will be used then), is that you first copy an address that you wnant to add as a bookmark, and then open Alfred and type ra followed by a space.
- Before you have started to type a search query, you also have the option to browse your collections instead of starting with a search.
- If a web browser is the frontmost app when you open a bookmark from this workflow, it will open in that browser.
- If you are working in another app, the bookmark will open in your default browser.
- Hold the cmd-key to view the URL for a bookmark.
- Hold the ctrl-key to view the description for a bookmark.
- Hold the option-key while pressing enter, or use cmd+c to copy the URL instead of opening it in a browser.
- Press enter before you have started typing a search query, and Raindrop.io itself will open in your active web browser.
- To add a new bookmark to Raindrop.io, first make sure that you have the webpage you want to add opened in a browser and that it is the frontmost window, and then open Alfred and type ra followed by a space
- In the first step you choose collection for the new bookmark, and you can either type to search for the collection you want to add the new bookmark to or just select one in the list. Hold the cmd-key to save when you select the collection, and skip setting a custom title or adding tags.
- In the second step you get to change the title that the bookmark is saved with. Hold the cmd-key to save and skip the tag adding step.
- In the third step you get to add tags to your new bookmark. You can either simply type them out, or select from a list of tags that matches what you have started to type. Separate multiple tags with comma. Hold the cmd-key to save when selecting a tag in the list, and skip the option of adding more tags.
- The Firefox support for adding bookmarks was made possible with the help of deanishe's great workflow Firefox Assistant, which needs to be installed in Alfred for the Firefox support to function. Get it here: https://github.com/deanishe/alfred-firefox
- If the workflow is not authenticated with Raindrop.io when you initiate it, you will be taken to the authentication process
One special thing with this workflow is that it detects if the topmost window is a browser window, and then opens your bookmark in that browser. So, if you are currently working in Firefox, your bookmark will open in a new tab there, and if you are currently working in Safari, or in Chrome, the bookmark will open there instead. If the topmost application is not a browser, the bookmark will be opened in your default browser.
This makes this extension perfect for those who use more than one browser. You can always open bookmarks in the exact same way, and still have them displayed in the browser you are currently using.
The supported browsers are: Safari, Chrome, Firefox, Edge, Brave, Vivaldi, Opera, Chromium, Chrome Canary, Safari Technology Preview, NAVER Whale (and SeaMonkey and SigmaOS, but only for opening bookmarks)
Other browsers that you might use (whatever that would be?) will simply not be detected as a browser, and the search results will show up in your default browser, and adding bookmarks does simply not work from an unsupported browser.
This workflow is compatible with macOS 10.13 High Sierra and newer, and doesn't have any other external requirements (other than for Firefox bookmark adding support, which the workflow will tell you about if you need it). The reason for not supporting older versions than High Sierra is that Go 1.17 doesn't support older OS versions. You can still run version 1.7 of this workflow on older macOS versions if you need to be able to do that, as all versions of this workflow prior to 2.0 is based on PHP and Python rather than Go.