Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do you plan to allow this to consume RSS feeds? #202

Closed
Romanmir opened this issue Jun 6, 2024 · 8 comments
Closed

Do you plan to allow this to consume RSS feeds? #202

Romanmir opened this issue Jun 6, 2024 · 8 comments
Labels
feature request New feature or request

Comments

@Romanmir
Copy link

Romanmir commented Jun 6, 2024

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?

@MohamedBassem
Copy link
Collaborator

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.

@Romanmir
Copy link
Author

Romanmir commented Jun 9, 2024

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.

@A-Byte-Sized
Copy link

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?

@danielslyman
Copy link

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.

@afischer211
Copy link

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

@MohamedBassem
Copy link
Collaborator

MohamedBassem commented Aug 18, 2024

@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" }}'

@afischer211
Copy link

@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?

@MohamedBassem
Copy link
Collaborator

This is happening in the next release!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
Status: Done
Development

No branches or pull requests

5 participants