befa34909c9b0ce4a364b3085c65334a327d4cd3
Studywatch
This is a set of scripts.
- The client script tracks study sessions and syncs them with a CalDAV calendar.
- The server script reads from said CalDAV calendar and serves a nice-looking web UI and API endpoint.
Usage
Client
- Create an
.envfollowing the.env.examplelayout and fill in all fields - Run as
./studywatch-cli <subject-name>(available subjects are also defined in.env) - Previous, failed syncs are stored in
./backlog.csvand will be reattempted first - The new session will start and display a live timer. To stop it, send
SIGINT(Ctrl+C) - You will be asked if you want to sync the session (y|n)
Server
The server is written in python using flask. It grabs the calendar events via CalDAV and renders out a nice looking ui.
Heads-up: The entire frontend is vibe-coded. Im not much of a web dev. Backend is written by me tho.
- Just run
python app.pyand connect tolocalhost:5000(just debug, a proper docker build will follow)
Description
Client and server scripts to track study sessions, store them in a CalDAV calendar and render out a nice web dashboard.
461 KiB
Languages
Python
60.7%
CSS
17.1%
JavaScript
12.9%
HTML
8.1%
Dockerfile
1.2%