Skip to content

doppioslash/simple-rss-twitter-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-rss-twitter-bot

Description

This is a simple bot, that will grab an RSS feed and post every new article from it as a tweet. It's based on rss-twitter-bot. I added a configuration file, and if I can make it work deployment on Docker.

Instructions

  1. create the account you want to tweet from on twitter
  2. create a twitter app
  3. copy the default-config.json to config.json
  4. fill in the data
  5. run node app.js

Deploy with Docker

You'll need a private docker repo, or your app's keys will be visible to the world.

  1. as above, fill in the config file, make sure it's in the same dir as the rest
  2. docker build -t <yourname>/<apprepo>:<tag> .
  3. docker push <yourname>/<apprepo>
  4. then on the remote server docker login
  5. docker pull <yourname>/<apprepo>
  6. docker run --name <yourcontainername> -p 5693:5693 -P -t -i <yourname>/<apprepo>:<tag>

That should do it. You may want to run it detached.

About

A bot that tweets every new article from an RSS feed.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published