spencerwi / cliflux

A terminal client for Miniflux RSS reader
MIT License
11 stars 2 forks source link

feature: save articles #9

Open slundi opened 6 months ago

slundi commented 6 months ago

hello,

Can we have the feature to send the article to Send articles to Telegram, Shaarli, Shiori, Matrix, Apprise, Pinboard, Instapaper, Pocket, Wallabag, Linkding, Espial, Notion, Readwise Reader or Nunux Keeper? The API looks available: https://miniflux.app/docs/api.html#endpoint-save-entry

And also toggle entry bookmark: https://miniflux.app/docs/api.html#endpoint-toggle-bookmark

spencerwi commented 6 months ago

Sounds like a solid idea. It might be a little confusing to differentiate bookmarking vs. saving vs. starring, but honestly, that's a Miniflux thing, and this would just be adding support for what's already in Miniflux. Time permitting, I'll take a crack at this when I can.

slundi commented 5 months ago

Hi, It is just to call the Miniflux API on:

spencerwi commented 4 months ago

the starred attribute

cliflux already supports this one: https://github.com/spencerwi/cliflux/blob/8795c38b3962511a395fec5c12d1a9171d1e08aa/src/ui/components/keyboard_help.rs#L74

The other endpoint for "save entry" (which actually seems to be a "share to other services" endpoint) seems relatively-straightforward to add. The difficulty there would just be UX; there's no persistent attribute on any given entry that tells you "this has been shared to another service", and it's not clear how to signal success or errors.