Skip to content
/ 9p.js Public
forked from rsbohn/9pJSON

Javascript implementation of 9p with JSON wire protocol.

License

Notifications You must be signed in to change notification settings

roobie/9p.js

 
 

Repository files navigation

Setting up

Install deps

npm i -g yarn
yarn

building

The code in lib should work on ES2015 (with modules) compliant platforms For older platforms use the commonjs modules found in lib.es5

To build the es5 modules, run:

npm run build

and use the modules in the directory lib.es5

developing

Run:

npm run test:cont

Which will continuously run npm test on file changes

Ideas and TODOs

Server

  • How about a "github" FS implementation? Manage a repo via 9p, like.
  • in memory FS which has persist/load from physical FS

Clients

  • CLI:

    $ ix --set-current --username=bjorn --host=http://localhost:8080 # or tcp://localhost:7654

    $ ix mkdir /test

    $ ix cd /test

    $ ix mkfile test.txt

    $ ix ls

    $ ix read test.txt > contents.txt

About

Javascript implementation of 9p with JSON wire protocol.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.2%
  • HTML 1.8%