8000 GitHub - mohsenbostan/programmer-fa: Programmer Farsi - A simple bot that brings tweets about programming to your feed.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mohsenbostan/programmer-fa

 
 

Repository files navigation

Programmer Farsi Twitter Bot

Follow on Twitter

A simple bot that brings Persian tweets about programming to your feed.

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 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 knex migrate:latest to create the tables

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


To-do list before we hit version 1.0.0

  • 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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 70.3%
  • JavaScript 27.8%
  • Shell 1.9%
0