Sign inSign up

thzinc/fakealertsbot

By thzinc

Updated over 8 years ago

A bot that generates fake iOS emergency alerts

Image
0

296

thzinc/fakealertsbot repository overview

FakeAlertsBot

(Banner) IMMINENT THREAT. ACTION TO TAKE. ASSURANCE OF VERACITY. RANDOM TWEETS A FEW TIMES A DAY. THIS IS A JOKE.

@FakeAlertsBot is a Twitter bot to tweet out made-up "Emergency Alerts" in the style of iOS's Emergency Alert functionality.

Quickstart

  1. Get a set of Twitter API keys
  2. Run the Docker container from the latest published image
docker run -e CONSUMER_KEY=your_info_here -e CONSUMER_SECRET=your_info_here -e ACCESS_TOKEN_KEY=your_info_here -e ACCESS_TOKEN_SECRET=your_info_here thzinc/fakealertsbot

If you want to run the code locally, set the following environment variables with your Twitter API key info, then run npm run start:

  • CONSUMER_KEY
  • CONSUMER_SECRET
  • ACCESS_TOKEN_KEY
  • ACCESS_TOKEN_SECRET

Building

Docker Build Status

Build the Docker image locally:

docker build -t thzinc/fakealertsbot:devel .

Then run it:

docker run -e CONSUMER_KEY=your_info_here -e CONSUMER_SECRET=your_info_here -e ACCESS_TOKEN_KEY=your_info_here -e ACCESS_TOKEN_SECRET=your_info_here thzinc/fakealertsbot:devel

Code of Conduct

We are committed to fostering an open and welcoming environment. Please read our code of conduct before participating in or contributing to this project.

Contributing

We welcome contributions and collaboration on this project. Please read our contributor's guide to understand how best to work with us.

License and Authors

Daniel James logo Daniel James

license GitHub contributors

This software is made available by Daniel James under the MIT license.

Tag summary

Content type

Image

Digest

Size

308.9 MB

Last updated

over 8 years ago

docker pull thzinc/fakealertsbot