node-pty
wetty
node-pty | wetty | |
---|---|---|
2 | 11 | |
1,536 | 4,496 | |
1.6% | 1.0% | |
7.6 | 1.3 | |
1 day ago | 20 days ago | |
TypeScript | TypeScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
node-pty
-
Subprocess: Don't close all file descriptors by default (close_fds=False)
Meanwhile VSCode's terminal still leaks Electron fds: https://github.com/microsoft/node-pty/issues/657
I get this proposal's rationale, but it seems that it would implicitly make fd leaks more prone in python programs
-
Error installing node-pty from package.json
It failed with code1 it seems. Usually you'll get more context there. Here's the code it's trying to run: https://github.com/microsoft/node-pty/blob/main/scripts/install.js
wetty
-
Homelab Adventures: Crafting a Personal Tech Playground
WeTTY
- What is the best ssh web based app with docker currently??
- Question about Data Transfer to New NAS
-
Anybody have a good dashboard tool recommendation?
I use wetty for a terminal in a browser. https://github.com/butlerx/wetty
-
How to expose the server terminal(truenas or any linux) with Traefik?
You’re already running docker. Install Wetty. Works great. Make sure you have strong strong Auth though.
- Access SSH through web ui.
-
Managing SSH Sessions Doesn't Have to be a Royal Pain
Can RGNets look into integrating Wetty, terminal over https (https://github.com/butlerx/wetty) where we can ssh to devices it manages from the fleet or the rXg itself without giving direct shell access to users.
-
Charm – tools to make the command line glamorous
ttyd is a nice little web terminal: https://github.com/tsl0922/ttyd Just small, fast, low fuss C-based executable.
wetty is another good option if you want to run a nodejs app: https://github.com/butlerx/wetty
Both use xterm.js for the client terminal, which is these days the only game in town for a web terminal (it's what VS code and many other electron apps use too). It's quite good.
Do be aware though that running a web-accessible terminal is a huge security headache. You're opening up a websocket to effectively allow commands and code to run on your server. Pay attention to security and authentication options any web terminal gives you, and use them. Most are not very secure out of the box or just following their readme examples.
-
SSH from a container?
Do you mean something like Wetty?
-
Example of a web app interacting with backend process via terminal-like interface?
Hello, does anyone know of an open source project/web app/library, written in Haskell, that makes terminal interface accessible via browser? An example of what I'd like to achieve: Start R repl process withing a docker container on the backend (e.g. `docker run -it --rm rocker/r-base`) and allow user to interact with it using terminal-like interface from their browser (with stuff like TAB completion working etc.) It seems that xterm.js is a popular choice to implement the client side of such a thing, but I'm looking for some inspiration of how a backend of such an application could be implemented in Haskell. Examples in other languages that do similar thing to what I'd like: Go: https://github.com/yudai/gotty Typescript: https://github.com/butlerx/wetty
What are some alternatives?
xterm.js - A terminal for the web
ttyd - Share your terminal over the web
go-pty - Cross platform Go Pty interface
gotty - Share your terminal as a web application
termpair - View and control terminals from your browser with end-to-end encryption 🔒
portal - Portal is a quick and easy command-line file transfer utility from any computer to another.