News for hackers. Stuff that matters.
Re:Show HN: Cast.sh An adorable instance of your terminal in... by jonny383 on Saturday October 12, 2019 @09:01AM (#21232722)
Suggestion: Add an example video so we can see what this actually does.
Re:Show HN: Cast.sh An adorable instance of your terminal in... by spapas82 on Saturday October 12, 2019 @01:11PM (#21234620)
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).
Re:Show HN: Cast.sh An adorable instance of your terminal in... by Jaxan on Saturday October 12, 2019 @01:14PM (#21234638)
Then what is adorable about it? I was imagining cute animals would appear in the terminal. This is not the case?
Re:Show HN: Cast.sh An adorable instance of your terminal in... by thegabez on Saturday October 12, 2019 @01:15PM (#21234639)
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
Re:Show HN: Cast.sh An adorable instance of your terminal in... by masukomi on Sunday October 13, 2019 @04:41PM (#21242844)
Humorous Readme Driven Development Lightning talk by Matt Parker. Well worth the watch. https://www.youtube.com/watch?v=23xzRCoDZf4
Re:Show HN: Cast.sh An adorable instance of your terminal in... by pensatoio on Saturday October 12, 2019 @01:31PM (#21234759)
How is this on the front page with basically no README and no screenshots or video?
Re:Show HN: Cast.sh An adorable instance of your terminal in... by klyrs on Saturday October 12, 2019 @01:34PM (#21234778)
It says adorable and doesn't show the goods. Nerdrage... rising!
Re:Show HN: Cast.sh An adorable instance of your terminal in... by mcphage on Saturday October 12, 2019 @10:12AM (#21233248)
What do you mean by adorable?
Re:Show HN: Cast.sh An adorable instance of your terminal in... by tyingq on Saturday October 12, 2019 @11:30AM (#21233898)
Calling it adorable without a front and center screenshot is an odd choice.
Re:Show HN: Cast.sh An adorable instance of your terminal in... by kaycebasques on Saturday October 12, 2019 @01:15PM (#21234643)
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!
Re:Show HN: Cast.sh An adorable instance of your terminal in... by emj on Saturday October 12, 2019 @11:43AM (#21233993)
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.

Re:Show HN: Cast.sh An adorable instance of your terminal in... by xyzal on Saturday October 12, 2019 @11:48AM (#21234045)
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.
Re:Show HN: Cast.sh An adorable instance of your terminal in... by c22 on Saturday October 12, 2019 @12:18PM (#21234257)
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.
Re:Show HN: Cast.sh An adorable instance of your terminal in... by spapas82 on Saturday October 12, 2019 @01:00PM (#21234559)
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...

Re:Show HN: Cast.sh An adorable instance of your terminal in... by johnisgood on Saturday October 12, 2019 @03:40PM (#21235682)
Yeah, I bet there are Electron-based terminals out there anyways.
Re:Show HN: Cast.sh An adorable instance of your terminal in... by nirui on Saturday October 12, 2019 @10:36AM (#21233462)
> <link rel="stylesheet" href="https://unpkg.com/[email protected]/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

Re:Show HN: Cast.sh An adorable instance of your terminal in... by johnisgood on Saturday October 12, 2019 @03:37PM (#21235662)
"Show HN" without a proper README or any screenshots of whatever that is supposedly adorable.