A lightweight desktop widget built with Flet that displays real-time network data usage. It floats on top of all windows and provides live tracking of data consumption since midnight, including hourly usage graphs and notifications.
- Real-time Tracking: Monitors network data usage (sent/received) since midnight.
- Hourly Graph: Visual bar chart showing data usage per hour of the day.
- Always-on-Top: Floats above all other windows for constant visibility.
- Notifications: Alerts when a configurable amount of data (in MB) has been consumed.
- Persistent Storage: Saves usage data across restarts.
- Minimal UI: Compact design with opacity changes on hover.
- Taskbar Hidden: Icon is not shown in the Windows taskbar for a cleaner desktop experience.
- Python 3.8+
- Windows (current release target)
- Download the latest
Data Trakcer.exefrom the Releases page. - Double-click the
.exeto run. No installation required. - The widget will appear and start tracking your network data usage.
-
Clone the repository:
git clone https://github.com/baebranch/data_tracker.git cd data-tracker -
Create a virtual environment:
python -m venv .venv .\.venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Run the application:
python main.py
Use the VS Code task "Build with Flet" or run:
flet pack main.py --name "Data Tracker" --icon favicon.icoThis creates a standalone executable using PyInstaller.
- The widget appears as a small window showing current data usage.
- Hover to make it fully opaque.
- Data resets at midnight.
- Hourly bars update in real-time, with the current hour highlighted.
- Notification threshold: Currently hardcoded; modify
main.pyto customize. - Window position and size: Adjustable in
main.py.
- Uses Flet for cross-platform UI.
- Hot reload available via VS Code debug configuration.
- Data stored in
data/network_data.json.
MIT License - see LICENSE for details.