MCPcopy Index your code
hub / github.com/LeoRiether/CodeforcesPP

github.com/LeoRiether/CodeforcesPP @v2.4.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.4.0 ↗ · + Follow
131 symbols 252 edges 36 files 8 documented · 6%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Codeforces++

Codeforces extension pack DeepScan grade CodeFactor GitHub commit activity GitHub

Relevant Links

Features

  • "Show Tags" button
  • Navbar dropdowns for easier navigation
  • "Google It" button on mashups/gym problems
  • Tutorial pop-up button
  • Custom styling
  • Auto-update standings page
  • Keyboard shortcuts (see below)
  • Choose the default between common/friends-only standings
  • Hide "on test X" in verdicts
  • Start gym virtual contest from the problems page
  • The Finder, to search for any page in Codeforces
  • Add many problems at once to a mashup
  • Read the tutorials one paragraph at a time with tutorial spoilers
  • Twin standings: show both div1 and div2 standings in the same page
  • A dark theme

Shortcuts

Fully configurable, here are the default values: + Ctrl+S: Open file picker to submit + Ctrl+Alt+C: Scroll to page content + Ctrl+Space: Finder + Ctrl+I: Dark mode + Ctrl+Shift+H: Toggle "on test X" in verdicts

Installing

Codeforces++ is available both as a browser extension and as a userscript, you can install whichever best fits your needs.

Extension

This version offers the most functionality and can be installed via Chrome Web Store or Firefox Add-ons

Some features the extension has, but the userscript can't provide: + All tabs sync settings¹ (turn on dark theme in one tab, all the other ones follow) + Settings sync across multiple devices

¹ This is particularly useful if you like to hide the test number in WA messages. In the userscript, you might hide them in one tab, but the others won't sync, thus showing"WA on test 107" mistakenly (unless you toggle all tabs manually)

Userscript

If you don't like having dozens of active extensions in your browser, and would rather download a userscript manager to have dozens of active userscripts instead, this version's for you. To install it, you'll need a userscript manager. We recommend like Violentmonkey, as it is open-source and works really well, but Tampermonkey and Greasemonkey should be fine too. Then, download the latest release of script.user.js, a pop-up should appear prompting to install the userscript. If this doesn't happen, add the .js manually and you're set.

Development

Run yarn build to build in production mode with Rollup or yarn start to build in watch mode. We're currently using node v12.13.0 and yarn v1.17.3.

Contributing

Think there's something missing from Codeforces++ or some feature could be better? I think so too, please send some PRs or create an issue

Tests

Tests? Where we're going, we don't need tests.

Core symbols most depended-on inside this repo

fn
called by 13
test/index.js
prop
called by 9
src/env/config_ui.js
once
called by 7
src/helpers/Functional.js
safe
called by 6
src/helpers/Functional.js
plugins
called by 5
rollup.config.js
listen
called by 5
test/bundle.js
scProp
called by 5
src/env/config_ui.js
_interopDefault
called by 4
test/bundle.js

Shape

Function 131

Languages

TypeScript100%

Modules by API surface

src/helpers/Functional.js17 symbols
test/bundle.js12 symbols
src/env/config.js10 symbols
src/ext/show_tutorial.js9 symbols
src/helpers/dom.js7 symbols
src/ext/finder.js7 symbols
src/ext/style.js5 symbols
src/ext/sidebar.js5 symbols
src/ext/redirector.js5 symbols
rollup.config.js5 symbols
src/popup.js4 symbols
src/min-browser-polyfill.js4 symbols

For agents

$ claude mcp add CodeforcesPP \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page