Hi, I forked this project and cleaned up the dependency tree. Full disclosure β I used Claude Code to implement these changes. If that's a concern, totally understand.
What I changed:
- Replaced
promptui (+ chzyer/readline, chzyer/logex) with a ~185 line custom select widget using golang.org/x/term (was already an indirect dep)
- Inlined
atrox/homedir β it's a single function and hasn't been updated in 9 years
- Replaced deprecated
x/crypto/ssh/terminal with x/term
- Replaced deprecated
ioutil.ReadFile with os.ReadFile
- Fixed goreleaser config for v2 (CI was broken with single-file build path)
Behavior change: Search is now inline β just start typing and results filter immediately. No need to press / to toggle search mode. Feels more natural in my experience.
Result: 5 dependencies removed, 0 added. Same look, slightly improved UX.
I understand you might not be interested in these changes, but showing you anyway.
Fork: https://github.com/vaska94/sshw
If you're interested, I can create a PR.
Hi, I forked this project and cleaned up the dependency tree. Full disclosure β I used Claude Code to implement these changes. If that's a concern, totally understand.
What I changed:
promptui(+chzyer/readline,chzyer/logex) with a ~185 line custom select widget usinggolang.org/x/term(was already an indirect dep)atrox/homedirβ it's a single function and hasn't been updated in 9 yearsx/crypto/ssh/terminalwithx/termioutil.ReadFilewithos.ReadFileBehavior change: Search is now inline β just start typing and results filter immediately. No need to press
/to toggle search mode. Feels more natural in my experience.Result: 5 dependencies removed, 0 added. Same look, slightly improved UX.
I understand you might not be interested in these changes, but showing you anyway.
Fork: https://github.com/vaska94/sshw
If you're interested, I can create a PR.