A modern desktop application for tracking application usage time, built with Electron and inspired by Steam's UI design.
Just like a prism breaks white light into a beautiful spectrum of colors, Prism breaks down your raw application usage data into colorful, actionable insights. The name reflects the app's core purpose: transforming simple time tracking into detailed analytics, trends, and productivity metricsβmaking the invisible visible.
- Automatic Time Tracking - Tracks all running applications automatically in the background
- Steam-Inspired UI - Clean, modern interface with familiar navigation patterns
- Collections/Categories - Organize apps into custom collections with colors and icons
- Favorites System - Quick access to your most-used applications
- Daily Statistics - View today's total usage time and app count at a glance
- Search & Filter - Find apps quickly with built-in search
- Context Menus - Right-click any app for quick actions (launch, favorite, hide, manage collections)
- Hidden Apps - Hide apps from your library while still tracking them
- Real-time Updates - Live updates as you use applications
- Multiple Views - Home, Collections, and Hidden apps views
- Daily Usage Charts - Visualize your app usage over time with interactive charts
- Top Applications - See your most-used apps ranked by time spent
- All Apps Overview - Complete list with usage time, sessions, and last used info
- Category Breakdown - Time distribution across different app categories
- AI-Powered Insights - Smart suggestions based on your usage patterns
- Hourly Activity Heatmap - Hour-by-hour breakdown of which apps you use when
- Custom Date Ranges - View data for today, week, month, year, or custom periods
- Export Functionality - Export analytics data to CSV, JSON or PDF
- Productivity Score - Overall score (0-100) based on productive, neutral, and unproductive time
- Time Breakdown - Visual breakdown of productive vs neutral vs unproductive time
- Key Metrics Dashboard:
- Focus Time tracking
- Distraction Time monitoring
- Context Switches counter
- Deep Work Sessions (25+ min sessions)
- Peak Productivity hours
- Most Productive Day
- Productivity Trend Chart - Track your score over time
- Category Distribution - See how productive time is distributed across categories
- Top Apps Lists - Most productive and most distracting apps
- Session Analytics:
- Session length distribution
- App switching frequency
- Productivity by time of day
- Productivity Heatmap - Hour-by-hour productivity breakdown
- Custom Productivity Levels - Mark apps as productive, neutral, or unproductive
- Export Functionality - Export productivity data to CSV, JSON or PDF
- 5 Goal Types:
- Productivity Score - Target overall productivity score
- Focus Time - Track productive/neutral/unproductive time
- Work Sessions - Count deep work sessions (customizable duration)
- App-Specific - Track time on specific applications
- Category Goals - Track time spent on app categories
- Flexible Frequencies - Daily, weekly, or monthly goals
- Real-Time Progress - Live updates as you work towards goals
- Goal Status Tracking - Pending, in progress, achieved, or failed
- Streak System - Track consecutive days of goal achievement
- Success Rate Analytics - 7-day success rate chart and 30-day activity calendar
- Goal Templates - Pre-made templates for common productivity goals
- Historical Data - View goal progress for past dates
- Auto-Save & Backfill - Automatic progress tracking even when app was closed
- Export Functionality - Export goals data to CSV, JSON or PDF
- Quick Stats - Active goals, achieved today, current streak, and success rate
- Comprehensive Statistics:
- Total time spent
- Session count
- Average session length
- Last used timestamp
- First tracked date
- Usage Trends - Visual chart showing usage over time
- Calendar Heatmap - 30-day activity visualization
- Productivity Settings - Override productivity level per app
- Recent Sessions - Detailed list of recent usage sessions with duration
- Milestones - Celebrate usage achievements (10h, 50h, 100h, etc.)
- Insights & Recommendations - Smart analysis of your usage patterns
- Quick Actions - Launch app, manage favorites, change productivity level
- Keyboard Shortcuts β Press ? anytime in the app to view all available shortcuts
- Home View:
- **Analytics Page:**
- **Productivity Page:**
- **Goals Page:**
- Node.js 16 or higher
- npm or yarn
- Clone the repository
git clone https://github.com/severmanolescu/prism.git
cd prism- Install dependencies
npm install- Run the application
npm startTo create a distributable package:
npm run buildprism/
βββ scripts/ # Useful scripts
βββ src/
β βββ main/ # Main process (Electron/Node.js)
β β βββ ipc/ # IPC handlers organized by domain
β β β βββ exporters/ # IPC handlers for exporting PDF files
β β βββ services/ # Business logic (tracking, database, storage)
β β β βββ data_access/ # Database access handlers
β β βββ utils/ # Helper functions
β βββ preload/ # Preload script for IPC bridge
β βββ renderer/ # Renderer process (UI)
β βββ styles/ # Modular CSS files
β β βββ analytics/ # Analytics page styles
β β βββ app-details/ # App details page styles
β β βββ category-insights/ # Category Insights page styles
β β βββ global/ # Global page styles
β β βββ goals/ # Goals page styles
β β βββ index-page/ # Main page styles
β β βββ productivity/ # Productivity page styles
β β βββ shared/ # Shared page styles
β βββ js/ # Frontend JavaScript modules
β βββ analytics/ # Analytics page logic
β βββ app-details/ # App details page logic
β βββ category-insights/ # Category Insights page logic
β βββ goals/ # Goals page logic
β βββ index-page/ # Main page logic
β βββ productivity/ # Productivity page Logic
β βββ shared/ # Shared src
βββ assets/ # Images and icons
βββ main.js # Main Electron entry point- Launch apps - Click any app card or right-click and select "Launch Application"
- View details - Click an app to see detailed usage statistics
- Organize apps - Create collections and drag apps into them
- Search - Use the search bar to filter applications
- Today's stats - View in the top-right corner of the window
- Click the grid icon in the sidebar to view collections
- Click "Create New Collection" to add a new category
- Right-click any app and select "Add to" to move it to a collection
Hidden Apps
Apps can be hidden from the main view while still being tracked:
- Right-click an app β More β Hide from Library
- Access hidden apps via Library β Hidden in the top menu
Set and track productivity goals with different frequencies (daily, weekly, monthly):
- 5 Goal Types: Productivity score, focus time, work sessions, app-specific, category goals
- Smart Tracking: Real-time progress for current periods, historical data for past periods
- Streak System: Track consecutive days of goal achievement
- Auto-Save: Automatic backfill for missed days when app was closed
π View Complete Goals System Documentation
The application uses SQLite database for efficient data management SQLite database provides better performance for queries and analytics while maintaining data integrity.
- Electron - Desktop app framework
- Node.js - Backend runtime
- Vanilla JavaScript - No framework dependencies
- CSS3 - Custom styling with modular architecture
electron- Desktop application frameworkactive-win- Get active window information (Windows/macOS/Linux)better-sqlite3- Better SQLite database for data persistenceauto-launch- Auto-start on system boot
- β
Weekly/Monthly statistics view- Implemented - β
Export data to CSV/JSON- Implemented for Analytics, Productivity, and Goals - β
Application goals and limits- Implemented with comprehensive Goals system - β
Productivity insights and analytics- Implemented with dedicated Productivity page - π§ Settings page - In progress
- π Custom themes
- π Notifications for goal achievements
- π Desktop widgets for quick stats
- π Multi-language support
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/TestBranch) - Commit your changes (
git commit -m 'Add some TestBranch') - Push to the branch (
git push origin feature/TestBranch) - Open a Pull Request
- UI design inspired by Steam's client interface
- Built with Electron for cross-platform compatibility
If you encounter any issues or have questions, please open an issue on GitHub.




