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

MiKDev/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.

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

Project setup(Docker)

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

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

  3. Run the bot
    docker-compose up --build -d

About

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

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 95.4%
  • JavaScript 2.7%
  • Shell 1.5%
  • Dockerfile 0.4%