python-discord / quackstack

An on-demand procedural ducky delivery service. An infinite stack of duckies!
MIT License
7 stars 1 forks source link

Branding Submodule #21

Closed Shivansh-007 closed 3 years ago

Shivansh-007 commented 3 years ago

Waiting for 5 minutes, just for cloning to happen is not a good sign, the branding repository is huge and the whole repository is not needed, so an ideal idea is to either:

  1. Fetch all the files in the directory using GitHub API.
  2. Or just download the quackstack folder using https://download-directory.github.io/.

This would be kept as a background task which would periodically so that it can pull the new assets, in case any where added. I would be willing to work on this.

Possible solutions for this include:

  1. RQ (http://python-rq.org/)
  2. Simple async threading.
  3. Flask-APScheduler (https://github.com/viniciuschiele/flask-apscheduler).
Shivansh-007 commented 3 years ago

There was a discussion in #dev-branding, where it was decided that: