/habit-tracker

A Python script using Pixela to generate a graph to store the progress of any habit, goal etc

Primary LanguagePython

Habit Tracker

A Python script using Pixela to generate a graph to store the progress of any habit, goal etc

Screenshot

ss

API

Pixela

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

PIXELA_TOKEN PIXELA_USERNAME GRAPH_ID

Refer to the env template

Run Locally

Clone the project

  git clone https://github.com/sejalabrol/habit-tracker

Go to the project directory

  cd habit-tracker

Create a .env file and enter environment variables

  cp .env.template .env

Create a virtual environment (optional but recommended)

  python -m venv venv
  source venv/Scripts/activate

Install dependencies

  pip install -r requirements.txt

Run the project

  python main.py