8000 GitHub - cosst/tldr-bot: A little Twitter bot that responds to 280 character tweets with a friendly yet biting TL;DR message.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ tldr-bot Public

A little Twitter bot that responds to 280 character tweets with a friendly yet biting TL;DR message.

Notifications You must be signed in to change notification settings

cosst/tldr-bot

Folders and files

< 8000 td colSpan="3" class="bgColor-muted p-1 rounded-top-2">

Latest commit

 

History

10 Commits
NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TL;DR Bot

A silly little bot that I created as a learning project. Responds to 280 character tweets with a variety of friendly yet biting TL;DR replies.

Local Setup

  1. Install yarn.
  2. Install yarn dependencies with yarn install
  3. Create an app with Twitter and generate an access token.
  4. Create a config.js file in the root of your project using the below template and add the necessary key/token/secret values from the Twitter app that you created in the previous step.
module.exports = {
  consumer_key: 'xxxxx',  
  consumer_secret: 'xxxxx',
  access_token: 'xxxxx',  
  access_token_secret: 'xxxxx'
}

Running Locally

The bot is currently set to run every minute using node-cron until you manually stop it. It will log all of the 100 recent tweet results from each search to the console but only respond to 280 character tweets (excluding RTs or replies) from users with 200+ followers and a >1.49 follower-to-following ratio.

yarn start

About

A little Twitter bot that responds to 280 character tweets with a friendly yet biting TL;DR message.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0