fossar / selfoss

multipurpose rss reader, live stream, mashup, aggregation web application
https://selfoss.aditu.de
GNU General Public License v3.0
2.35k stars 344 forks source link

Fever API support? #711

Open SkyCrawl opened 8 years ago

SkyCrawl commented 8 years ago

Hello,

is selfoss ever going to support the Fever API? Despite it already supports a JSON API, I take it that this API is not compatible with RSS clients, unless they specifically aimed to support it?

What I'm trying to do is to find a good RSS aggregator to run on my NAS, ideally using Docker, and access it from multiple devices so it would be the aggregator's job to sync everything. I've already tested that Fever API is great for this using Coldsweat. Coldsweat doesn't seem to have a docker image yet though, unlike selfoss :).

niol commented 8 years ago

Can you explain what the Fever API is and provide links to doc and test suite?

SkyCrawl commented 8 years ago

Thanks for a fast reply @niol ,

I think this is Fever API. As far as I know, it's the API of the Fever service. Many clients seem to support it, and Coldsweat supports it too.

niol commented 8 years ago

I still do not understand what features it would bring to selfoss. Maybe someone else will be interested.

aminecmi commented 8 years ago

@niol it would be easier to use selfoss with other mobile apps that use fever api. That could be useful.

rajo commented 8 years ago

Yep, I'd like such a feature too: currently I'm using ttrss on my server, but I would like to move away from it and selfoss looks like a good alternative. Nevertheless I'm using reeder on my iphone, which currently connects to ttrss via the fever api.

matthiasballreich commented 8 years ago

i would like the fever api integration, too.

jtojnar commented 8 years ago

I do not think adding a second API is a good idea – maintaining two separate APIs would be bothersome. Replacing the current one with some other, more widely implemented API is probably a better idea. I am not sure if the new API should be Fever API though – there are probably more commonly used alternatives.

timbroder commented 8 years ago

I currently use Feedbin and am looking to move to self hosted (I want longer archiving times)

In the apps I've used: Reeder, Unread, and Readkit, all have Fever API support. It seems to be the only self-hosted API with any traction. I've love for selfoss to support it.

If you moved to the feedly API, you'd have to get the different app developers to let you put your own domain in. The apps that have fever support already allow that

An example of a tool piggy-backing on that API definition is https://github.com/pietheinstrengholt/rssmonster

amaccuish commented 7 years ago

I've written a script to provide the Fever api. It's a bit ugly, calls the selfoss json api and rewrites requests and responses but gets the job done :)

https://github.com/amaccuish/selfoss-fever/

kosciak9 commented 7 years ago

Is it on a roadmap? Or simply done when someone pull requests it? :)

amaccuish commented 7 years ago

I've updated my script so it works a lot faster. I'll work over the coming weeks to directly use the api and prep something worth a pr :)

kosciak9 commented 7 years ago

Oh nice! Cool then, waiting patiently. :)

jtojnar commented 7 years ago

I will not merge this, our API is already pretty gruesome. However, I would like to make it possible to implement this as a third party plug-in. Could you comment on #877?