~skuzzymiglet/feef

22ec97a4e2d2e797d328a186c81e13c7d8885255 — skuzzymiglet 1 year, 2 days ago 433e277
better formatting
1 files changed, 8 insertions(+), 3 deletions(-)

M README.md
M README.md => README.md +8 -3
@@ 9,9 9,12 @@ feef is not yet stable. Your mileage may vary as RSS can be very different acros
# examples

```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
# Show me the links of items with titles containing Genode on Lobsters
feef -f '{{.Link}}' -u '~lobsters' -i 'Title contains "Genode"'
# Notify me of new items with notify-send
feef -n new -c "notify-send '{{.Feed.Title}}' '{{.Title}}'" -f '{{.Link}}'
# Download the 10 newest items of the Lingthusiasm podcast
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'
```

# rationale


@@ 24,6 27,8 @@ feef -s -m 10 -c "wget -nc -O '{{slug .Title}}.mp3' '{{(index .Enclosures 0).URL

`go get -u -v git.sr.ht/~skuzzymiglet/feef`

Or download a binary from [releases](https://github.com/skuzzymiglet/feef/releases) to somewhere in your `$PATH`

Put file with the URLs you want to read, one per line, in `.config/feef/urls` or wherever you put your configs. Alternatively, specify a URLs file with the `-U` flag.

Note you don't need a URLs file if you provide an exact URL to query