An open API service indexing awesome lists of open source software.

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

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