WAKEY-WAKEY is under active development.
While functional if all steps are followed, it may contain bugs and is subject to change.
The final version will be simple, intuitive, and fully stableβrecommended to wait for the full release for production use.
WAKEY-WAKEY is your friendly desktop companion designed to keep you awake and alert.
It leverages real-time computer vision to monitor alertness using your webcam, triggering customizable audio alerts when drowsiness is detected.
Perfect for students, professionals, night shift workers, or anyone needing focus during long sessions.
- Real-Time Drowsiness Detection: Tracks eye closure, yawns, and facial expressions
- Smart Alert System: Audio notifications triggered when drowsiness is detected
- Non-Intrusive: Runs quietly in the background
- Local Processing & Privacy: No data is sent externally
- Scientific Detection: Uses EAR, MAR, and facial landmark analysis
Rust β Low-level engine for Tauri
Flask β Python web backend
Python 3.x β AI & CV logic
React β UI library
Vite β Frontend build tool
Tailwind CSS β Utility-first styling
PostCSS β CSS processing
Motion β Smooth UI animations
Tauri β Native desktop app packaging
βββ flask-backend/ # Flask backend API
β βββ venv/ # Python virtual environment
β βββ requirements.txt
βββ src/ # React frontend source
βββ public/ # Static assets
βββ src-tauri/ # Tauri native app configuration
βββ vite.config.js # Vite config
βββ tailwind.config.js # Tailwind config
βββ postcss.config.js # PostCSS config
git clone <repository-url>
cd wakey-waekycd flask-backend
python -m venv venv
# Windows
venv\Scripts\activate
# Unix / MacOS
source venv/bin/activate
pip install -r requirements.txtnpm installcd flask-backend
flask runnpm run devAccess the app at http://localhost:5173.
Create a .env file in the root:
VITE_API_URL=http://localhost:5000
FLASK_APP=app.py
FLASK_ENV=developmentnpm run buildnpm run tauri buildcd flask-backend
python -m pytestnpm test- Fork the repo
- Create a branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m "Add feature") - Push (
git push origin feature/amazing-feature) - Open a Pull Request
Licensed under MIT License β see the LICENSE file.
