Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Plnkr.co front-end and backend
branch: master

This branch is 11 commits behind filearts:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
servers
.gitignore
.gitmodules
LICENSE
README.md
config.sample.json
package.json
server.js

README.md

Plunker

The next generation of lightweight collaborative online editing.

Usage

git clone git://github.com/filearts/plunker.git
git submodule update --init

npm install

node server.js

Editor API

POST /edit/

You can send a POST request to /edit/ to bootstrap the editor with the basic structure of a plunk. The JSON format for this is described below.

{
  "description": "Description of Plunk",
  "tags": ["array", "of", "tags"],
  "files": [
    {
      "filename": "index.html",
      "content": "<html><script src=\"script.js\"></script></html>"
    },
    {
      "filename": "script.js",
      "content": "alert('hello world');"
    }
  ]
}
Something went wrong with that request. Please try again.