https://github.com/cuni0716/twitter-bot
Bot to retwit some things for me (or for you)
https://github.com/cuni0716/twitter-bot
async-await babel-es6 bot docker docker-compose ecmascript2017 ecmascript6 javascript nodejs npm twitter-bot
Last synced: about 1 month ago
JSON representation
Bot to retwit some things for me (or for you)
- Host: GitHub
- URL: https://github.com/cuni0716/twitter-bot
- Owner: cuni0716
- Created: 2017-06-14T20:14:13.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-13T19:08:48.000Z (over 6 years ago)
- Last Synced: 2025-01-26T19:22:26.991Z (3 months ago)
- Topics: async-await, babel-es6, bot, docker, docker-compose, ecmascript2017, ecmascript6, javascript, nodejs, npm, twitter-bot
- Language: JavaScript
- Homepage:
- Size: 23.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Twitter bot
Zero code bot for you to search for some topics of your interest on twitter and retweet one of them every few hours. Store all retweets on a database that you can access and query.
## Development
```bash
cp .env.example .env
```Open `.env` file and fill in the values
#### Start on devmode
```bash
npm run dev
```#### Connect to mysql
```bash
npm run sql
```
____## Deploy on production
```bash
cp .env.example .env_production
```Open `.env_production` file and fill in the values
#### Start on production mode
```bash
npm run deploy
```#### See the logs
```bash
npm run logs
```#### Update it
For minor updates you only need to do `npm run update:minor` in the bot folder.
For major updates you may need to `npm run update` in the bot folder.