https://github.com/gromnitsky/gmakerss
Post/convert rss feeds to nntp servers or mbox files
https://github.com/gromnitsky/gmakerss
gnu-make make mbox rnews rss-reader
Last synced: 4 months ago
JSON representation
Post/convert rss feeds to nntp servers or mbox files
- Host: GitHub
- URL: https://github.com/gromnitsky/gmakerss
- Owner: gromnitsky
- Created: 2018-05-19T09:58:59.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-03-16T20:35:28.000Z (about 2 years ago)
- Last Synced: 2025-01-20T06:42:11.228Z (over 1 year ago)
- Topics: gnu-make, make, mbox, rnews, rss-reader
- Language: Makefile
- Size: 7.81 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Post/convert rss feeds to nntp servers or mbox files.
Inspired by [gmakepod](https://github.com/gromnitsky/gmakepod),
written JavaScript instead of Ruby.
## Setup
Requires GNU Make 4+, curl, [flock(1)][], node 22.
Clone the repo, type `npm i` inside its dir.
Choose a working dir (e.g., `~/rss`), create `rss.ini`:
~~~
[http://queue.acm.org/rss/feeds/queuecontent.xml]
dest = comp
from = acmqueue
[http://tenderlovemaking.com/atom.xml]
dest = comp
[https://www.reddit.com/user/eli-zaretskii/comments/.rss]
curl.opt = -A gmakerss/0.0.1
dest = emacs
~~~
* `dest`: output file (mbox) or newsgroup name;
* `from`: optional sender override;
* `curl.opt`: extra curl args (e.g. a custom User-Agent).
Cd to `~/rss` & run `gmakerss`. It won't create duplicate emails, for
it maintains a history file of message-ids.
~~~
$ tree --noreport
.
├── history.txt
├── rss
│ ├── comp
│ └── emacs
└── rss.ini
~~~
To view the mbox: `mutt -f rss/comp`.
For help, run `gmakerss help`.
## See also
[rss2mail](https://github.com/gromnitsky/rss2mail),
[grepfeed](https://github.com/gromnitsky/grepfeed)
## Bugs
* tested on Fedora only
## License
MIT
[flock(1)]: https://manpages.debian.org/unstable/util-linux/flock.1.en.html