browser-repl

Launch a repl on your command line to any browser in the cloud.

  • Owner: Automattic/browser-repl
  • Platform:
  • License::
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

browser-repl

CLI utility to set up a remote browser repl.

How to use

$ npm install -g browser-repl
$ export SAUCE_USERNAME="your username"
$ export SAUCE_ACCESS_KEY="your key"
$ repl ie6

Sign up for a free OSS account on SauceLabs.

How it works

browser-repl is built on top of the wd module, which is an
implementation of the webdriver protocol.

Once a browser session is established,
socket.io is used to establish
a persistent connection that works on all browsers as fast as possible.

The socket.io server is hosted locally, and a reverse tunnel is set up
with localtunnel
which gives your computer a temporary URL of the format
https://{uid}.localtunnel.me.

The lines you enter are subsequently evald.
A global window.onerror hook is also set to capture errors.
Summoning repl with the -n argument disables this.

Contributors

License

MIT - Copyright © 2014 Automattic, Inc.

Main metrics

Overview
Name With OwnerAutomattic/browser-repl
Primary LanguageJavaScript
Program languageMakefile (Language Count: 2)
Platform
License:
所有者活动
Created At2014-02-14 00:28:56
Pushed At2016-01-13 23:52:59
Last Commit At2015-05-24 17:10:05
Release Count7
Last Release Name0.4.0 (Posted on 2015-05-24 17:10:05)
First Release Name0.1.0 (Posted on 2014-02-13 16:38:09)
用户参与
Stargazers Count732
Watchers Count125
Fork Count28
Commits Count84
Has Issues Enabled
Issues Count11
Issue Open Count8
Pull Requests Count18
Pull Requests Open Count1
Pull Requests Close Count1
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private