A tailored code editor for competitive programmers
And lots more...
You can find the respective executables/binaries in the release page. Check the
Assets for the required files. Installation guidelines for different operating systems is described below.
If you are using some variant of Linux you have two options:
snap, if it supports. First download the
.snappackage from the above mentioned link. Run the command below with
package-nameas the name of downloaded file. You should then have the editor in your applications.
$ sudo snap install 'package-name' --dangerous
AppImage. Download the
.AppImagepackage and make it executable by right-clicking >
permissions> check the
Allow executing file as programand then you can run by
DBLCLICKit. You can do the same using command line as follows:
$ chmod +x 'appimage-path' $ ./appimage-path
If you are on windows you can download the
.exe setup from the link above and just run it. You may be prompted by Windows Smart Screen saying that its harmful. If so, click on
More info and a button
Run Anyway will appear and just proceed.
If you are on MAC then download the
.dmg or the
.app package from the link above. Extract the
dmg package to
/Applications or run the
If you wish to build the project from source then check the contributing guide for initial setup and just run the
electron:build npm script. You may need
windows-build-tools if you are on windows.
The editor was designed with competitive programmers in mind. It introduces some tools and UI changes to usual editor so that it makes the whole experience simple and less annoying. Most of the annoying tasks are handled for you. The editor was created with the following workflow in mind.
Make sure you have the required language compiler/interpreter in your
Make sure the file you open or create has proper extension of supported language.
OPENfile with the proper file extensions. Currently supports
Custom IO mode(when you intend to run single task) or switch to
Testcase mode(if you have multiple testcases to run).
modeyou can just click on the
RUNbutton, which compiles and runs your code against all the testcases if you are in
testcase modeand the
chipswill turn to some color depending on the execution status. You can click on the
chipsto view the
error(if any). Alternatively, the
Custom IOarea will get focused and you can type in the inputs and get the output stream.
RERUNbutton that runs the last compiled code.
.outfiles from the selected directory.
Contest-name |---Problem-name-1 |---codefile.extension |---testfile1.in |---testfile1.out
Any suggestion to above workflow are encouraged.
If you wish to contribute to this repository then follow the steps below to build the project.
Make sure you have
npm installed. If you don't, follow the link.
Also if you are on windows install some linux terminal client like
git-bash. The below snippets should work fine
$ git clone https://github.com/bitbeast18/sprint.git
$ cd sprint $ npm install
electronto build native node packages.
$ npm install electron-rebuild $ $(npm bin)/electron-rebuild
$ npm run electron:serve
Every time you work on the project make sure to
pull the updates from
electronfails to install then follow the steps below.
$ cd sprint $ ELECTRON_MIRROR="https://cdn.npm.taobao.org/dist/electron/" npm install [email protected] --verbose
pull-requests are welcomed. If you find any bugs or glitches then please take some time to file an issue. Hope you enjoy the editor:)