Skip to content

ayushjaipuriyar/leetcode-ultimate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

LeetCode Ultimate - Advanced LeetCode to GitHub Synchronizer

LeetCode Ultimate is the most comprehensive Chrome extension for LeetCode enthusiasts, combining the best features from multiple popular extensions into one powerful tool. This extension seamlessly integrates with GitHub to track your coding journey with advanced statistics, real-time synchronization, and intelligent streak monitoring.

πŸš€ Key Features

Advanced Statistics Dashboard

  • Real-time difficulty tracking - Monitor Easy, Medium, and Hard problem counts
  • Streak monitoring with visual flame indicators
  • Completion rate tracking against total LeetCode problems
  • Daily problem counters with smart flame animations
  • Progress visualization with interactive charts and badges

Intelligent GitHub Synchronization

  • Real-time sync - Automatic submission detection and upload
  • Multiple submission support - Track all attempts, not just the latest
  • Smart file organization - Structured folders with problem metadata
  • Performance annotations - Automatic runtime/memory comments
  • Subdirectory organization - Customize your repo structure
  • Legacy compatibility - Works with existing LeetSync/leetcode-tracker repos

Enhanced UI Experience

  • Modern React-based interface built with Chakra UI
  • TypeScript implementation for better reliability
  • Real-time notifications and sync status
  • Advanced settings panel with granular controls
  • Responsive design that works on all screen sizes

Smart Sync Options

  • Selective syncing - Choose what gets uploaded
  • Comment integration - Add performance stats to submissions
  • Version control - Track multiple solutions per problem
  • Background processing - Non-blocking synchronization
  • Error handling - Robust retry mechanisms

πŸ“Š What Makes It Ultimate?

LeetCode Ultimate combines features from the most popular LeetCode extensions:

Feature LeetCode Ultimate Other Extensions
Real-time stats tracking βœ… Limited
Advanced streak monitoring βœ… Basic
Multiple submission sync βœ… ❌
Performance comments βœ… ❌
Background service worker βœ… Limited
TypeScript implementation βœ… ❌
Modern UI framework βœ… ❌
Subdirectory organization βœ… Limited
Legacy compatibility βœ… ❌
Advanced settings βœ… Basic

πŸ›  Installation

From Chrome Web Store (Recommended)

  1. Visit the Chrome Web Store (link coming soon)
  2. Click "Add to Chrome"
  3. Follow the setup wizard

Manual Installation (Development)

  1. Clone this repository
git clone https://github.com/your-username/LeetCode-Ultimate.git
cd LeetCode-Ultimate
  1. Install dependencies
npm install
  1. Build the extension
npm run build
  1. Load in Chrome
    • Open Chrome and go to chrome://extensions/
    • Enable "Developer mode"
    • Click "Load unpacked" and select the build folder

πŸ”§ Setup Guide

Initial Configuration

  1. GitHub Authentication

    • Click the extension icon in your Chrome toolbar
    • Click "Login with GitHub"
    • Authorize the application
    • The extension will automatically detect your GitHub username
  2. LeetCode Authentication

    • Visit LeetCode.com while logged in
    • The extension automatically captures your session
    • No additional setup required
  3. Repository Selection

    • Enter your GitHub repository URL
    • The extension validates repository access
    • Choose subdirectory preferences (optional)

Advanced Configuration

Access the settings menu via the gear icon to customize:

  • Sync Preferences: Choose what gets uploaded
  • Comment Settings: Enable/disable performance annotations
  • Multiple Submissions: Track all attempts vs. latest only
  • Subdirectory Structure: Organize your repo layout
  • Legacy Mode: Import from existing extensions

πŸ“– Usage

Automatic Sync

  1. Solve a problem on LeetCode
  2. Submit your solution
  3. LeetCode Ultimate automatically:
    • Detects the successful submission
    • Creates/updates the repository folder
    • Uploads your solution with performance metadata
    • Updates your statistics dashboard
    • Shows a flame animation for your streak

Manual Operations

  • Manual Sync: Force sync all previous solutions
  • Stats Refresh: Recalculate statistics from GitHub
  • Repository Management: Change or unlink repositories
  • Settings Export/Import: Backup your configuration

Dashboard Features

The popup dashboard provides:

  • Current streak counter with motivational messages
  • Daily flame indicator showing today's progress
  • Difficulty breakdown with interactive charts
  • Sync status with real-time updates
  • Quick access to your GitHub repository

βš™οΈ Advanced Settings

Sync Configuration

Submit only new solutions: Only sync when solving for the first time
Sync multiple submissions: Upload all attempts, not just accepted ones
Add performance comments: Include runtime/memory stats in code files
Sync previously solved problems: Bulk import existing solutions

File Organization

Repository Structure:
β”œβ”€β”€ 1-two-sum/
β”‚   β”œβ”€β”€ README.md           # Problem description
β”‚   β”œβ”€β”€ two-sum.py          # Your solution
β”‚   └── Notes.md            # Optional notes
β”œβ”€β”€ 2-add-two-numbers/
β”‚   └── ...
└── subdirectory/           # Optional organization
    └── ...

Performance Comments

When enabled, your solution files include:

# Time: 52ms (95.23%) | Memory: 14.2MB (87.45%) - LeetCode Ultimate
# Solved on: 2024-10-14T10:30:00Z

class Solution:
    def twoSum(self, nums, target):
        # Your solution here

πŸ”„ Migration Guide

From LeetSync

  1. Install LeetCode Ultimate
  2. Your existing repository and settings are automatically detected
  3. Continue using without any changes needed

From leetcode-tracker

  1. Install LeetCode Ultimate
  2. Settings and repository links are automatically imported
  3. All advanced features become available immediately

From Other Extensions

  1. Export your data from the current extension
  2. Use the manual sync feature to import existing solutions
  3. Configure settings to match your preferences

🧠 Smart Features

Intelligent Detection

  • Problem recognition: Automatically identifies LeetCode problems
  • Language detection: Supports 20+ programming languages
  • Submission validation: Only syncs successful submissions
  • Duplicate prevention: Avoids redundant uploads

Performance Tracking

  • Runtime percentiles: Track your solution performance
  • Memory usage: Monitor space complexity
  • Improvement trends: See your progress over time
  • Comparative analysis: Benchmark against other solutions

Streak Management

  • Daily tracking: Never lose your streak
  • Motivational messages: Encouraging feedback based on progress
  • Visual indicators: Flame animations and progress bars
  • Streak recovery: Smart handling of missed days

πŸ›‘οΈ Privacy & Security

  • Local storage: Settings stored locally in Chrome
  • GitHub integration: Only accesses repositories you explicitly authorize
  • LeetCode session: Securely handles authentication cookies
  • No data collection: Your coding data stays with you
  • Open source: Full transparency with public codebase

🀝 Contributing

We welcome contributions! This project combines the best features from the open-source community.

Development Setup

# Clone and setup
git clone https://github.com/your-username/LeetCode-Ultimate.git
cd LeetCode-Ultimate
npm install

# Development server
npm start

# Build for production
npm run build

# Run tests
npm test

Contributing Guidelines

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes with tests
  4. Submit a pull request
  5. Follow the code style guidelines

πŸ“ Changelog

v1.0.0 (Latest)

  • Initial release combining features from multiple extensions
  • Advanced statistics dashboard with real-time tracking
  • Enhanced GitHub integration with multiple submission support
  • Modern TypeScript/React implementation
  • Comprehensive settings panel
  • Legacy compatibility with existing extensions

πŸ†˜ Support

Common Issues

  • Sync not working: Check GitHub repository permissions
  • Stats not updating: Refresh the extension or manually sync
  • Authentication failed: Re-login to GitHub and LeetCode
  • Missing submissions: Enable "Sync previously solved problems"

Get Help

πŸ“„ License

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

πŸ™ Acknowledgments

LeetCode Ultimate builds upon the excellent work of:

  • LeetSync - For the modern React-based UI and streak tracking
  • leetcode-tracker - For advanced statistics and background sync features
  • The open-source community - For inspiration and contributions

πŸ”— Links


LeetCode Ultimate - The ultimate solution for serious competitive programmers. Track, sync, and excel! πŸš€

leetcode-ultimate

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published