An AI-powered desktop app to generate study content from raw text using LLM integration.
- Python 3.11+
- A Cohere API key
- Docker (optional, for containerised backend)
- Git
- Virtual environment set up (recommended)
git clone https://github.com/berat-552/StudyForge.git
cd StudyForgepython -m venv .venv
call .venv\Scripts\activate
pip install -r requirements.txtCreate a .env file in the project root (you can copy from .env.example):
copy .env.example .env # command for cmd.exeThen update the .env file with your Cohere API key:
COHERE_API_KEY=your-cohere-key-here
APP_ENV=dev
DEV_API_URL=http://127.0.0.1:8000
PROD_API_URL=https://studyforge-api.onrender.comUse the batch script to launch everything:
run-dev-windows.bat # WindowsOR
run-dev-unix.sh # UnixThis will start the FastAPI backend in a new terminal window.
Then it will launch the GUI.
When you close the GUI, the backend will keep running in its terminal.
If you want to run the backend in a container:
make docker-buildmake dev-dockerThis runs the container in the background and launches the GUI.
When the GUI closes, the container is stopped automatically.
make docker-stopIf you want live-reloading of the backend while you develop:
Start backend (with hot reload) + launch GUI
make dev-fullThis uses Docker Compose to start the backend with --reload, waits a few seconds, then launches the GUI app.
The backend remains running after the GUI closes.
Make sure you have a .env file in your project root. You can copy it from .env.example if needed.
Stop the Docker Compose backend
make dev-full-downmake testmake formatCheck out the Makefile for more commands.