Skip to content

simianarmy/ghosthorsejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ghosthorsejs

Node server app to speak arbitrary Twitter user tweets

Installation

git clone [email protected]:simianarmy/ghosthorsejs.git
cd ghosthorsejs

Running

Get the secret config file and move it to lib/appconfig.js

node app.js

Architecture

  • Node backend converts tweets to audio using OS X built in 'say' program. It then converts those to mp3 for web playback. mp3s are saved to S3 and their metadata are saved to custom Parse backend.

    API hosted at api.twhispr.com serves metadata info as a Parse service

    Express-powered front end at www.twhispr.com serves pages for Twitter Audio Cards API

Related Software

Horsin Around

Twhispr API

Twitter Audio Cards

Notes

  • SSL Certs powered by Let's Encrypt. Requires script on servers to auto-renew.

    Cronjob on api.twhispr.com server to auto-renew Let's Encrypt certs

    54 17 * * * /path/to/certbot-auto renew --nginx && service nginx reload

TODO

  • Self-service addition of Twitter accounts to follow
  • Some kind of business justification

About

Node app to speak tweets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published