A minimalist web application that helps you track time you've lost or wasted. Built with Flask, SQLite, and modern web technologies.
- User Registration: Simple username-based authentication system
- Time Tracking: Track lost time in minutes and view total in hours and minutes
- Beautiful UI:
- Random background images for visual variety
- Elegant typography using Radley and Momo Signature fonts
- Smooth transitions and animations
- Responsive flash messages with progress bar
- Mobile-friendly design that works on phones and tablets
- Persistent Storage: Data stored in SQLite database
- Cookie-based Authentication: 7-day session persistence
- Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate # On Windows use: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Create a
.envfile in the project root with:
SECRET_KEY=your_secret_key_here
- Initialize the database (from flaskr):
flask --app main init-db- Run the application (from flaskr):
python main.py- Visit the website and register with a username
- Enter the amount of time (in minutes) you've lost today
- View your accumulated lost time displayed in hours and minutes
- Use the "Register or log in again" button below to switch accounts
flaskr/: Main application directorymain.py: Flask application and routesschema.sql: Database schemastatic/: Static files (CSS, JS, images)templates/: HTML templatesinstance/: Database file location (created on initialization)
-
Backend:
- Flask (Python web framework)
- SQLite (Database)
- python-dotenv (Environment management)
-
Frontend:
- Vanilla JavaScript
- CSS3 with modern features (flexbox, transitions, backdrop-filter)
- Custom fonts (Radley, Momo Signature)
This project is designed to help users be mindful of their time usage by tracking "lost time". It can be used as a personal tool for time management and self-awareness. The point is that you can see how much time you lost and you go like, "omg i'm so shit" (happens most of the times). But if you want to use something like this, you will first have to create a habit of tracking (You will use simple notebook right?).