Welcome to this open-source project vjudge-submitter!
vjudge-submitter
is short for Virtual Judge Submitter.
Virtual Judge is something like the Polymerization of Online Judge.
The Virtual Judge will contain several Online Judge's problems and when you submit code to one problem, the backend of Virtual Judge will submit your code to the origin Online Judge and fetch the submission record status and return.
This project is mainly for the people who is going to develop him/her self Virtual Judge.
It gives you the unified API functions of each different Online Judges.
The APIs including login
, submit
, and fetch result
. If you have some better ideas, maybe it will contain an API based on your idea!
You contribute to vjudge-submitter
and of cause vjudge-submitter
will help you to easy build a Virtual Judge core!
It's a virtual judge spider. Coded by NODE.JS
either. It's to fetch the content of each problem in different Online Judge Systems.
You can view and fork the project at https://github.com/XadillaX/vjudge-description-spider.
You should make a new directory:
$ mkdir vjproject
$ cd vjproject
And then make the node_modules
folder:
$ mkdir node_modules
$ cd node_modules
Clone the repo:
$ git clone [email protected]:XadillaX/vjudge-submitter.git
You will see a new repo directory vjudge-submitter. You should rename it:
$ mv vjudge-submitter nbut-vj-core
Then copy the test files to the project root directory:
$ cd vjudge-submitter
$ cp test* ../../
$ cd ../../
Finally you can run the command below to test this project:
$ node test.js
In this wiki, we will introduce three things:
- How to contribute a new OJ Submitter?
- How to use vjudge-submitter?
- How to build up the test project?
If you want contribute to this project, you can fork it!
And if you have some question, you can post it to ISSUES or contact me:
- Email: admin#xcoder.in
- Website: http://xcoder.in