Live solution sync for competitive programmers

Solve it.
Keep it.

SolveBase is a free Chrome extension that automatically saves newly accepted Codeforces, LeetCode, CSES, CodeChef, and GeeksforGeeks solutions to a public GitHub repository. Solutions are organized by platform, and your README updates automatically.

Free to installNo personal tokensManifest V3
solvebase / live-sync synced
SB
OverviewPlatformsActivitySettings

Today

Your archive is moving.

+12 solves
CFQueue Sortcodeforces/1600committed
LCBinary Searchleetcode/binary-searchcommitted
Accepted detectedjust now
Direct to GitHubno middleman
github.com / TushalLohar / CP-SolutionsPublic

CP-Solutions

☆ 24

Competitive programming solutions, organized automatically by SolveBase.

CodeIssues 0Pull requests 0
codeforces1899E - Queue Sort.cpp2 min ago
↳1600/1899E - Queue Sort.cpp2 min ago
leetcode704 - Binary Search.cppyesterday
↳binary-search/704 - Binary Search.cppyesterday
geeksforgeeksKadane's Algorithm.cpp3 days ago
↳Medium/Kadane's Algorithm.cpp3 days ago
README.md live
126Total solved42Codeforces52LeetCode
Built for the daily grind
CodeforcesLeetCodeCSESCodeChefGeeksforGeeks
One workflow, five judges

Your code, in the
right place every time.

Choose a platform to see exactly how SolveBase names folders, formats files, and updates your README.

codeforces/1600/1899E - Queue Sort.cpp ready
#include <bits/stdc++.h>
using namespace std;

void solve() {
    int n; cin >> n;
    vector<int> a(n);
    for (int &x : a) cin >> x;
    int mn = *min_element(a.begin(), a.end());
    int idx = min_element(a.begin(), a.end()) - a.begin();
    if (!is_sorted(a.begin() + idx, a.end())) {
        cout << -1 << "\n";
        return;
    }
    cout << idx << "\n";
}

int main() {
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    int t; cin >> t;
    while (t--) solve();
}

README.md

| Difficulty | Solved |
| --- | --- |
| [800](./codeforces/800) | 42 |
| [1200](./codeforces/1200) | 28 |
| [1600](./codeforces/1600) | 15 |
Updated after every accepted solve
Set it once

From verdict to
portfolio proof.

01

Connect GitHub

Choose a public repository and your platforms, then authorize SolveBase with GitHub.

02

Keep solving

SolveBase watches only for an accepted submission on the page you are using.

03

Build your archive

The source, folder and README stats arrive in GitHub automatically.

Read how SolveBase saves solutions to GitHub for supported workflows, source-code handling, and the references behind these details.

Designed for focus

The invisible
teammate.

01

Accepted Solutions Only

Detects new submissions on supported pages and saves them after a final accepted verdict.

02

Multi-Platform Organization

Codeforces by difficulty rating, LeetCode by algorithm topic, CSES by problem section, CodeChef and GFG by rating and difficulty.

03

Self-Updating README

Your repository summary tables and total counts update automatically after every single commit cycle.

04

Private By Design

Vercel handles only short-lived encrypted GitHub authorization data. Source code and repository syncs go directly from your extension to GitHub.

Ready when you are

Make your next
solve count twice.

Install SolveBase once. Keep your attention on the problem and let your GitHub profile tell the story.

Questions, answered

No mystery
behind the sync.

?What does SolveBase do?+

SolveBase is a free Chrome extension that detects newly accepted coding submissions and saves the source code to a public GitHub repository using platform-specific folders. It also updates the repository README with solution counts.

?Which coding platforms does SolveBase support?+

SolveBase supports Codeforces, standard LeetCode problem pages, CSES, CodeChef, and GeeksforGeeks. LeetCode contest and Explore editors are not supported in version 1.0.0.

?Can I save Codeforces solutions to GitHub automatically?+

Yes. SolveBase watches Codeforces verdicts, waits for the final accepted result, and commits the solution to a GitHub rating folder.

?Can I save LeetCode solutions to GitHub automatically?+

Yes. On standard LeetCode problem pages, SolveBase detects an accepted submission and saves the solution under an organized LeetCode topic folder in GitHub.

?Does SolveBase support CodeChef, CSES, and GeeksforGeeks?+

Yes. SolveBase supports accepted submissions from CodeChef, CSES, and GeeksforGeeks practice pages alongside Codeforces and standard LeetCode problems.

?Does SolveBase upload source code to its own server?+

No. The extension sends repository updates directly to GitHub. The SolveBase OAuth service handles only the short-lived GitHub authorization exchange.

?Can SolveBase use an existing GitHub repository?+

Yes. SolveBase can connect a compatible existing public solutions repository, index recognized solution files, and preserve content outside its managed README summary block. Private repositories and unrelated non-empty repositories are not supported.

?Does SolveBase import every old solved problem automatically?+

No. SolveBase focuses on live accepted submissions. Existing compatible files are indexed when you connect a repository, but old platform submissions are not scraped in bulk.

?How do I save coding solutions to GitHub automatically?+

Install SolveBase from the Chrome Web Store, choose a public repository name and your coding platforms, then connect GitHub. Stay signed in to a supported coding platform and submit a solution with the extension active. SolveBase saves newly accepted solutions directly to GitHub.

?Is SolveBase free and which browsers support it?+

SolveBase is free to install and works in Chromium-based browsers such as Chrome, Edge, Brave, and Arc. The extension uses Manifest V3 and does not require a SolveBase account.

?Does SolveBase work for interview preparation?+

Yes. It creates a searchable GitHub archive of accepted practice problems, making it easier to review patterns, show consistent practice, and keep a public coding portfolio up to date.

Find platform-specific answers, GitHub permissions, and troubleshooting in the full SolveBase FAQ.