Mike Slinn

Tweet Stream Manager

Published 2018-01-03.
Time to read: 1 minutes.

This page is part of the posts collection, categorized under AWS, Node.js.

I publish multiple tweet streams, so I wrote a Node.js web application using Express and Pug to help me manage them. This is what the user interface looks like. This is a silent video. Hopefully, it makes sense to everyone.

For example, ScalaCourses.com currently has two tweet streams, each with their schedule (times shown are HH:MM for a 24-hour clock):

  • ScalaCourses – tweets are published at 6:45 every day
  • SaleMore33 – This is a promotional campaign, starting on a certain day/time and ending on another day/time. This stream tweets at 3:24, 9:24, 13:24, 18:24, and 23:24.

crontab, running on a local XUbuntu machine, runs a Node.js command-line app that publishes the tweet streams:


45 6 * * *              $NODE $TWEETER/index.js $TWEETER/ScalaCourses
24 3,9,13,18,23 * * *   $NODE $TWEETER/index.js $TWEETER/SaleMore33 2018-01-03 2018-01-15

I have been thinking about re-implementing this command-line program as an AWS Lambda function one day. Instead of using CSV files for persistence, I'll probably go with Dynamo.

* indicates a required field.

Please select the following to receive Mike Slinn’s newsletter:

You can unsubscribe at any time by clicking the link in the footer of emails.

Mike Slinn uses Mailchimp as his marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp’s privacy practices.