Settings

Theme

Show HN: ShellAI – Local Terminal Assistance with SLM

github.com

5 points by mtud 2 months ago · 3 comments

Reader

YPCrumble 2 months ago

This is really cool - so it uses Gemma SLM? Why can't you just package that here into GitHub?

And why is `ptrace` needed?

  • mtudOP 2 months ago

    The model file is small enough to have in Git (safetensors is only 600MB) but the Gemma TOS make me unsure if I’m required to have the same “Read and accept the Gemma TOS” limitation that they have on their public huggingface model.

    As for ptrace, I use it to inject code into the users shell to present the command in a way that doesn’t require further interaction to run. I wanted it to be more like the “AI terminal” experience without requiring the user to copy-paste the recommended command back into their shell prompt.

sscarduzio 2 months ago

I really like the focus on natural unobtrusive ux - nice work

Keyboard Shortcuts

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