Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

searleser97's blog

By searleser97, 14 months ago, In English

cpbooster

Hey Codeforces,

I wanted to share with you my latest project: cpbooster which stands for "Competitive Programming Booster". It is a cross-platform CLI tool designed to boost competitive programmer's speed during contests by automating various routine tasks like testing, debugging, cloning test cases, etc. The console command suits any coding environment (i.e. VSCode, Jetbrains IDEs, Vim, NeoVim, Emacs, Geany, Sublime Text, ...) and it’s very easy to use. Vim users can install cpbooster.vim plugin to boost their speed even more. I hope you like it!!.

UPDATE V2: Visit the official website for installation and setup instructions.

https://searleser97.github.io/cpbooster/

Don't forget to give it a star in github if you like it :D https://github.com/searleser97/cpbooster

Using NeoVim:

Features

  1. cpbooster comes with a short alias command called cpb to avoid writing the long command each time
  2. Automatically clone sample test cases files with corresponding source code files with template loaded into the desired directory
  3. Test your code against sample test cases quickly. Supported Results:
    • AC (Accepted)
    • WA (Wrong Answer) Shows differences between accepted output and your output beautifully
    • TLE (Time Limit Exceeded)
    • RTE (Runtime Error)
    • CE (Compilation Error)
  4. Run code with your own debugging flags easily

  5. Submit your code from the terminal really quickly. (Several Online Judges can be supported)
  6. open your preferred editor in the contest directory immediately after cloning it. See Editors
  7. Create one or multiple source files with the corresponding template loaded

  8. Vim plugin cpbooster.vim boosts your speed even more

  9. Flat File Structure. See Why Flat File Structure

 
 
 
 
  • Vote: I like it
  • +60
  • Vote: I do not like it

»
14 months ago, # |
  Vote: I like it 0 Vote: I do not like it

+1000 :v

»
14 months ago, # |
  Vote: I like it 0 Vote: I do not like it

It now supports python

»
14 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Perfect stuff!...

»
14 months ago, # |
  Vote: I like it 0 Vote: I do not like it

:Create Command added

»
14 months ago, # |
  Vote: I like it 0 Vote: I do not like it

:Rtest & :Rdebug vim commands added.

»
14 months ago, # |
  Vote: I like it 0 Vote: I do not like it

TLE veredict added + total score summary + bug fixes

»
10 months ago, # |
Rev. 7   Vote: I like it 0 Vote: I do not like it

Mac terminal is now fully supported. Run npm i -g cpbooster to update

»
8 months ago, # |
  Vote: I like it 0 Vote: I do not like it

VIM plugin now adds a new window to visualize the output. In this way we can see both the output and the code at the same time.

»
8 months ago, # |
  Vote: I like it 0 Vote: I do not like it

You can now create multiple files with create command if a sequence is given as file name.

»
7 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Supported terminals can close the current terminal, leaving just one terminal open instead of two after cloning a contest

»
7 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Amazing Work, Buddy! Just Curious, Which OS you are using (in Tutorial GIF)

»
5 months ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

Checkout the new website and give it a star in github if you like it :D https://searleser97.github.io/cpbooster/

»
2 months ago, # |
  Vote: I like it 0 Vote: I do not like it

cpbooster can now use your default browser to open the status page after submitting a problem

take a look at the new option here: https://searleser97.github.io/cpbooster/docs/configuration#useuserdefaultbrowser-boolean

»
2 months ago, # |
  Vote: I like it 0 Vote: I do not like it

adding test cases from vim plugin is easier now since we can use buffers to edit .in and .ans files instead of terminal stdin

»
6 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

How to use it inside or with VSCode ? Can you guide me in an elaborative way? through node.js command prompt it is working fine but inside VS code no!

»
6 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Thanks for such a helpful blog!

»
5 weeks ago, # |
  Vote: I like it +1 Vote: I do not like it

Support for a great variety of compiled and interpreted languages has been added :D like: go, rust, javascript, ruby, ...

»
5 weeks ago, # |
  Vote: I like it +1 Vote: I do not like it

Right now when I try to do "cpb clone", A_Name.cpp file gets created instead of A.Name.cpp. How can I change this? Also, How can I change the language for submission? I want to change it from C++17 to C++17(64).

»
19 hours ago, # |
  Vote: I like it +3 Vote: I do not like it

You can now see the test case input while testing and clone test cases into you current directory instead of the "contests directory", both are opt-in features in v2.6.0