GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - seidtgeist/multi-repl: Experimental shared REPL (read-eval-print loop) for fun and profit!

BranchesTags
Open more actions menu

Latest commit

 

History

27 Commits
27 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE-MIT
LICENSE-MIT
 
 
README.md
README.md
 
 
client.html
client.html
 
 
dojo.js
dojo.js
 
 
fixed_tty.js
fixed_tty.js
 
 
package.json
package.json
 
 
server.js
server.js
 
 
socket.io.min.js
socket.io.min.js
 
 

Repository files navigation

multi-repl

Alpha version, many bugs, no tests, shame on me, told you.

Ever opened up a clojure repl or a webkit inspector console and wanted to share it with your firends? No? Well, now you can!

multi-repl spawns an arbitrary REPL (read-eval-print loop) process and exposes it to the web. Everyone goes into the same process (for now). Yarrr, it's a huge deathmatch!

You win the game if you manage to lock everyone else out.

Getting started

Please use npm >1.0.1rc0

cd multi-repl
npm install
node server.js
open http://localhost:1337

Obvious word of caution

Be careful about who you give access to the service. There are no filters or permissions (yet)!

Ideas

Expose a list of connected users inside the REPL session

For JS this could look like:

// Initially
repl.write("window.MultiRepl = { users: {} };\n");

// When someone connects
socket.on('connection', function(client){
    var sid = client.sessionId;
    repl.write('window.MultiRepl.users[' + sid + '] = { ip: '1.2.3.4' }';');
});

Basically it's about exposing the nature of multi-repl inside the repl. Could be fun.

Ability to spawn different REPLs and more than one session

Quick idea for possible feature & URL design:

http://multi-repl-host/<repl_id>/<session_id>/

Ideas for examples

Chat between to terminals using curl with named (lazy) pipes

List of REPLs

Here's a list of some REPLs which could be integrated into the UI. Diverging homebrew/pip/gem package names are next to the repl's name.

  • clj (clojure)
  • ghci (ghc)
  • ipython
  • irb (ruby)
  • js (spidermonkey)
  • node
  • python
  • sbcl
  • v8

About

Experimental shared REPL (read-eval-print loop) for fun and profit!

Resources

Readme
MIT license
Activity

Stars

8 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.