freedbin icon indicating copy to clipboard operation
freedbin copied to clipboard

Would it be possible to integrate Mercury?

Open sardaukar opened this issue 6 years ago • 8 comments

They don't see to give out keys anymore.

sardaukar avatar Feb 25 '19 14:02 sardaukar

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

rach-sharp avatar Feb 25 '19 22:02 rach-sharp

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

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

cwmke avatar Feb 25 '19 23:02 cwmke

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.

benubois avatar Mar 10 '19 01:03 benubois

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

agucova avatar Mar 19 '19 22:03 agucova

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

nitinthewiz avatar May 09 '19 18:05 nitinthewiz

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.

benubois avatar May 09 '19 20:05 benubois

Excellent! Thanks!

nitinthewiz avatar May 10 '19 18:05 nitinthewiz

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!

nitinthewiz avatar May 23 '19 21:05 nitinthewiz