Eyedesk
Track productivity like never before
The problem Eyedesk solves
EyeDesk is designed to provide users with deep insights into their daily work patterns. By tracking application usage and eye focus states, it empowers individuals to understand their productivity, identify distractions, and optimize their workflow.
This section outlines key use cases for EyeDesk, demonstrating how its data can be leveraged for personal productivity enhancement.
1. Understanding Work Patterns & Identifying Distractions
EyeDesk helps you visualize your day, highlighting periods of deep work versus times filled with interruptions or less productive activities.
This snippet shows how iris_focus data is recorded, differentiating between focused and unfocused states.
-- Example of focused and unfocused periods
INSERT INTO iris_focus (timestamp, duration, state) VALUES
('2024-01-15 09:35:00', 345, 'focused'), -- Deep work in code editor
('2024-01-15 10:03:45', 345, 'unfocused'), -- Communication/break
('2024-01-15 13:00:30', 330, 'focused'), -- Afternoon deep work
('2024-01-15 15:19:30', 450, 'unfocused'); -- End of day wind-down
Key Takeaway: By analyzing the state column in iris_focus alongside application activity, you can pinpoint when distractions occur and correlate them with specific applications or meeting times.
2. Optimizing Focus & Deep Work
Identify your peak focus times and the activities that contribute to sustained concentration.
This component visualizes focus duration as a progress bar and displays the overall focus ratio.
// Simplified representation of focus visualization
const totalFocus = focusedSec + unfocusedSec || 1;
const focusRatio = focusedSec / totalFocus;
// ... rendering a progress bar based on focusRatio
// ... displaying text like "75% focused"
Key Takeaway: Use the focusRatio and the visual breakdown of focused vs. unfocused time to schedule demanding tasks during your most productive hours and minimize distractions during these periods.
3. Gaining Insights into Daily Productivity
Understand which applications consume the most time and how they correlate with your focus levels.
Top Applications by Usage
This chart ranks applications by their total usage time, providing a clear overview of where your time is spent.
%% Bar chart for top applications
bar chart
title Top Applications by Usage
x-axis "Application"
y-axis "Total Time (hours)"
bar [
{"App": "VS Code", "Time": 8.5},
{"App": "Chrome", "Time": 4.2},
{"App": "Slack", "Time": 2.1},
{"App": "Zoom", "Time": 1.5},
{"App": "Notion", "Time": 1.0}
]
Code Snippet: db/mock_data.sql (App Sessions)
This data defines application usage sessions, including start and end times.
-- Example of application session tracking
INSERT INTO app_sessions (app_name, window_title, start_time, end_time) VALUES
('code', 'server.ts - eyedesk - Visual Studio Code', '2024-01-15 09:00:00', '2024-01-15 11:45:00'),
('chrome', 'Documentation - TypeScript', '2024-01
Technologies used