Menu

Automatic syncing from Raindrop.io to WordPress link posts

I read Ethan Marcotte’s Link bug this week, which led me to Sophie Koonin’s Automated weekly links posts with raindrop.io and Eleventy, and that is such a cool idea that I had to do something similar.

Thanks to getting nerdswiped by Ethan and Sophie I now have a Cloudflare Worker that takes links that I tag with blog on Raindrop.io, and posts them (with excerpts taken from the Notes section) as link posts to this blog. You can just scroll down to see a bunch of examples.

It’s not fancy but it works beautifully! Every hour it checks for new links in Raindrop.io with the blog tag, and then it creates a posts like this:

<h1>Link title</h1>
<p>This is my note about the article, with <strong>markdown</strong> support.</p>
<p>→ <a href="https://example.com" target="_blank" rel="noopener">Article Title</a></p>

If this is something that could be useful to you, you can view the source code here and deploy to Cloudflare Workers to make it your own.