Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rss2mail

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rss2mail

Convert an RSS/Atom feed into a collection of emails in mbox or rnews formats

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
13
increased by550%
Maintainers
1
Weekly downloads
 
Created
Source

Convert an RSS/Atom feed into a collection of emails in mbox or rnews formats.

  • does NOT send emails
  • sendmail ready
  • auto deduces output to text/plain or text/html
  • sanitized html
  • no configs, settings, templates, &c
  • smol

Setup

Nodejs 20.x

$ npm i -g rss2mail

Usage

Read Spolsky's musings in mutt:

$ curl https://www.joelonsoftware.com/feed/ | rss2mail > 1.mbox
$ mutt -f 1.mbox

This will create html emails! You have no control around this--if rss2mail detects plain text in feed articles then it produces text/plain output.

To convert & send, install procmail pkg that contains formail util:

$ curl https://www.joelonsoftware.com/feed/ | rss2mail bob@example.com alice@example.net | formail -s sendmail -ti

To change From header, use

$ curl ... | rss2mail -f me@example.com

To post to some rss.test newsgroup:

$ curl https://www.joelonsoftware.com/feed/ | rss2mail --rnews rss.test | sudo -u news rnews -N

See also

grepfeed, gmakerss

News

  • 1.0.0 breaking changes:

    • message-id is generated differently.

License

MIT

Keywords

FAQs

Package last updated on 16 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc