Skip to content

Winston is a bot. He's here to help.

Notifications You must be signed in to change notification settings

TheFirstQuestion/Winston

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Winston

Winston is a bot. He's here to help. He's like J.A.R.V.I.S., but less alive.

Winston Is Not Some Toy, Okay Nerds?

Running

  • Install dependencies: npm install keybase-bot pdfkit feedparser request codetheweb/tuyapi
  • Create bot-paper-key.txt (line 1: the username, line 2: the paperkey)
  • Create (empty) directory images/
  • create config.js (example is provided, real values are only needed if controlling lights)
  • node winston.js

PNG to PDF

  • monitors channel png2pdf
  • attachments are saved to /images
  • when convert is sent: all files in /images are made into a PDF, in alphabetical order; the PDF (called homework.pdf) is sent and the images are deleted

XKCD

  • monitors channel xkcd
  • a simple IFTT recipe sends xkcd? when the RSS feed is updated, using the Keybase webhookbot
  • when xkcd? is sent, the RSS feed is checked; any comic posted within 15 minutes is downloaded and sent

Lights


onsite, in progress

About

Winston is a bot. He's here to help.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published