Skip to content

sciwork/banner_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Banner Generator for sciwork

Setup Environment

Install Packages and Setup Venv

python3 -m venv venv
source ./venv/bin/activate
pip3 install -r requirements.txt

Register an Unsplash API APP

  1. Go to Unsplash Developer/API and signup account.
  2. Register an application, and navigate to Keys section, check the figure below if you do not find it.
  3. Copy ACCESS KEY to .env.

Alt text

Generate Banners

  1. Edit .env and change the value of EVENT_TITLE
  2. (Optional) Edit config.py if needed
    class PhotoQuerySetting:
        # Change Keyword for Searching Photos
        query = "code"
        # How many Banner(s) to Generate
        count = 5
  3. You're good to go!
    python3 main.py

About

Banner Generator for sciwork

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages