Git Product home page Git Product logo

rchain.cloud's Introduction

rchain.cloud

Web interface to play with the Rholang language.

Screenshot

Find it online

Just want to play around with Rholang? Simply go to rchain.cloud.

Running it locally

If you want to help develop rchain.cloud, or run your own instance, follow these instructions:

  1. Ensure Docker and Node.JS (version 8 or above) are installed on your machine.
  2. Clone the Github repo to your desired location using git clone https://github.com/th3build/rchain.cloud.
  3. Install NPM dependencies: npm install
  4. Run it: PORT=8080 npm start

Development

There's always stuff that you can help develop.

Mayor features that are planned:

  • Snippet sharing through unique URLs
  • Support 'extended Rholang syntax' (import/export)

POST API

You can send a POST request to http://rchain.cloud/ to seed the editor with certain content. The POST body should be form-encoded, and can contain the following parameters:

  • content: the code you want to show in the editor
  • version: the Docker image tag you want to use to run your code (only supports latest at the moment)

This functionality allows you to create a 'Run on RChain.cloud' button. Usually this is done using a hidden HTML form:

<form target="_blank" method="POST" action="http://rchain.cloud/">
   <input type="hidden" name="content" value="Your code here!" />
   <input type="hidden" name="version" value="latest" />
   <input type="submit" value="Run on RChain.cloud" />
</form>

rchain.cloud's People

Contributors

tschoffelen avatar ahsanfazal avatar aostrun avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.