The All-in-One Competitive Programming Workstation & Automated GitHub Synchronization Engine
Code, test, debug, upsolve, and archive your solutions seamlessly in all programming languages across Codeforces, AtCoder, CSES, LeetCode, and Toph.
- ๐ Overview
- ๐ผ๏ธ Visual UI Tour & Complete Screenshot Directory
- Asset Manifest & Name Directory
- 1. Monaco CP Workstation & Problem-Solving Studio
- A. Full Monaco Workstation Studio (
ide_full_workspace.png) - B. Primary Action Controls (
ide_action_buttons.png) - C. Editor Standards & Toolbar (
ide_toolbar_controls.png) - D. Compiler Standards & Multi-Language Selector (
ide_language_selector_dropdown.png) - E. Authentic VS Code Monaco Experience (
ide_monaco_editor.png) - F. LeetCode-Style Problem Statement Viewer (
ide_problem_statement_viewer.png) - G. Problem Panel in Standalone Scratchpad Mode (
ide_problem_panel_standalone.png) - H. CPH Multi-Testcase Runner & Accepted Banner (
ide_testcase_accepted_verdict.png)
- A. Full Monaco Workstation Studio (
- 2. Extension Popup Dashboard & Live Analytics
- 3. Global Contest Hub & Codeforces Upsolve Radar
- 4. Extension Settings & Customization Studio
- A. GitHub Repository Integration (
settings_github_integration.png) - B. Editor Preferences & Themes (
settings_preferences.png) - C. Starter Templates & Boilerplates (
settings_starter_templates.png) - D. Remote Code Execution Engine (
settings_code_execution.png) - E. Contest Hub Filters & Reminders (
settings_contest_hub_filters.png)
- A. GitHub Repository Integration (
- 5. Automated GitHub Synchronization Architecture
- ๐๏ธ Exhaustive Button & Control Directory
- ๐ฌ Core Engineering Deep-Dives
- 1. 30-Day Activity Graph & Dual-Series Analytics Engine
- 2. Honest Streak & Daily Momentum Engine
- 3. Difficulty Distribution Donut & Category Geometry
- 4. Intelligent C++ Formatter with AST & Literal Shielding
- 5. CPH Multi-Testcase Runner & Telemetry
- 6. Automated GitHub Synchronization & Repository Hierarchy
- 7. Judge DOM Scraping & One-Click Auto-Submit Bridges
- ๐ Browser Compatibility (Google Chrome & Microsoft Edge)
- ๐ Installation & Quick Start Guide
- โ๏ธ Configuration & GitHub Setup
- โจ๏ธ Keyboard Shortcuts Reference
- ๐ Security, Permissions & Local-First Architecture
- ๐ ๏ธ Troubleshooting & Diagnostic Guide
- โ Frequently Asked Questions (FAQ)
- ๐ค Contributing & License
CodeSync Pro is a modern, all-in-one browser workstation and automated GitHub portfolio synchronization engine built as a native Manifest V3 extension for Google Chrome and Microsoft Edge.
Traditionally, competitive programmers have had to juggle multiple disconnected tools: solving in one browser tab, copying test cases into local terminal files, compiling code manually, checking separate contest calendar websites, and maintaining an offline Git repository.
CodeSync Pro bridges this entire workflow into a cohesive, high-performance workstation directly inside your browser:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ CODESYNC PRO ECOSYSTEM โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ MONACO WORKSTATION โ CONTEST HUB โ POPUP DASHBOARD โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โข Authentic VS Code โ โข 7 major CP platforms โ โข Real-time GitHub sync status โ
โ โข CPH multi-testcases โ โข Codeforces Upsolve โ โข Dual-series 30-day activity โ
โ โข AST-safe C++ format โ โข Live countdowns โ โข Honest streak tracker โ
โ โข 1-click submission โ โข Google Cal & .ICS โ โข Category difficulty donut โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Every single screenshot asset in this project represents an authentic, real-world screen capture of CodeSync Pro in operation. All assets are located directly within the assets/ folder.
The table below catalogs every graphic asset utilized in this documentation:
| Asset Filename | Visual Name / Title | Description & Context |
|---|---|---|
assets/logo.png |
Official Glowing Emblem | Circular high-resolution emblem with electric neon accents and multi-platform judge integration. |
assets/ide_full_workspace.png |
Full Monaco CP Workstation | Panoramic 3-column competitive programming studio. |
assets/ide_action_buttons.png |
IDE Primary Action Controls | Tactile Compile, Test (Run), and Submit control group. |
assets/ide_toolbar_controls.png |
IDE Standards & Toolbar | Language standard, Monaco theme, Format, and Snippet selectors. |
assets/ide_language_selector_dropdown.png |
Multi-Language Selector Dropdown | Dropdown menu displaying all 11 native compiler standards (C++23/20/17, Python 3.13/3.12, Java 21/17, Rust 1.85, Go 1.23, JS Node 22, Kotlin 2.1, C# .NET 8). |
assets/ide_monaco_editor.png |
Monaco Code Editor Panel | Authentic VS Code Dark+ engine with full AST syntax colors. |
assets/ide_problem_statement_viewer.png |
Problem Statement Viewer | LeetCode-style problem layout with difficulty pill and styled examples. |
assets/ide_problem_panel_standalone.png |
Problem Panel Standalone Mode | Clean scratchpad interface with instant jump links to 4 judges. |
assets/ide_testcase_accepted_verdict.png |
CPH Testcase Accepted Verdict | Celebratory Accepted banner and multi-testcase runner cards. |
assets/popup_navigation_buttons.png |
Popup Quick Navigation | Topbar navigation pills for IDE and Contest Hub. |
assets/popup_streak_and_donut.png |
Honest Streak & Solves Donut | 7-day momentum row with honest checks/crosses and 308-solve donut. |
assets/popup_activity_graph_metrics.png |
30-Day Activity Graph & Metrics | Dual-series SVG line chart and live stats cards. |
assets/popup_smart_sync_center.png |
Smart Sync Multi-Platform Center | Unsynced submission scanner and 1-click GitHub commit dispatcher. |
assets/contest_hub_global_schedule.png |
Global Contest Hub Schedule | Universal calendar with 31+ competitions and platform filter pills. |
assets/upsolve_radar_challenges.png |
Codeforces Upsolve Radar | Unsolved contest problems grid with 1-click IDE bridge. |
assets/settings_github_integration.png |
GitHub Repository Integration | Personal Access Token manager, repository auto-creator, and test ping. |
assets/settings_preferences.png |
Editor Preferences & Themes | Global editor theme, font size slider, Vim mode, and audio toggles. |
assets/settings_starter_templates.png |
Starter Templates & Boilerplates | Pre-configured CP templates for C++, Python, and Java. |
assets/settings_code_execution.png |
Remote Code Execution Engine | Paiza.IO remote compilation sandbox and timeout configuration. |
assets/settings_contest_hub_filters.png |
Contest Hub Platform Filters | Multi-platform checkboxes, CLIST integration, and reminder toggles. |
assets/github_repo_structure.png |
GitHub Repository Root Hierarchy | Structured portfolio showing AtCoder, Codeforces, and LeetCode folders. |
assets/github_codeforces_divisions.png |
Codeforces Division Hierarchy | Auto-categorized Div. 1, Div. 2, Div. 3, Div. 4, and Others folders. |
assets/github_synced_problem_folder.png |
Synced Problem Directory | Individual challenge directory with source code and auto-generated README. |
The heart of CodeSync Pro is its full-screen competitive programming studio featuring an authentic VS Code engine, LeetCode-style problem viewer, and CPH test runner.
The full workstation view demonstrates the integrated 3-column architecture:
- Left Panel (Problem Statement): Displays extracted problem statements with mathematical equations, constraints, and sample tests. In standalone mode, offers quick jump buttons to Codeforces, AtCoder, LeetCode, and Toph.
- Center Panel (Monaco Code Editor): Monaco Code Editor with authentic token colors, smart STL completions, and custom font sizing.
- Right Panel (CPH Testcase Runner): Multi-testcase runner with execution time in milliseconds, memory telemetry, custom test addition, and the celebratory TESTCASE ACCEPTED verdict banner.
The primary execution controls provide instant tactile feedback for competitive workflows:
- ๐จ Compile Button: Performs fast syntax and type verification through the remote compiler sandbox without executing testcases. Errors stream into the Compiler Output terminal.
- โถ Test (Run) Button: Executes code against all loaded testcases in parallel or sequence, profiling runtime in milliseconds and memory usage. Shortcut:
Ctrl+EnterorCmd+Enter. - ๐ Submit Button: Directly injects the solution into the active judge tab's submission form. If direct form injection is unavailable, automatically copies code to clipboard with a toast notification.
- ๐ข Test #1: AC Status Pill: Dynamic real-time execution indicator displaying the verdict of individual test runs.
Customize and command your coding environment:
- Universal Multi-Language Standards: Native execution and syntax highlighting for all programming languages including modern standards: C++23 (Latest GCC 14.1), C++20, C++17, Python 3.13 / 3.12 / PyPy, Java 21, Rust 1.85, Go 1.23, Node.js 22 / TypeScript, Kotlin, C#, Ruby, Swift, C, PHP, Haskell, and 35+ more.
- Theme Dropdown: Instant bidirectional switching between VS Code Dark+, Dracula, One Dark Pro, GitHub Dark, Monokai, and Catppuccin Mocha.
- โก Format Button: Intelligent code formatting enforcing clean 4-space indentation while strictly shielding ASCII art headers, block comments, and string literals from corruption. Shortcut:
Alt+Shift+F. - โก Snippets Button: Opens the Algorithmic Snippets drawer containing pre-built templates for Fast I/O, Modular Exponentiation, DSU, Segment Trees, and Sieve algorithms.
CodeSync Pro features an integrated multi-compiler selector with native environments pre-configured for modern competitive programming:
- C++23 (Latest GCC 14.1): Modern C++ standard with bleeding-edge GCC 14.1 compiler optimizations and full standard library access.
- C++20 (GCC 14.1): Concept-constrained templates, ranges,
std::span, and formatting utilities. - C++17 (GCC 11.1): The universal contest programming baseline with structured bindings and
std::optional. - Python 3.13 (Latest): Latest Python release with enhanced interpreter performance and standard libraries.
- Python 3.12: Proven high-stability runtime matching major online judges.
- Java 21 / 17 (OpenJDK): Modern LTS OpenJDK runtimes with fast buffer streaming support.
- Rust 1.85 (Latest): Modern Rust with zero-cost abstractions, pattern matching, and high-performance memory safety.
- Go 1.23 (Latest): Blazing fast compilation and clean concurrency models.
- JavaScript (Node 22): High-speed V8 JavaScript execution with modern ECMAScript features.
- Kotlin 2.1: Modern concise JVM language with fast I/O reader boilerplates.
- C# (.NET 8): Enterprise-grade C# with modern LINQ and strongly-typed execution.
Note
In addition to these 11 built-in execution standards, CodeSync Pro's automated GitHub sync engine supports all programming languages (35+ file extensions including Ruby, Swift, PHP, Haskell, Scala, Dart, Perl, Pascal, Bash, and more).
Experience the exact editing feel of desktop Visual Studio Code inside your browser:
- Authentic Token Highlighting: Yellow functions (
main()), light blue variables (cin,cout), teal types (int,ios_base), terracotta strings, and purple preprocessor directives (#include). - Code Folding & Structure: Interactive folding markers for functions, classes, and loops.
- Telemetry Status Bar: Displays cursor position (
Ln 11, Col 1) and text encoding (UTF-8).
Extracted problem statements are rendered with clean modern typography:
- Structured Title & Badges: Problem header displaying title and difficulty pill (
Difficulty: Easyin emerald,Mediumin amber,Hardin ruby). - Formatted Description: Formatted Markdown paragraphs with inline code highlights and mathematical expressions.
- Interactive Example Cards: Distinct input, output, and explanation cards styled with crisp monospaced code blocks.
When launched independently without an active problem tab:
- No Problem Active State: Clear guidance explaining how to link active judge tabs.
- Quick Jump Buttons: One-click launcher buttons to open problem sets for Codeforces, AtCoder, LeetCode, and Toph in new tabs.
- Auto-Sync Listener: Automatically detects problem tab navigation and prompts for instant statement extraction.
Comprehensive local testing engine inspired by Competitive Programming Helper (CPH):
- TESTCASE ACCEPTED ๐ Banner: Radiant green banner confirming that code output matches expected results exactly.
- Individual Test Cards: Expandable testcase cards with Input, Expected Output, and Actual Output textareas.
- Independent Controls: Individual
โถ Runandโ Removebuttons per testcase, plus global+ Add TestcaseandClear Verdicts.
The extension popup provides an instant command center for inspecting sync health, practice streaks, and submission trends.
One-click access to full-page workstation tools:
- โก IDE: Launches the full-screen Monaco CP Workstation (
ide.html) in a new browser tab. - ๐ CONTESTS: Opens the unified Contest Hub and Codeforces Upsolve Radar (
contests.html).
Track your true momentum with verified accuracy:
- Platform Filter Pills: Switch between
ALL,๐ CF,๐ฉท AC,๐ LC, and๐ TPto filter stats dynamically. - Honest Streak Tracker: Seven-day visual momentum row. Green checkmarks (
โ) indicate days with accepted solutions, while missed days honestly display red marks (โ). - Platform Solves Donut: High-contrast visual breakdown showing cumulative solved problem counts across Codeforces (235), AtCoder (21), LeetCode (22), and Toph (30), summing to 308 total solves.
Deep historical analytics at a glance:
- Dual-Series Line Chart: Tracks Accepted solutions (green line) versus Failed attempts (red line) over the preceding 30 days.
- Clamped Tooltips: Hovering over any data point reveals the exact submission breakdown without clipping outside the popup boundaries.
- Key Metrics Row: Displays live counts for Solved (308), Attempts (989), Current Streak (3), Solves Today (1), and overall AC Rate (31%).
Automated detection and synchronization of un-archived submissions:
- ๐ Scan Unsynced: Automatically queries Codeforces, AtCoder, LeetCode, and Toph APIs to identify solutions not yet synced to GitHub.
- Platform Status Rows: Real-time sync health for all 4 supported judges.
- โก Sync Unsynced Solutions: One-click bulk sync that fetches source code and generates structured GitHub repository commits.
Never miss an upcoming contest and turn past contest failures into rapid learning opportunities.
Unified contest calendar tracking rounds worldwide:
- Platform Filter Pills: Filter instantly across
All Sites,Codeforces,AtCoder,LeetCode,Toph,CodeChef, andHackerRank(displaying 31+ live contests). - Search Bar: Real-time filtering by contest title, division, or keyword.
- Contest Cards: Display contest name, date & time, duration, and live countdown badges (
In 2 hours,In 2 days,In 3 days). - 1-Click Actions: Register directly on the judge platform (
Register / View โ) or add event directly to Google Calendar (๐).
Intelligent upsolving engine tailored for competitive growth:
- Automated Submission Scraping: Scans your official Codeforces contest history to extract problems you attempted but failed during the round.
- Detailed Metadata: Displays problem tags, contest identifiers (e.g.
158B: Taxi,1182A: Filling Shapes), star ratings (โ 800,โ 1100), and failure verdicts (Wrong Answer,Time Limit Exceeded). - โก Upsolve in CodeSync IDE: One click opens the Monaco IDE, automatically loads the problem statement and testcases, and prepares your workspace for immediate upsolving.
- ๐ Rescan CF: Forces an on-demand API refresh of your contest submissions.
Customize every aspect of your coding and synchronization experience via the glassmorphic Settings page.
Seamless GitHub portfolio synchronization setup:
- Username & Repository Name: Link an existing repository or click โจ Create to automatically provision a new repository on your GitHub account.
- Privacy Toggle: Option to make created repositories private or public.
- Personal Access Token: Secure token input with
reposcope requirement and eye toggle for visibility. - ๐พ Save & Test Connection: Validates credentials against the GitHub REST API and confirms write access.
Personalize your IDE workstation:
- Default Editor Theme: Choose from VS Code Dark+, Dracula, One Dark Pro, GitHub Dark, Monokai, and Catppuccin Mocha.
- Default Language: Set your default language preset from the 11 built-in compiler standards (C++23 (Latest GCC 14.1), C++20 (GCC 14.1), C++17 (GCC 11.1), Python 3.13 (Latest), Python 3.12, Java 21 / 17 (OpenJDK), Rust 1.85 (Latest), Go 1.23 (Latest), JavaScript (Node 22), Kotlin 2.1, C# (.NET 8)).
- Editor Font Size Slider: Granular font sizing from 12px to 24px with live updating.
- Vim Mode Toggle: Enable authentic modal Vim keybindings inside the Monaco editor.
- Play Sound on Sync: Audio chimes for sync successes and verdict notifications.
- Language Filter: Optionally restrict automated sync to specific file extensions (e.g.
cpp, py).
Built-in competitive programming boilerplate system:
- Mini Template for CP (C++): Fast I/O with
cin.tie(NULL)and minimalsolve()loop. - Standard CP Template (C++): Full-featured template with macros, type aliases, and fast I/O.
- Standard Python 3 Template: Recursion depth limit adjustment and fast sys.stdin reader.
- Standard Java Template:
BufferedReaderandStringTokenizerfor high-throughput I/O. - + Add Custom Template: Create and persist custom boilerplate code for any language.
Configure sandbox compiler execution:
- Execution API: Choose between Paiza.IO (Fast, Free & Accurate โ Recommended) and custom compiler endpoints.
- API Key: Optional key for dedicated sandbox quotas.
- Default Timeout Slider: Adjust execution timeout limits between 1 and 10 seconds.
Tailor your contest schedule notifications:
- Platforms to Show: Checkboxes to include or exclude rounds from Codeforces, AtCoder, LeetCode, Toph, CodeChef, HackerRank, and TopCoder.
- CLIST API Key: Optional key for extended contest metadata.
- Notify Before Contest: Desktop notification reminders (5, 10, 15, or 30 minutes before round kickoff).
CodeSync Pro automatically generates a clean, structured competitive programming portfolio on your GitHub account.
Top-level folders are cleanly partitioned by competitive programming platform:
- AtCoder/ โ Solutions synced from AtCoder contests and practice tasks.
- Codeforces/ โ Subdivided hierarchically by contest division.
- LeetCode/ โ Problems categorized by difficulty and topic.
- Toph/ โ Organized by problem category and practice division.
- README.md โ Auto-generated portfolio overview with badges and platform statistics.
Within the Codeforces directory, solutions are structured according to round divisions:
- Div. 1/, Div. 2/, Div. 3/, Div. 4/, and Others/ (Gym, Global Rounds).
- Informative commit messages documenting problem code, rating, verdict, runtime, and memory:
[1956A - Nene's Game | 800] Accepted | Time: 31ms | Memory: 100KB
Each problem solution directory contains:
- Source Code File: Clean source file named after the problem (e.g.
1774A - Add Plus Minus Sign.cpp). - README.md: Formatted documentation generated at sync time containing the complete problem statement, constraints, time/memory limits, sample tests, and direct link back to the problem on the judge.
This directory exhaustively details every button, dropdown, and control built into CodeSync Pro across all panels and screens.
| Button / Control | Visual Label / Icon | Location | Action & Technical Behavior |
|---|---|---|---|
| Compile Button | ๐จ Compile |
Topbar Right | Compiles current code against active compiler standard to check for syntax errors without running testcases. Error logs stream directly into Compiler Output tab. |
| Test (Run) Button | โถ Test (Run) |
Topbar Right | Compiles and executes code against all testcases in the right panel. Measures wall-clock runtime in milliseconds and memory usage. Shortcut: Ctrl+Enter or Cmd+Enter. |
| Submit Button | ๐ Submit |
Topbar Right | Submits the solution directly into the active judge tab's submission form. If direct form injection is unavailable, copies code to clipboard with a toast notification. |
| Theme Selector | VS Code Dark โพ |
Topbar Center | Dropdown offering 6 themes: VS Code Dark+, Dracula, One Dark Pro, GitHub Dark, Monokai, and Catppuccin Mocha. Propagates across tabs instantly. |
| Language Selector | C++23 (Latest GCC 14.1) โพ |
Topbar Center | Dropdown selecting active compiler standard: C++23 (Latest GCC 14.1), C++20 (GCC 14.1), C++17 (GCC 11.1), Python 3.13 (Latest), Python 3.12, Java 21 / 17 (OpenJDK), Rust 1.85 (Latest), Go 1.23 (Latest), JavaScript (Node 22), Kotlin 2.1, and C# (.NET 8). All 35+ languages supported for automated sync. |
| Format Button | โก Format |
Topbar Center | Formats code with 4-space indentation and operator padding while shielding ASCII art comments, block comments, and string literals from corruption. Shortcut: Alt+Shift+F. |
| Snippets Button | โก Snippets |
Topbar Center | Opens the Algorithmic Snippets drawer containing pre-built competitive programming templates (Fast I/O, Modular Arithmetic, DSU, Segment Tree, Sieve). |
| Audio Notification | ๐ (Bell Icon) |
Topbar Center | Toggles sound effects for Accepted verdicts and test completion. Stored in local settings. |
| Refresh Problem | ๐ |
Problem Badge | Re-detects and extracts problem statement, limits, and sample test cases from the active judge browser tab. |
| Close Problem | โ |
Topbar Badge & Header | Closes active problem, saves current code draft, and cleanly resets the IDE to Standalone Scratchpad Mode. Also available as a red button in the problem statement header. |
| + Add Testcase | + Add Testcase |
Testcase Panel | Appends a fresh custom testcase card with editable Input and Expected Output textareas for testing edge cases. |
| Clear Verdicts | Clear Verdicts |
Testcase Panel | Clears all execution verdict pills (AC, WA, TLE, RTE) and resets card borders back to idle state. |
| Run Single Test | โถ Run |
Each Test Card | Executes only the targeted testcase rather than the entire test suite, saving compilation and testing time. |
| Remove Test | โ Remove |
Each Test Card | Deletes the targeted testcase card from the workspace. |
| Compiler Output Tab | ๐ป Compiler Output |
Testcase Header | Switches panel view from testcases to the compiler terminal stream to inspect GCC/Clang warning and error lines. |
| Quick Jump Buttons | Codeforces, AtCoder, etc. |
Left Panel (Scratchpad) | One-click launcher buttons opening the problemset pages for Codeforces, AtCoder, LeetCode, and Toph. |
| Button / Control | Visual Label / Icon | Location | Action & Technical Behavior |
|---|---|---|---|
| Platform Filter Pills | All Sites, Codeforces, etc. |
Top Filter Bar | Filters contest cards in real time by platform without page refresh. Active filter is highlighted with a glowing border. |
| Search Contests Bar | ๐ Search contests... |
Top Right | Live search input filtering contests by title, division, or keyword (e.g., "Div. 2", "Beginner", "Biweekly"). |
| Register / View Button | Register / View โ |
Contest Card | Opens the official judge registration page in a new browser tab. |
| Google Calendar Button | ๐
(Calendar Icon) |
Contest Card | Generates and opens an authenticated Google Calendar event URL with contest title, start/end time, and registration URL pre-filled. |
| Download .ICS Button | ๐ฅ .ICS |
Contest Card | Downloads an iCalendar (.ics) file compatible with Apple Calendar, Outlook, and mobile calendar apps. |
| Refresh Schedule | ๐ Refresh |
Header Action | Forces an immediate network reload from the contest aggregator API. |
| Button / Control | Visual Label / Icon | Location | Action & Technical Behavior |
|---|---|---|---|
| Upsolve in IDE Button | โก Upsolve in CodeSync IDE |
Challenge Card | One-click bridge that launches the full Monaco IDE, scrapes the problem statement and testcases, and sets up your code editor for immediate solving. |
| Rescan CF Button | ๐ Rescan CF |
Radar Header | Forces an on-demand refresh of your Codeforces contest submission history to identify newly missed problems. |
| View on Judge Button | โ Judge |
Challenge Card | Opens the official problem page on Codeforces in a new tab. |
| Filter by Verdict | WA, TLE, RTE |
Radar Filter Bar | Toggles problem visibility based on whether the failure was Wrong Answer, Time Limit Exceeded, or Runtime Error. |
| Button / Control | Visual Label / Icon | Location | Action & Technical Behavior |
|---|---|---|---|
| IDE Workstation Launcher | โก IDE |
Popup Header | Opens the full-screen Monaco CP Workstation (ide.html) in a new browser tab. |
| Contests Launcher | ๐ CONTESTS |
Popup Header | Opens the full-screen Contest Hub and Upsolve Radar page (contests.html). |
| Platform Segment Filters | ALL, CF, AC, LC, TP |
Stats Card | Filters the stats overview and 30-day submission graph to the selected judge platform. |
| Scan Unsynced Button | ๐ Scan Unsynced |
Smart Sync Center | Queries platform APIs to detect un-archived solutions not present in GitHub. |
| Sync Unsynced Solutions | โก Sync Unsynced Solutions |
Smart Sync Center | Initiates one-click batch upload of detected solutions to your configured GitHub repository. |
| Settings Gear | โ๏ธ |
Header Right | Opens the glassmorphic Settings & Preferences page (options.html). |
| Sound Toggle | ๐ / ๐ |
Header Right | Toggles audio chimes on and off directly from the popup. |
| Button / Control | Visual Label / Icon | Location | Action & Technical Behavior |
|---|---|---|---|
| Save & Test Connection | ๐พ Save & Test Connection |
GitHub Card | Validates Personal Access Token and verifies repository write permissions. |
| Create Repository | โจ Create |
GitHub Card | Automatically provisions a new public or private repository via the GitHub REST API. |
| Save Preferences | ๐พ Save Preferences |
Preferences Card | Persists editor theme, font size, Vim mode, and audio preferences to chrome.storage.local. |
| Reset Templates | โบ Reset to Defaults |
Templates Card | Restores original factory competitive programming starter templates. |
| Add Custom Template | + Add Custom Template |
Templates Card | Opens a modal to define custom language boilerplate code and compilation flags. |
The submission activity visualizer renders a dual-series SVG line chart over a rolling 30-day temporal window:
Submissions
โฒ
20 โค โญโโโโฎ โโโ Green: Accepted Solutions (AC)
15 โค โ โ โญโฎ โโโ Red: Failed Attempts (WA/TLE/RTE)
10 โค โญโโฎ โ โ โโ โญโโฎ
5 โค โโโฏ โฐโโโโฏ โฐโโโฏโฐโโโโฏ โฐโโโ
0 โผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโบ Days (30-day rolling window)
-
Dual Metrics: Green polyline represents Accepted solutions (
AC); Red polyline tracks failed attempts (WA,TLE,RTE,MLE). -
Normalized Geometry: Y-axis dynamically computes
maxY = max(all_counts, 5)and maps coordinates via:$$y = ext{height} - \left(rac{ ext{count}}{ ext{maxY}} imes ( ext{height} - 24) ight) - 12$$ -
Clamped Tooltip Positioning: Prevents tooltip clipping at the viewport edges by computing
Math.max(10, Math.min(viewportWidth - tooltipWidth - 10, targetLeft)).
Unlike standard trackers that falsely award streaks for any page visit or failed run, CodeSync Pro enforces an Honest Streak guarantee:
- Consecutive Momentum: The streak counter increments only through continuous consecutive calendar days containing at least one verified Accepted solution.
- Visual Accuracy: Red indicator (
โ) honors the effort of practice while truthfully reflecting that no problem was solved on that day.
The difficulty donut visualizes the cumulative problem distribution using SVG stroke-dasharray geometry:
-
Perimeter Calculation: For a radius
$r = 65$ , circumference$C = 2 \pi r ๏ฟฝpprox 408.407$ . -
Arc Length: For each platform
$i$ with fraction$f_i$ , the dash array is$[f_i \cdot C, C]$ with dash offset$-\sum_{j < i} (f_j \cdot C)$ . - Dynamic Segment Hover: Hovering over individual donut arcs displays exact problem counts and percentage contribution.
CodeSync Pro includes an in-browser C++ formatter built specifically for competitive programmers. Standard formatters often corrupt ASCII problem headers or string literals. CodeSync Pro implements a four-phase protection pipeline:
- Phase 1 (Literal & Comment Shielding): Pre-scans source code and extracts block comments (
/* ... */), line comments (// ...), and string literals ("..."), replacing them with cryptographic placeholders (__TOKEN_SHIELD_N__). - Phase 2 (AST Indentation & Scope Tracking): Evaluates brace depth (
{,}), namespace declarations, class access specifiers, and control-flow statements. - Phase 3 (Operator & Stream Spacing): Normalizes binary operators (
+,-,*,/,=,==,<=) and C++ stream operators (<<,>>). - Phase 4 (Deshielding & Restoration): Restores shielded comments and literals in their exact original byte structure.
Inspired by the Competitive Programming Helper (CPH) desktop workflow, the workstation features an integrated local test runner:
- Independent Execution: Tests execute in sandboxed worker environments with precision wall-clock runtime measurement.
- Side-by-Side Diff: When a testcase fails (
WA), CodeSync Pro highlights mismatched tokens character-by-character. - Custom Edge Cases: Add, edit, clone, or delete testcases with instantaneous execution.
Every time an Accepted verdict is achieved, CodeSync Pro archives the solution directly to GitHub via the REST API:
your-repo/
โโโ AtCoder/
โ โโโ Beginner/
โ โโโ A - Cut/
โ โโโ A - Cut.cpp
โ โโโ README.md
โโโ Codeforces/
โ โโโ Div. 1/
โ โโโ Div. 2/
โ โ โโโ 1956A - Nene's Game/
โ โ โโโ 1956A - Nene's Game.cpp
โ โ โโโ README.md
โ โโโ Div. 3/
โ โโโ Div. 4/
โ โโโ Others/
โโโ CSES/
โ โโโ 1068 - Weird Algorithm/
โ โ โโโ Weird_Algorithm.cpp
โ โ โโโ README.md
โ โโโ 1633 - Dice Combinations/
โ โโโ Dice_Combinations.cpp
โ โโโ README.md
โโโ LeetCode/
โ โโโ 0121 - Best Time to Buy and Sell Stock/
โ โโโ 0121 - Best Time to Buy and Sell Stock.cpp
โ โโโ README.md
โโโ Toph/
โโโ Practice/
โโโ Byang's Additions/
โโโ Byang's Additions.cpp
โโโ README.md
- Commit Metadata: Every commit includes problem title, contest ID, rating, runtime, memory, and direct problem link.
- Self-Documenting READMEs: Auto-generates clean Markdown problem descriptions inside each problem folder.
- Universal Multi-Language Auto-Sync: Automatically detects the submission language and maps appropriate source file extensions (
.cpp,.py,.java,.rs,.go,.js,.ts,.kt,.cs,.rb,.swift,.c,.php,.hs,.scala,.dart, and 35+ more).
- Codeforces: 1-Click direct submission from CodeSync IDE! Injects submission code into the contest/problemset submit form, selects the G++23 compiler, and executes the submit with zero delay.
- AtCoder: 1-Click direct submission from CodeSync IDE! Detects language selection and populates the task submission form.
- CSES Problem Set: 1-Click direct submission from CodeSync IDE! Automatically packages source code via browser
DataTransferfile upload, selects your compiler (e.g. C++20, Python 3, Java), and submits without bot-blocks or captcha puzzles. - LeetCode: Monitors Accepted verdicts and syncs problem questions and accepted solutions cleanly.
- Toph: Automatically captures Accepted submissions and archives them directly to GitHub with problem statements and signatures.
CodeSync Pro is built on the standard Manifest V3 specification and fully tested on:
| Browser | Minimum Version | Tested & Verified Status |
|---|---|---|
| Google Chrome | Chrome 110+ | Fully Compatible (Service Worker & Offscreen DOM) |
| Microsoft Edge | Edge 110+ | Fully Compatible (Chromium Engine Native) |
| Brave Browser | Brave 1.48+ | Fully Compatible |
| Opera / Vivaldi | Latest Chromium | Fully Compatible |
git clone https://github.com/imposter-bho0/codesync-pro.git- Open your browser and navigate to:
- Chrome:
chrome://extensions - Edge:
edge://extensions
- Chrome:
- Enable Developer mode toggle in the top-right corner.
- Click Load unpacked in the top-left corner.
- Select the
CodeSync Pro Extensionroot folder. - CodeSync Pro is now loaded! Pin the extension icon to your toolbar.
- Click the CodeSync Pro toolbar icon and open Settings (โ๏ธ).
- Under GitHub Repository:
- Enter your GitHub Username.
- Enter your target repository name (or click โจ Create to create one automatically).
- Generate a GitHub Personal Access Token (classic) with the
reposcope enabled at github.com/settings/tokens. - Paste the token into the token field and click ๐พ Save & Test Connection.
- Under Preferences, select your preferred editor theme and default compiler standard.
| Shortcut | Context | Action |
|---|---|---|
Ctrl+Enter / Cmd+Enter |
Monaco IDE | Run All Testcases |
Alt+Shift+F / Option+Shift+F |
Monaco IDE | Format Code (Protected) |
Ctrl+S / Cmd+S |
Monaco IDE | Save Current Solution Draft |
Ctrl+F / Cmd+F |
Monaco IDE | Find / Replace in Editor |
Esc |
Monaco IDE | Close active modal / snippets drawer |
- Local-First Storage: All preferences, tokens, and solution drafts are encrypted and stored in your browser's local
chrome.storage.local. - Zero External Telemetry: CodeSync Pro communicates only with official judge APIs, GitHub REST API, and selected sandbox compilers.
- Minimal Permissions: Uses strictly declared MV3 permissions (
storage,alarms,scripting,offscreen).
| Issue | Root Cause | Solution |
|---|---|---|
| GitHub Sync Fails (401/403) | Invalid or expired Personal Access Token | Generate a fresh classic token with the repo scope at GitHub Settings. |
| IDE says "No Problem Active" | Tab not detected on a supported problem URL | Navigate to a valid problem on CF, AC, CSES, LC, or Toph, then click the ๐ Refresh icon. |
| Testcase Execution Timeout | Infinite loop or slow server response | Verify base cases in code; increase timeout slider in Settings to 5-10s. |
| Streak shows Red โ | Only failed attempts recorded today | Solve at least one problem with an Accepted verdict to maintain your streak. |
Does CodeSync Pro support all programming languages?
Yes, 100%! CodeSync Pro provides universal support for all programming languages. Whether you code in C++, Python, Java, Rust, Go, JavaScript, TypeScript, Kotlin, C#, Ruby, Swift, C, PHP, Haskell, Scala, Dart, Perl, Pascal, Bash, or any other language across Codeforces, AtCoder, CSES, LeetCode, and Toph, CodeSync Pro executes, formats, and automatically archives your code to your GitHub repository with appropriate language-specific file extensions (.cpp, .py, .java, .rs, .go, .js, .ts, .kt, .cs, .rb, .swift, etc.) and complete documentation.
Will CodeSync Pro overwrite my existing repository files?
No. CodeSync Pro commits solutions with descriptive commit messages and organizes files by division and problem slug, preserving revision history.Can I use CodeSync Pro offline?
The Monaco IDE and local testcase runner operate completely within your browser. Submissions and GitHub sync require an active internet connection.Contributions, feature suggestions, and pull requests are warmly welcome!
Distributed under the MIT License. See LICENSE for more information.
Built with โก by the CodeSync Pro Community






















