tsl0922 / ttyd

Share your terminal over the web
https://tsl0922.github.io/ttyd
MIT License
8.18k stars 898 forks source link

trzsz support #905

Closed tianyuanhao closed 2 years ago

tianyuanhao commented 2 years ago

I think ttyd can add trzsz support.

lonnywong commented 2 years ago

😵‍💫 951b2b9 is not working, ~no popup after trz~. Any suggestions? @lonnywong

How to rebuild ttyd after change the html and js?

lonnywong commented 2 years ago

I'm changing src/components/terminal/index.tsx. It works after yarn build and make.

lonnywong commented 2 years ago

@tianyuanhao Try https://github.com/tsl0922/ttyd/commit/bdfb94699d081087bfcdf4cf49f3adb3c2190dcf . My fork: https://github.com/lonnywong/ttyd

lonnywong commented 2 years ago

Is trszs better than croc ? (btw what's the full form of it)

trzsz doesn't need a relay, works with browser.

trzsz supports drag files and directories to upload.

trzsz main repo: https://github.com/trzsz/trzsz

trzsz works with browser and electron: https://github.com/trzsz/trzsz.js

trzsz works with native terminal: https://github.com/trzsz/trzsz-go

tsl0922 commented 2 years ago

supported on main, start ttyd with -t enableTrzsz=true to enable it.