Skip to content
Javascript 9P/drawterm implementation. Yes, Javascript. (Also some C compiled to WebAssembly)
C JavaScript C++ Other
Branch: master
Clone or download
Cannot retrieve the latest commit at this time.
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
include
libauthsrv
libc
libdraw
libmemdraw
libmemlayer
libmp
libsec
.gitignore
9p.js
Make.config
Makefile
README.md
aux.js
config.js
devaudio.js
devcons.js
devdraw.js fix some leaks and remove debugging stuff Jan 9, 2020
drawterm.html
exports
loading.jpg
rcpu.js userfriendliness Jan 10, 2020
tls.js

README.md

Javascript Drawterm port

WARNING: PROBABLY INSECURE

This is a version of drawterm (a program for connecting to Plan 9 systems) which runs in a webbrowser. To connect to the remote host, it uses Websockets, which means you need a proxy such as websockify.

Jsdrawterm is written in Javascript, but it uses a bunch of C libraries from Plan 9 (for crypto and drawing routines) which need to be compiled to Webassembly. Since the Javascript also deals with some of the crypto, it's probably horribly insecure and hackers will steal your cats.

How to install

Either build the Webassembly yourself or download it from the release page.

  • Copy the files to your webserver.
  • Edit config.js to taste.
  • Start a Websockets proxy:
websockify 1234 cirno:17019
websockify 1235 cirno:567
  • Enjoy.

How to build

With emscripten installed, a simple make will build the blob.js and blob.wasm files. The release includes the js, html, wasm and jpg files.

You can’t perform that action at this time.