4 ms·
Show HN: Shelly – A pure and vanilla shell-like interface for the web
shelly is a shell-like inteface for the web made with pure and vanilla HTML, CSS and JavaScript.
It's completely configurable and should run decently on any browser.
- namanyayg 2y agoWhy? What's the main use case?
- ranger_danger 2y agoAre you asking why command lines exist?
- namanyayg 2y agoThis is not a command line
- ranger_danger 2y agoWhy not?
- mplewis 2y agoBecause it doesn’t do anything on its own.
- debarshri 2y agoAlso, notable js/terminal stuff is xterm.js. It has websockets for stdin, stdout and stderr etc.
- williamcotton 2y agoFor the server backend do you mean that an npm module like bash-parser would be a requirement? I would love if you could briefly expand on this!
- tylerchurch 2y ago> It transmits user input via a HTTP header called SHELLY-INPUT It sounds like user input is the _only_ input, so why not just use a POST request with a body?
- darknavi 2y agoNot to be confused with Shelly the IoT device manufacturer: https://www.shelly.com/en-us https://www.shelly.com/en-us
- bobchadwick 2y agoAlso not to be confused with the iOS SSH client: https://apps.apple.com/us/app/shelly-ssh-client/id989642999 https://apps.apple.com/us/app/shelly-ssh-client/id989642999
- jdenning 2y agoSo is the idea that you create commands that call different HTTP backends? Do the backends need to support the user-input-as-header stuff, or is this translated to call arbitrary HTTP backends? Please give some more info about the use-cases you are trying to support. I'm interested, but not quite interested enough to read the code to find out if I want to use this.
- spankalee 2y ago> shelly will automatically append it's elements to your HTML document's body It'd be really nice if instead this was a custom element, like `<shelly-shell>` so that wherever you put that tag you had a self-contained instance.