A simple bot that brings Persian / English tweets about programming to your feed. Feel free to add your desired words.
Note This bot is being re-written. The current work is being done on
v2
branch which is going to be merged withmaster
once is completed. I suggest you to send your PRs tov2
branch for now.
- A developer account (Grab one from here Twitter)
- pm2 module (run
npm i -g pm2
) - Node.js and npm
-
Clone this repo:
Rungit clone https://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 commandnpm run migrate:latest
to create the tables -
Run the bot
For development with hot reload:npm run dev
For Runnpm start
To lint commits before they are created run: npx husky install