Skip to content

WebSocketFS: it's like sshfs, but over a WebSocket and implemented in Typescript

License

Notifications You must be signed in to change notification settings

sagemathinc/websocketfs

Repository files navigation

websocketfs

I wish there was something like sshfs, but entirely over a websocket that doesn't use ssh at all. I found this ancient and forgotten project from 8 years ago, then rewrote it to not use sshfs at all and instead use libfuse2 bindings to nodejs. It is going to be like what sshfs provides, except entirely 100% using Typescript/Nodejs + a websocket for the transport and fuse bindings. This could also be extended to work in browser (for WebAssembly with WASI), providing basically "sshfs for the browser". The real work to make this possible is in this also ancient forgotten implementation of the entire sftp protocol in Typescript from 8 years ago, as explained in this blogpost.

I modernized and rewrote everything, and this now exists!

Packages

To try this out, check out the readme for the websocketfs package.

About

WebSocketFS: it's like sshfs, but over a WebSocket and implemented in Typescript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published