Skip to content

rpwoodbu/mosh-chrome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ff3b15d · Mar 2, 2022
Feb 27, 2022
Feb 26, 2022
Mar 1, 2022
Feb 27, 2022
Sep 11, 2016
Mar 2, 2022
Sep 6, 2016
Feb 28, 2022
Mar 2, 2022
Aug 1, 2016
Jul 12, 2016
Feb 27, 2022
Jan 16, 2014
Feb 27, 2022
Mar 2, 2022
Feb 26, 2022
Mar 2, 2022
Jul 21, 2020

Repository files navigation

Mosh for Chrome

Main author: Richard Woodbury ([email protected])

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.