Skip to content

Programmer Farsi - A bot that brings tweets about programming to your feed.

License

Notifications You must be signed in to change notification settings

amirhoseinsalimi/programmer-fa

Repository files navigation

Programmer Farsi Twitter Bot

Follow on Twitter

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 with master once is completed. I suggest you to send your PRs to v2 branch for now.

Requirements to run the bot

  1. A developer account (Grab one from here Twitter)
  2. pm2 module (run npm i -g pm2)
  3. Node.js and npm

Project setup

  1. Clone this repo:
    Run git clone https://github.com/amirhoseinsalimi/programmer-fa

  2. Install dependencies:
    Run npm i

  3. Create an .env file
    Copy the content of .env.example into .env and fill it with your credentials

  4. Run migrations
    Run the command npm run migrate:latest to create the tables

  5. Run the bot
    For development with hot reload: npm run dev
    For Run npm start