
The Easy Way to Send RSS Feeds to Email
Avoid information explosion and AI Recommendation Algorithms
Improve the efficiency of information acquisition
Usage
# install
$ npm install -g rss-mailer
# run
$ rssmailer -c path/to/config
Configure File
The configure file supports .json
and .js
formats.
Example:
module.exports = {
feeds: [
"https://waynegong.cn/atom.xml",
{
url: "https://www.ruanyifeng.com/blog/atom.xml",
charset: "utf8",
timeout: 30000,
},
],
sender: [
{
type: "email",
host: "mail.waynegong.cn",
port: 465,
secure: true,
auth: {
user: "rssmailer@waynegong.cn",
pass: "******",
},
subject: "RSSMailer Dailly",
from: "RSSMailer <RSSMailer@waynegong.cn>",
to: "me@waynegong.cn",
},
{
type: "file",
path: "output.html",
},
],
filter: [
{
type: "fresh",
fresh: 86400000,
}
],
};