CF Submitter is a VS Code extension that allows you to fetch Codeforces real time contest problems, solve them inside the editor, and submit solutions directly, while also handling Cloudflare security checks with a dummy browser.
Features
Fetch all questions from a given contest with one command.
View the entire list of questions in the sidebar.
Click on a problem ID to open it and start solving side by side.
Submit solutions directly from VS Code after selecting a language.
Built-in dummy browser to handle Cloudflare captcha/security checks.
Option to open any question in your browser directly from the submission panel.
🚀 What’s New (v0.3.2)
Connect Chrome extension to fetch problems on vscode directly from codeforces
Click Load unpacked and select the downloaded extension folder.
Open VS Code, open any question on codeforces, click the extension icon in Chrome — and you’re ready to go! 🎉
Example Workflow (v1)
Login to Codeforces in your regular browser.
Copy your cookies (XUser and XUserSha1) from Right Click → Inspect → Application → Cookies.
Update these in VS Code under User Details → XUser → XUserSha1 (one-time setup).
Refresh Cloudflare:
Click Refresh Browser to open the dummy browser (don't sign in).
Solve the captcha if needed.
Close the dummy browser (important).
Set Contest ID in contest detail (see the contest url, not the contest name, eg. "https://codeforces.com/contest/1793/problem/C", here contest id is 1793).
Run FetchQuestions.
A list of problems will appear. Click any problem ID and start solving in VS Code.
Submit a solution:
Select your programming language.
Keep your solution editor in focus.
Click Submit.
⚠️ If you face errors / Cloudflare block:
Close the existing dummy browser.
Click Refresh Browser again, solve the captcha if needed. then close it (important).
To view a problem in your browser, click Show in the submission panel.
Whether you are fetching or submitting problems, a Chrome browser instance will always open so you can see the process.
👉 If the browser does not open:
Close all other running instances of Chrome and try again.
If the issue still persists, please raise an issue and contact us via email with a screenshot.
Requirements
A valid Codeforces account.
Google Chrome installed for the dummy browser.
⚠️ Known Issues
Cloudflare Block:
Occasionally, Cloudflare may block submissions. Fix: Close the existing dummy browser(where automated submission/fetching were going on) → click Refresh Browser → solve the captcha if needed. → then close it again (important!).
Login Token Expiry:
If your session expires, re-copy your XUser and XUserSha1 cookies from Codeforces and update them in VS Code.
📬 Support & Contact
📧 Email: sayanroy2802@gmail.com
Whatsapp: 9775939480
Release Notes
0.0.1
Initial release of CF Submitter.
Added authentication via browser cookies.
Added FetchQuestions command.
Added problem view and submission from editor.
Implemented dummy browser for Cloudflare handling.