eduardostuart / feed-by-email

📭(RSS)Feed by email

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecated

Please check: https://github.com/eduardostuart/paperboy


just-for-fun™ project.

How it works

Every day at 6 AM - CEST (8 AM - UTC) we clone the git repository defined in the environment variables (OPML_SUBSCRIPTIONS_REPO), fetch all RSS feeds, and check if there is anything new (new content from yesterday). After mapping the feed items + rendering e-mail templates (HTML, text) we send it by e-mail.

Requirements

  1. Node v12.9.0+
  2. Sendgrid account
  3. A git repository including an OPML file
  4. CircleCI account

Usage

node index.js

Environment variables

Key Description Default
SENDGRID_API_KEY Your sendgrid api key
OPML_SUBSCRIPTIONS_REPO Git repository including an OPML file
OPML_SUBSCRIPTIONS_REPO_FILE Name of the opml file subscriptions.xml
EMAIL_FROM Email sender
EMAIL_TO Who will receive the e-mail

Tests

Extras

E-mail template generated on beefree.io.


Thank you. Here is a 🍪

About

📭(RSS)Feed by email


Languages

Language:HTML 88.8%Language:JavaScript 10.5%Language:Shell 0.7%