Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/namila007/nb-twitter-bot
A personal twitter bot🤖 who RT and Like users tweets 🐤
https://github.com/namila007/nb-twitter-bot
bot deploy docker dockerfile heroku nodejs streaming twitter twitter-bot twitterbot webhook
Last synced: 3 months ago
JSON representation
A personal twitter bot🤖 who RT and Like users tweets 🐤
- Host: GitHub
- URL: https://github.com/namila007/nb-twitter-bot
- Owner: namila007
- License: apache-2.0
- Archived: true
- Created: 2018-07-04T19:17:31.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-23T20:50:29.000Z (almost 2 years ago)
- Last Synced: 2024-04-08T02:19:04.715Z (7 months ago)
- Topics: bot, deploy, docker, dockerfile, heroku, nodejs, streaming, twitter, twitter-bot, twitterbot, webhook
- Language: JavaScript
- Homepage: http://twibot.namila.me/
- Size: 1.34 MB
- Stars: 13
- Watchers: 2
- Forks: 1
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NB-Twitter Bot
![nb bot](https://nb-twitter-bot.herokuapp.com/main.png)[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)
[![Build Status](https://travis-ci.org/namila007/nb-twitter-bot.svg?branch=master)](https://travis-ci.org/namila007/nb-twitter-bot)## Intro
A twitter bot made by nodejs, using twitter api
## Run the code
1. Create a twitter account and create a [Twitter app](https://apps.twitter.com/)
2. Clone the git
3. make `.env` file and copy `.env.example` and add the relevant keys from twitter app. Twitter userIDs can be obtain from 3rd party site
4. run `npm install`
5. If you want to add more users change `var users = [ config.userid ]` in `streaming.js` file and add user ids to monitor. example: ` var users = [ 'XXXXX' , 'YYYYYY']`
6. run `npm start`
## Deploy
User can deploy this to heroku. Create ` Config Vars` for each in `.env` file and deploy or simply press DEPLOY button. in `.env` files you cant add arrays.so need to add ids in the code