https://github.com/ceejbot/malcolm_ebooks
Malcolm Tucker markov-chains twitter bot. Not polite in any way.
https://github.com/ceejbot/malcolm_ebooks
Last synced: 10 months ago
JSON representation
Malcolm Tucker markov-chains twitter bot. Not polite in any way.
- Host: GitHub
- URL: https://github.com/ceejbot/malcolm_ebooks
- Owner: ceejbot
- License: isc
- Created: 2016-08-06T04:27:54.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-09-02T15:09:18.000Z (almost 8 years ago)
- Last Synced: 2025-02-24T03:56:39.085Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 200 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# malcolm_ebooks
[Malcolm Tucker](https://en.wikipedia.org/wiki/Malcolm_Tucker) markov-chains antisocial bot. Not polite in any way.
## Usage
Clone the repo; run `npm install`. Create a file named `.env` in the repo directory and put your Twitter API access tokens in it like so:
```sh
TWITTER_CONSUMER_KEY=your-key
TWITTER_CONSUMER_SECRET=your-secret
TWITTER_ACCESS_TOKEN=you-token
TWITTER_ACCESS_TOKEN_SECRET=your-secret
```
For Mastodon, do the same but set these vars:
```sh
MASTO_URL=base-url-of-instance
MASTO_TOKEN=auth-token-to-use
```
Optionally, make a subdirectory named `images` and toss in a few animated gifs of Malcolm in action. He will post a randomly-selected image every so often, along with a randomly-generated comment. No attempt is made to filter files in the `images` directory for actual images.
Then run `npm start` for Twitter & `npm run mastodon` for Mastodon. Malcolm will now be online and swearing incoherently.
## License
ISC