Skip to content

rpwoodbu/mosh-chrome

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Mosh for Chrome

Main author: Richard Woodbury (rpwoodbu@mybox.org)

This is a Mosh client port for the Chrome web browser using Native Client. It is particularly useful with Chrome OS.

Building

You can build the dev track simply by running:

$ ./build.sh dev

The first time this is run, this will download and build most of the dependencies, including Bazel, the build system. This can take a while, so be patient. Subsequent builds will be extremely fast; Bazel excels at doing incremental builds.

Don't be alarmed if you see a few warnings. In particular, the linker may complain about duplicated symbols.

If successful, Bazel will output something like this:

Target //:mosh_chrome up-to-date:
  bazel-genfiles/mosh_chrome_dev.zip

That .zip file contains the entire app. To load it into Chrome, unzip it into a directory on your machine, then go to chrome://extensions, enable "Developer mode", and click the "Load unpacked extension button", directing it to said directory. Then the app will be launchable from the app screen and the extensions screen.

To distribute the app, build the release track and upload the .zip file to the Chrome Web Store.