8000 GitHub - szhilkin/jsdrawterm: Javascript 9P/drawterm implementation. Yes, Javascript.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

szhilkin/jsdrawterm

 
 

Repository files navigation

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.

About

Javascript 9P/drawterm implementation. Yes, Javascript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 92.0%
  • JavaScript 7.2%
  • Other 0.8%
0