Live data from Hacker News

Show HN: Hucksh – A shell with a very good memory

news.ycombinator.com

11–20 of 73 posts

Re: Show HN: Hucksh – A shell with a very good memory

#11
post #8

Earlier quoted context omitted.

I don't follow. Both the BSD 3-clause license and the MIT license allow commercial use. Granted, I might need to double check that I credit them & reproduce their licenses appropriately.

Yeah it seems like this guy explicitly doesn't understand the licenses but will go tell people things they cannot do under the licenses anyway. Weird.

anon25783 seems to be even using BSD for their own projects. Even weirder.

Maybe the constant GPL bashing going on is making people misunderstand the crucial difference between "permissive" and free software licenses?

Re: Show HN: Hucksh – A shell with a very good memory

#13
post #6

Here's my 2c. It's unlikely that many users, here or elsewhere, would be comfortable downloading and executing this Hacksh binary from your Dropbox, regardless of its benefits.

Thanks, that's good to know. I never thought of that as a stumbling block. I trust me! Do you think showing an md5 hash would help, or is it just Dropbox itself? Would (for example) dl.huck.sh be better? (I own huck.sh (and huckridge.com and several others) and have a site there, but don't have anything at dl.huck.sh.) I actually kind of thought that Dropbox would be better than my own webserver, on the assumption th…

If you happen to have a GitHub space for storing things you can upload release artifacts there for folks to download.

Re: Show HN: Hucksh – A shell with a very good memory

#15

Earlier quoted context omitted.

Thanks, that's good to know. I never thought of that as a stumbling block. I trust me! Do you think showing an md5 hash would help, or is it just Dropbox itself? Would (for example) dl.huck.sh be better? (I own huck.sh (and huckridge.com and several others) and have a site there, but don't have anything at dl.huck.sh.) I actually kind of thought that Dropbox would be better than my own webserver, on the assumption th…

If you happen to have a GitHub space for storing things you can upload release artifacts there for folks to download.

Preferably, these release artifacts are generated by a pipeline, and the hashes are verifiable.

Re: Show HN: Hucksh – A shell with a very good memory

#16
post #6

Here's my 2c. It's unlikely that many users, here or elsewhere, would be comfortable downloading and executing this Hacksh binary from your Dropbox, regardless of its benefits.

Thanks, that's good to know. I never thought of that as a stumbling block. I trust me! Do you think showing an md5 hash would help, or is it just Dropbox itself? Would (for example) dl.huck.sh be better? (I own huck.sh (and huckridge.com and several others) and have a site there, but don't have anything at dl.huck.sh.) I actually kind of thought that Dropbox would be better than my own webserver, on the assumption th…

Offhand, I love this as an anti-signal and I'll probably try it out because of this.

A too-slick website here on HN is a strong deterrent for me.

Re: Show HN: Hucksh – A shell with a very good memory

#17

Intriguing idea! I love the idea of having a database of the commands you’ve run and their output. I use tmux religiously, but it’s sometimes frustrating using a crappy interface to spelunk my terminal history and manually look for the various commands I’ve run amidst voluminous output. And of course it’ll lose that history when it runs out of buffer. Question: You refer to this as a shell, but it seems more like a t…

Thanks!

> You refer to this as a shell, but it seems more like a terminal emulator. Am I missing something?

It has elements of both. I think it's closer to a shell because its primary purpose is to run commands, like bash. It has a terminal emulator, and you can run interactive programs (like Vim, or even bash) inside a hucksh command widget, but (from my point of view) the terminal emulator is there mostly so that programs that output ANSI/ncurses escape sequences don't look like absolute crap. (Many programs don't even check whether they're writing to a TTY, and/or don't check what kind of terminal they're in, they just unconditionally write xterm or vt100 ANSI codes.) I don't think you're missing anything, we just focus on different things.

> web UI

That's funny, I initially started with a web UI. Before, I was using Angular, and called it "ntla", which meant "Never Type `ls` Again". As a mostly backend-developer, the, uh, intricacies of HTML and CSS, even using Angular or Vue, ended up being a pretty difficult learning curve to climb. When I saw Gio, the completely-Go-based library I'm using now, presented at GopherCon a couple of years back, I fell in love and that actually got me to restart development of hucksh.

Gio can actually compile to WASM and I'd like to eventually enable a web-based interface. Which is admittedly not what you're saying. :)

Hucksh can actually connect remotely by forwarding the connection it uses over ssh. There are instructions for that in the documentation. Admittedly that requires more configuration and permissions than a webpage, but there are other tradeoffs. I use hucksh remotely all the time, with the UI running locally and talking to a remote backend. Using autossh and hucksh's native auto-reconnect, my laptop can go to sleep and automatically reconnect to the remote within a few seconds of awakening.

> separating the shell and the history browser

Yeah, I could see that.

There is a rudimentary command-line interface to the back-end. `hucksh cli `. There might be a way to shim that into the bash REPL so that it uses "hucksh cli" to run commands instead of executing them directly. I, at least, would miss the rest of the UI. It's worth thinking about, if other people like the idea too.

Thanks for your comment and encouraging words!

Re: Show HN: Hucksh – A shell with a very good memory

#18

I highly recommend buying a domain and putting together a professional-looking website, if you intend to sell this software.

Thanks, that's valuable feedback. I do have huckridge.com (a Wordpress site), and some others like huck.sh (which mirrors huckridge.com), but I've been using Notion and Dropbox so as to focus on my product and outsource stuff that wasn't in my core competency, if that's the right word.

Re: Show HN: Hucksh – A shell with a very good memory

#19

Intriguing idea! I love the idea of having a database of the commands you’ve run and their output. I use tmux religiously, but it’s sometimes frustrating using a crappy interface to spelunk my terminal history and manually look for the various commands I’ve run amidst voluminous output. And of course it’ll lose that history when it runs out of buffer. Question: You refer to this as a shell, but it seems more like a t…

You can run atuin locally or synced for that feature. Atleast, that is how i have been doing it up to now.

https://atuin.sh/docs/

Re: Show HN: Hucksh – A shell with a very good memory

#20
post #16

Earlier quoted context omitted.

Thanks, that's good to know. I never thought of that as a stumbling block. I trust me! Do you think showing an md5 hash would help, or is it just Dropbox itself? Would (for example) dl.huck.sh be better? (I own huck.sh (and huckridge.com and several others) and have a site there, but don't have anything at dl.huck.sh.) I actually kind of thought that Dropbox would be better than my own webserver, on the assumption th…

Offhand, I love this as an anti-signal and I'll probably try it out because of this. A too-slick website here on HN is a strong deterrent for me.

Ha, fascinating. (And thanks for trying it out!)

So would a tarball on Github put you off, do you think? Would you prefer a raw directory listing from Apache at dl.huck.sh (et al)?

Post reply on HN