Skip to content

websocket-sftp fork to reuse sftp protocol impl on browsers with esm

License

Notifications You must be signed in to change notification settings

xdavidwu/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

websocket-sftp fork to reuse sftp protocol impl on browsers with esm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.9%
  • JavaScript 0.1%