Settings

Theme

Show HN: Cast.sh An adorable instance of your terminal in the browser

github.com

23 points by stenioaraujo 6 years ago · 19 comments

Reader

jonny383 6 years ago

Suggestion: Add an example video so we can see what this actually does.

  • spapas82 6 years ago

    It is very simple: When you run it it will create a web server (listening on port 5000) by default; when you visit that server with your browser you'll get a terminal to your system (the same terminal / user that was used to originally run the server).

    • Jaxan 6 years ago

      Then what is adorable about it? I was imagining cute animals would appear in the terminal. This is not the case?

thegabez 6 years ago

Come up with an interesting idea, spend n number of days working on idea, get to the front page of hackernews, have thousands of eyeballs on your thing...Spend 0 time on the readme and have everyone take a half second glance, not know what the thing is or does and move their attention else where. Let this be a lesson to everyone to spend some time on your readme's...https://github.com/matiassingers/awesome-readme

pensatoio 6 years ago

How is this on the front page with basically no README and no screenshots or video?

  • klyrs 6 years ago

    It says adorable and doesn't show the goods. Nerdrage... rising!

mcphage 6 years ago

What do you mean by adorable?

  • tyingq 6 years ago

    Calling it adorable without a front and center screenshot is an odd choice.

    • kaycebasques 6 years ago

      I visited the README solely because “adorable” was a provocative word and I wanted to see a screenshot of said adorableness. Give the people what they want!

  • emj 6 years ago

    My interpretation was that it was simple, code is easy to read and it does one simple thing.

    This launches a new instance of a command of your choosing for every new connection. That does not really seem like casting to me more like a remote shell, but it is adorable in some ways.

xyzal 6 years ago

I'm sure it is an interesting engineering exercise, but I struggle to think of a situation where I would fire a browser to use the terminal instead of just opening a terminal.

  • c22 6 years ago

    The name might be a hint as to the utility. If you wanted to display your terminal on your massive television using, say, Chromecast, you wouldn't have the option, but you can "cast" a browser window.

  • spapas82 6 years ago

    I guess you could run the program in one of your private servers then do a reverse proxy to that from a public server. Voila: Easy terminal access to your private servers from everywhere!

    Not a good idea from a security standpoint though...

  • johnisgood 6 years ago

    Yeah, I bet there are Electron-based terminals out there anyways.

nirui 6 years ago

> <link rel="stylesheet" href="https://unpkg.com/xterm@3.6.0/dist/xterm.css" />

Just a heads up, xtermjs has now updated to version 4[1]. You might want to consider for an upgrade.

1: https://github.com/xtermjs/xterm.js/releases

johnisgood 6 years ago

"Show HN" without a proper README or any screenshots of whatever that is supposedly adorable.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection