Skip to content

US Presidential Actions feed bot. Not an official tool of the US Government.

License

Notifications You must be signed in to change notification settings

krusynth/EOPBot

Repository files navigation

EOPBot

US Presidential Actions feed bot. Not an official tool of the US Government.

Supports: Twitter, OMB Memos (more coming soon!)

Yet another tool by @krusynth!

Installation

  1. Create a new database. Login to your Twitter developer account and create a new app with read/write privilegews.
  2. Install the dependencies per usual (npm install or yarn install).
  3. Copy .env.example to .env and add your access credentials.
  4. Run migrations with sequelize. There's a scripts shortcut for the local copy of sequelize already in package.json.

Using the tool

Run node ./index.js to scrape the websites, tweets will automatically be created for new documents.

Note The tool will not actually post items to Twitter until you set ENV=production in your .env file, instead it will show you what would have been posted. However, this data is being set into the database. This allows you to safely import historical data without sending notifications.

TODO:

About

US Presidential Actions feed bot. Not an official tool of the US Government.

Topics

Resources

License

Stars

Watchers

Forks