Show HN: HTML, CSS and JavaScript in the Terminal

(duetbrowser.com)

9 points | by keepamovin 20 hours ago ago

8 comments

  • airstrafer 15 hours ago ago

    This site tries to open a script in my terminal as soon as you open it. Luckily safari has good permissions but stay away. Egregious behavior.

    Flagged.

    • keepamovin 10 hours ago ago

      No - it’s a SSH protocol link: ssh:// there’s no reason to flag it.

      There’s no script on your machine - it connects to the server, that’s where the magic happens.

      The link is specifically titled “open in my terminal” (but really just opens in SSH, which requires terminal). Once you click that the browser will give you a choice to open if it supports SSH links.

      It’s purely a cool convenience so you can SSH to a site directly from a link in a webpage, instead of copy pasting ssh krnl.duetbrowser.com - it’s the same thing as an open in app link.

      Read more here: https://developer.mozilla.org/en-US/docs/Web/URI/Reference/S...

  • smalltorch 18 hours ago ago

    >And you can self-host it today

    So where do we find it?

  • rvz 19 hours ago ago

    This is like the 2nd / 3rd time you have posted this already today and even previously some of them have been flagged.

    Are you just continuously spamming HN with this?

    • keepamovin 10 hours ago ago

      I don’t think this has been flagged before - unless you have done so? There’s no reason to flag it. This is good work that deserves to be in front of people. Flagging it without reason is just slowing that here.

    • smalltorch 18 hours ago ago

      Is there another alternative? It works.

      Or do we not want this to work because being able to display in a terminal means now you can automate things that weren't intended to be automated.

      I like it.

      • keepamovin 10 hours ago ago

        Thanks! I didn’t think of automation (as driving a TUI require some kind of tmux harness - which is a little fiddly, even for agents, speaking of which, if you are interested in the agentic or automation case you should check out this CLI tool specifically: https://duetbrowser.com/dub-cli)