Home

Awesome

ws-repl

Arbitrary REPL in a web-page using websocketd.

Quick Start

Widget detail

The javascript can be used as a widget on arbitrary web-pages. Just place <div id="repl"></div> wherever you want it to appear. It can be customised extensively (including changing the div's id from "repl") by passing parameters to the init function, for example:

wsrepl({socketProto: 'wss', bufferLines=300, replBorderStyle: 'dashed'});

See defArgs in ws-repl.js to see what can be customised.

Notes

Backend invocation examples

Screenshots

ws-repl screenshot ws-repl screenshot ws-repl screenshot

Code

This can be found on github. Report bugs either through the issue-tracker there or by email to rowan at rowanthorpe dot com.