Skip to content
Let me know what the free book is today
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
Procfile
README.md
app.js
package-lock.json
package.json

README.md

lemmeknow

Let me know what the free book is today. Scrape Packt Pub's free learning page and email me the details.

Usage

$ node app

Set it up to run via a cron job or whatever your platform's job scheduler is.

Heroku & Mailgun

If you don't have a server you can run it using Heroku and Mailgun both on a free tier.

  • Sign up for a free dyno on Heroku.
  • Sign up for a free Mailgun account.
  • Configure the following variables in Heroku:
    • MAILGUN_API_KEY
    • MAILGUN_DOMAIN
    • MAILGUN_FROM
    • MAILGUN_TO
  • Deploy this code to Heroku.
  • Add on the Heroku Scheduler and set it up to run once a day.
You can’t perform that action at this time.