hoarder icon indicating copy to clipboard operation
hoarder copied to clipboard

Do you plan to allow this to consume RSS feeds?

Open Romanmir opened this issue 1 year ago • 7 comments

One of the biggest things that I use is RSS. I'm currently using Wallabag in this space and while it can produce an RSS feed, it can not consume an RSS feed.

My biggest use case for this is Reddit. I currently point TTRSS to my Saved and Upvoted Reddit feeds, and I can interact with articles on a more or less one time basis using this workflow. I'd like to be able to point something like this to my Reddit feed and have at least the Saved stuff be captured by this application.

Thoughts?

Romanmir avatar Jun 06 '24 16:06 Romanmir

Wait a second. I didn't know you can get an RSS feed for your reddit saves and upvotes! That's actually a very cool idea.

So far, I wanted to keep the core of Hoarder simple and allow importing stuff to it with sidecars (or other IFTTT services). You can still write a simple workflow from n8n to post items to Hoarder whenever something appears on RSS.

On the other hand, supporting RSS natively also kinda feels natural for Hoarder. Will need to think a bit more about it.

MohamedBassem avatar Jun 07 '24 08:06 MohamedBassem

More information: Reddit has a page of various account based rss feeds found here: https://ssl.reddit.com/prefs/feeds/

Naturally you'll need to log in first.

Romanmir avatar Jun 09 '24 03:06 Romanmir

I'll also pitch in and say this could be what makes Hoarder really stand out among the rest. There are plenty of RSS feed managers and bookmark managers, but neither of them support both.

With how crappy Google has gotten, I'm dying for an "internet of things" dashboard for consuming new media/research/etc (RSS feed), and an easy way to bookmark things if later reference is needed (because Googling is unreliable now). Right now the only way is to host two difference services - which means tags, organizing, etc are separate.

If you don't want it as a full base feature, maybe it can be a Plugin for Hoarder?

A-Byte-Sized avatar Jun 12 '24 17:06 A-Byte-Sized

Wait a second. I didn't know you can get an RSS feed for your reddit saves and upvotes! That's actually a very cool idea.

So far, I wanted to keep the core of Hoarder simple and allow importing stuff to it with sidecars (or other IFTTT services). You can still write a simple workflow from n8n to post items to Hoarder whenever something appears on RSS.

On the other hand, supporting RSS natively also kinda feels natural for Hoarder. Will need to think a bit more about it.

How would you propose to connect n8n to Hoarder? I was waiting for the REST API but if there is a better way, please share.

danielslyman avatar Aug 08 '24 11:08 danielslyman

I have the same question - how can I access my local Hoarder instance with my local n8n instance for adding new entries?

afischer211 avatar Aug 18 '24 19:08 afischer211

@danielslyman @afischer211 while Hoarder currently doesn't have a "REST" API, it does have an API:

You can use it as:

  1. Get an API key from the settings page of Hoarder.
  2. Send a POST request to https://demo.hoarder.app/api/trpc/bookmarks.createBookmark: a. Set the Authorization header to Bearer <api_key>. b. Set Content-Type header to application/json. c. Set the body to {"json": {"type": "link", "url": "<URL HERE>"}}

Here's an example curl command to add a new URL to hoarder:

curl -v -X POST http://localhost:3000/api/trpc/bookmarks.createBookmark -H 'Authorization: Bearer ak1_7a559b48bb86b5740f3f_47f38c9bfb841f45ec09' --json '{"json": {"type": "link", "url": "https://google.com" }}'

MohamedBassem avatar Aug 18 '24 20:08 MohamedBassem

@danielslyman @afischer211 while Hoarder currently doesn't have a "REST" API, it does have an API:

You can use it as:

  1. Get an API key from the settings page of Hoarder.

  2. Send a POST request to https://demo.hoarder.app/api/trpc/bookmarks.createBookmark:

a. Set the Authorization header to Bearer <api_key>.

b. Set Content-Type header to application/json.

c. Set the body to {"json": {"type": "link", "url": "<URL HERE>"}}

Here's an example curl command to add a new URL to hoarder:


curl -v -X POST http://localhost:3000/api/trpc/bookmarks.createBookmark -H 'Authorization: Bearer ak1_7a559b48bb86b5740f3f_47f38c9bfb841f45ec09' --json '{"json": {"type": "link", "url": "https://google.com" }}'

Thanks for your answer! Are there any more API methods/URLs for calling from a client?

afischer211 avatar Aug 19 '24 04:08 afischer211

This is happening in the next release!

MohamedBassem avatar Nov 03 '24 17:11 MohamedBassem