Skip to content

Repository files navigation

CovScript Online Interpreter

Try it on: http://dev.covariant.cn/ or WeChat Miniprogram

Insatll Guide

  1. Prepare: debian based linux, apache2 and csbuild requirements
  2. Clone this repository into your system
  3. Copy install.sh to some place you like
  4. Modify the install_home settings in install.sh to where your local repo placed.
  5. Setup crontab to call install script automatically.

Online Interpreter Web API(HTTP POST)

POST following contents to server, and it will return the contents with stdout:

{
"code": "<base64-of-code>",
"stdin": "<base64-of-stdin>",
}

Our Public Server:

http://dev.covariant.cn/cgi/cs-online (unencrypted)
https://dev.covariant.cn/cgi/cs-online (encrypted)

Run CovScript Code with ajax

postData={code: window.btoa("<code-here>"),stdin: window.btoa("<stdin-here>")}$.ajax({type: "post",url: "http://dev.covariant.cn/cgi/cs-online",data: JSON.stringify(postData),async: true,success: function(data){// Your code here},error: function(data){// Your code here}})

About

CovScript Online IDE.

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages