f2md
Table of Contents
A utility to fetch new items from feeds and write them to maildir. This program is similar to feed2maildir.
Install
git clone https://g.ypei.me/f2md.git cd f2md cabal install
and make sure ~/.cabal/bin
is included in $PATH
.
Usage
Prepare a config file ~/.f2md.json
:
[ { "dbPath": "~/.f2mdb.json", "maildir": "~/Mail/best", "feeds": [ "https://static.fsf.org/fsforg/rss/news.xml", "https://www.gnu.org/rss/whatsnew.rss" ] }, { "dbPath": "~/.f2mdb.json", "maildir": "~/Mail/audio", "feeds": [ "https://haskellweekly.news/podcast.rss" ] } ]
Then run
f2md
and all new news should be placed in ~/Mail/f2md
.
You can also use --config
or -c
to specify a config file:
f2md --config ~/.config/f2md/config
Contact and copyright
- For any issues email mailto:id@ypei.org.
- Copyright (C) 2022 Yuchen Pei.
- Licensed under AGPLv3+.