crosh: modify to run as chrome-untrusted://crosh/

Running crosh as a web app will allow us to gzip resources and save
space in rootfs.

Bug: 1022250
Change-Id: I24cf80c4732a48a4b0f4662bce937bc02c158096
Tested-by: kokoro <>
Reviewed-by: Mike Frysinger <>
2 files changed
tree: 65ff37e13919f8dad18f0fa2bebcb1fbe76a31fb
  1. .clang-format
  2. .eslintrc.js
  3. .gitignore
  4. .npmrc
  5. .pylintrc
  6. Dockerfile
  10. PRESUBMIT.cfg
  12. hterm/
  13. kokoro/
  14. libdot/
  15. nassh/
  17. package.json
  18. ssh_client/
  19. terminal/
  20. wasi-js-bindings/
  21. wassh/


This repository contains the libdot JavaScript library and some web applications that make use of it.

The official copy of this repository is hosted at

There is also a mirror on github at A few subprojects are also extracted out into their own git repo and mirrored. Keep in mind that these mirrors may occasionally be behind the official repository.

All changes must go through the Gerrit code review server on Github pull requests cannot be accepted. Please see the document in this directory for the details.

Top level directories

  • libdot/ is a small set of JS libraries initially developed as part of hterm, now available as shared code.

  • hterm/ is a JS library that provides a terminal emulator. It is reasonably fast, reasonably correct, and reasonably portable across browsers.

  • nassh/ is the Secure Shell Chrome extension that combines hterm with a NaCl build of OpenSSH to provide a PuTTY-like app for Chrome users.

  • ssh_client/ is the NaCl port of OpenSSH. It is used by nassh to create the Secure Shell App.