/g7-github-bot

Asynchronous Github Topic Bot using Docker, Flask and Celery

Primary LanguagePythonMIT LicenseMIT

Asynchronous Topic Bot using Docker, Flask and Celery

Generates a report that contains project and contributor data for a specific topic

Project structure is based on this project:

Check out the post.

Technologies:

  • Docker
  • Flask
  • Celery
  • Redis
  • Flower
  • Pandas
  • BeautifulSoup

Dependencies:

Required to run this program

  • Docker
  • Docker Compose
  • Scraperapi.com account (free)

Building this project?

Add Scraperapi.com API KEY to docker-compose file

Using the Makefile:

  • start (start for the first time)
  • rebuild (apply changes)
  • teardown (tear down project)

Commandline:

  • $ docker-compose up -d --build

Running this project?

Browser:

Commandline:

Trigger a new task:

Check the status:

Reports & Logs

  • reports can be found under reports folder created once you run the app
  • logs can be found in the logs folder in the project directory

TODO

  • complete tests
  • add crawlers for GH search page