A simple bot that brings Persian tweets about programming to your feed.
- A developer account (Grab one from here Twitter)
- pm2 module (run
npm i -g pm2
) - Node.js and npm
-
Clone this repo:
Runhttps://github.com/amirhoseinsalimi/programmer-fa
-
Install dependencies:
Runnpm i
-
Create an .env file
Copy the content of.env.example
into.env
and fill it with your credentials -
Run migrations
Run the commandknex migrate:latest
to create the tables -
Run the bot
For development with hot reload:npm run bot:dev
For Runnpm start
- Enhance code modularity
- Separate Development & Debug env. variables
- Let "log verbosity level" and "file storing" to be set
- Don't store or log
RT @username
- Log the details of retweets in dev. env. (Name, date, text, matched words, link, etc.)
- Full implementation of the database
A small side project done in https://expteam.ir