Skip to content

luhmann/logseq-raindrop

 
 

Repository files navigation

Raindrop plugin for Logseq

A plugin that allows you to import annotations & bookmarks from Raindrop, and save URLs back to Raindrop.

Kapture.2022-07-29.at.17.53.46.mp4

Setting up your plugin

To get set up, generate a Raindrop API access token from the Settings > Integrations page. Use the Test Token as your API access token -- or walk through the entire OAuth flow, if that's your preference.

Kapture.2022-05-18.at.19.04.20_h264.mp4

Don't try to use the tokens in the video. They've already been expired and the app deleted.

Demos

Saving URLs to Raindrop

logseq-raindrop.mov

Planned work

Building your own Logseq plugin

I ran into some issues getting this plugin set up from scratch. Here's some advive if you want to write your own Logseq plugin.

  • You need to have a main field in your package.json. I don't know if it needs to be on the Logseq field or not, but it should be there.
  • Your plugin name cannot have slashes.
  • When you build your app, make sure the base path is './' so that your index.html is referencing local files (vs. files at the root of your OS)
  • You can totally use yarn dev and get HMR.
    • I didn't think this would work for some reason, but it was approximately zero work to get set up, and works pretty well.
  • You can use Yarn 2. No idea why I thought it wouldn't work, but it does.
    • That said, I'm not sure I see the value of Yarn 2. No Dependabot is a huge downside.

About

A Raindrop plugin for Logseq

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 63.0%
  • Svelte 35.4%
  • Other 1.6%