api: auto-detect Greader API path for Miniflux and FreshRSS

Miniflux serves the Greader API at the server root while FreshRSS uses
/api/greader.php. Instead of hardcoding the FreshRSS suffix, try the
URL as-is first (works for Miniflux) and fall back to appending
/api/greader.php (works for FreshRSS). The user just enters the server
URL without needing to know the API path.
This commit is contained in:
Jeena 2026-03-21 11:57:19 +00:00
parent 82aabc080a
commit b49cc69c49
2 changed files with 50 additions and 42 deletions

View file

@ -1,7 +1,9 @@
# FeedTheMonkey
FeedTheMonkey is a desktop client for any server that implements the
[Greader API](https://github.com/theoldreader/api) (such as FreshRSS or Miniflux). It doesn't work as a standalone feed reader —
[Greader API](https://github.com/theoldreader/api), such as
[FreshRSS](https://freshrss.org) or [Miniflux](https://miniflux.app).
Just enter your server URL — the app detects the API path automatically. It doesn't work as a standalone feed reader —
it connects to a server to fetch articles and sync read state.
This is version 3, rewritten in Rust with GTK4 and libadwaita.