Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

ย 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

CodeTrack ๐Ÿ“Š

A sleek macOS menu bar application that transforms your coding activity into beautiful GitHub-style contribution visualizations

Swift macOS WidgetKit App Version

Important

โš ๏ธ Early Phase Build - CodeTrack is currently in active development with many exciting features planned for future releases!

โœจ Features

๐ŸŽฏ Core Functionality

  • ๐Ÿ“ˆ Activity Visualization: GitHub-style contribution grid showing your daily coding activity
  • ๐Ÿ•’ Real-time Tracking: Automatic synchronization with VSCode-based IDE's time tracking data
  • ๐ŸŽ›๏ธ Customizable Thresholds: Fine-tune activity levels and colors to match your workflow
  • ๐Ÿ“ฑ Native macOS Widgets: Beautiful system widgets in small and medium sizes
  • โš™๏ธ Menu Bar Integration: Lightweight, unobtrusive system presence

๐ŸŽจ Personalization

  • ๐ŸŒˆ Custom Color Schemes: Personalize your activity visualization colors
  • ๐Ÿ“… Flexible Timeframes: View 30, 60, or 90 days of coding history
  • ๐ŸŽฏ Activity Thresholds: 5 customizable activity levels from "No Activity" to "Highest Activity"
  • ๐Ÿš€ System Integration: Optional launch at system startup

๐Ÿ“Š Data Insights

  • ๐Ÿ“‚ Repository Tracking: Monitor time spent across different projects
  • ๐Ÿ’ป Language Analytics: See which programming languages you use most - In Progress
  • ๐Ÿ“„ File-level Details: Detailed breakdown of time per file - In Progress
  • ๐Ÿ”„ Auto-sync: Hourly background synchronization with manual refresh option

๐Ÿ”ง Requirements

Essential Setup

  1. VSCode-based IDE with the Time Extension installed
  2. macOS 15.0+ (Sequoia or later)
  3. Active coding in your IDE to generate tracking data

Prerequisites

  • The Time extension must be installed and active in your VSCode-based IDE (VSCode, Cursor, etc.)
  • Data is automatically saved to the IDE's global storage directory (e.g., ~/Library/Application Support/Cursor/User/globalStorage/n3rds-inc.time/codingTimeData.json)
  • CodeTrack reads this file to generate your activity visualization

๐Ÿš€ Installation

  1. Download the latest release from the releases page (SOON)
  2. Install CodeTrack.app to your Applications folder
  3. Launch the application - it will appear in your menu bar
  4. Configure your settings via the menu bar dropdown โ†’ "Open CodeTrack Settings"
  5. Set up the data source path
  6. Add widgets to your desktop from the widget gallery

๐Ÿ“– Usage

Getting Started

  1. Click the CodeTrack icon in your menu bar
  2. Select "Open CodeTrack Settings" to configure the app
  3. Verify the tracking data path points to your IDE's time tracking data
  4. Choose your preferred display timeframe (30/60/90 days)
  5. Customize activity thresholds and colors to your liking

Widget Setup

  1. Right-click on your desktop and select "Edit Widgets"
  2. Search for "CodeTrack" in the widget gallery
  3. Choose between Small or Medium widget sizes
  4. Drag to your desired location on the desktop
  5. Your coding activity will automatically appear!

Syncing Data

  • Automatic: CodeTrack syncs hourly in the background
  • Manual: Use the "Sync Now" button in settings for immediate updates
  • Status Indicators: Green checkmark for successful sync, red X for errors

๐ŸŽ›๏ธ Configuration

General Settings

  • System Integration: Toggle launch at startup
  • Display Options: Select timeframe (30/60/90 days)
  • Data Source: Configure path to your IDE's time tracking data
  • Sync Status: Monitor synchronization health

Threshold Customization

  • No Activity (0h): Gray, fixed color
  • Low Activity (1h): Customizable light green
  • Medium Activity (2h): Customizable medium green
  • High Activity (4h): Customizable dark green
  • Highest Activity (6h+): Customizable full green

Each threshold can be adjusted for both time duration and color representation.

๐Ÿ—๏ธ Architecture

Technical Stack

  • SwiftUI: Modern, declarative UI framework
  • WidgetKit: Native macOS widget implementation
  • App Groups: Secure data sharing between app and widgets
  • UserDefaults: Configuration persistence
  • FileManager: Secure file system access

Key Components

  • DataManager: Handles IDE data synchronization
  • ConfigurationManager: Manages app settings and preferences
  • ContributionGridView: GitHub-style activity visualization
  • LoginItemManager: System startup integration
  • Widget Timeline Provider: Manages widget update cycles

๐Ÿ”ฎ Roadmap

CodeTrack is in active development! Upcoming features include:

  • ๐Ÿ“Š Enhanced analytics and insights
  • ๐Ÿ”„ Multi-IDE support beyond VSCode-based IDEs
  • ๐Ÿ“ˆ Detailed reporting and export options
  • ๐ŸŽจ Additional visualization styles
  • โšก Performance optimizations

๐Ÿค Contributing

We welcome contributions! Whether it's bug reports, feature requests, or code contributions, your input helps make CodeTrack better.

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Acknowledgments

  • n3rds-inc for the Time extension that makes this integration possible

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages