rach-sharp / freedbin

Self-Hosted RSS Reader
https://www.rachsharp.co.uk/dockerizing-feedbin/
MIT License
75 stars 5 forks source link

Would it be possible to integrate Mercury? #8

Open sardaukar opened 5 years ago

sardaukar commented 5 years ago

They don't see to give out keys anymore.

rach-sharp commented 5 years ago

Ahh I did not realise that API had deprecated! It should be possible, I'll look into it a little later this week when I have time

cwmke commented 5 years ago

It looks like one of Feedbin's maintainers is already working on it upstream.

https://github.com/benubois/mercury-parser

benubois commented 5 years ago

Feedbin does indeed use the open-source Mercury project. I'm running it as a separate service since it's a Node.js app. That's also open-source.

agucova commented 5 years ago

I'm thinking of spinning up a AWS Lambda function for it, but it's suboptimal. https://github.com/mahboubii/serverless-mercury-parser

nitinthewiz commented 5 years ago

@benubois does your EXTRACT_HOST solution, work right now? What is the EXTRACT_SECRET there?

I'm asking because I use this docker container to run mercury locally for my tt-rss instance.

The way it works right now is pretty straightforward. The following just works on my local instance, without any keys/secret -

http://192.168.194.5:3000/parser?url=https://lithub.com/my-year-of-writing-anonymously/

benubois commented 5 years ago

Hi @nitinthewiz,

does your EXTRACT_HOST solution, work right now?

Yes! That's what Feedbin uses.

What is the EXTRACT_SECRET there?

That's the secret key to create signed-urls. The readme explains how it works.

The way it works right now is pretty straightforward. The following just works on my local instance, without any keys/secret

OK, sounds like you're all set then.

nitinthewiz commented 5 years ago

Excellent! Thanks!

nitinthewiz commented 5 years ago

I had some trouble setting up freedbin, so once I got it right, I did a writeup for you all here. I ended up not using @benubois' Extract service, because @rach-sharp's current code doesn't support it. It does, however support a self-hosted Mercury Service, which you can find here.

Cheers!