Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

Commit

Permalink
more examples, BUGS and TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
skuzzymiglet committed Jan 20, 2021
1 parent 5cafd7b commit 19f72f1
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,10 @@ Default: `none`

# examples

```
feef -f '{{.Link}}' -u '~lobsters' -i 'Title contains "Genode"'
feef -n new -c "notify-send '{{.Feed.Title}}' '{{.Title}}'" -f '{{.Link}}'
```sh
feef -f '{{.Link}}' -u '~lobsters' -i 'Title contains "Genode"' # Show me the links of items with titles containing Genode on Lobsters
feef -n new -c "notify-send '{{.Feed.Title}}' '{{.Title}}'" -f '{{.Link}}' # Notify me of new items with notify-send
feef -s -m 10 -c "wget -nc -O '{{slug .Title}}.mp3' '{{(index .Enclosures 0).URL}}' || echo {{.Title}} already downloaded" -u 'https://feeds.soundcloud.com/users/soundcloud:users:237055046/sounds.rss' # Download the 10 newest items of the Lingthusiasm podcast
```

# UI
Expand All @@ -104,3 +105,12 @@ feef-read binds these keys:
+ `ctrl-d`: downloads the item's `Link` using `wget` or the `$DOWNLOADER` environment variable

feef-read also notifies you of new items using `notify-send`

# BUGS/TODO

Bugs and TODOs are noted in comments near the relevant code. A quick `rg TODO` should work. Major ones are listed here:

+ Logging and loglevel separation need work
+ A way to work feed-wise is needed. Currently you can't retrieve info about a feed
+ Libify the logic
+ Provide more info to expr filters

0 comments on commit 19f72f1

Please sign in to comment.