ColourGrab is an app, built in Flask, that takes user uploaded images, extracts the colours from these images, and uses them to generate exportable colour palettes.
Currently, the app supports the following palette types:
I find myself constantly inspired by colourful imagery; whether it be photographs, illustrations, or anything else. Colourgrab was born out of the idea to make these colours easily convertible into digital colour palettes.
All changes (features, bugs, etc.) following the initial launch of this app can be found in this project's issues tab.
This project using the following environment variables, which would be included in a .env
file at the root directory of the project:
DEVELOPMENT
(bool): Toggles debug mode on/offPORT
(int): The port that you want your local server to run the app onSECRET_KEY
(str): A randomly generated string, this can be anything.UPLOAD_FOLDER
(str): The path to your uploads folder (often found within 'static')NOTE: The following instructions assume that you are in the root directory of the project.
python -m venv .venv
. This will create a virtual environment called .venv
.venv\Scripts\activate
source .venv\bin\activate
pip install -r requirements.txt
python3 app.py
to start the server..nvmrc
file in the root directory (v21.6.2
).npm install
(or npm i
) to install node_modules
npm run watch
to compile the CSS/JS. This command will recompile these assets every time a .scss or .js file (within the relevant directories) is saved.Congratulations, you are now set up!
All documentation regarding testing can be found here