docs: update design + impl plan — native SSH delegation, Gruvbox theme, dual-pane SFTP

This commit is contained in:
swanadiva
2026-06-23 15:34:04 +07:00
parent 43858dda87
commit b319f44c3e
2 changed files with 58 additions and 51 deletions
@@ -11,7 +11,7 @@
**Tech Stack:** Go 1.21+, Cobra (CLI framework), Bubble Tea (TUI), golang.org/x/crypto/ssh, Viper (config management), JSON/YAML storage
**Current Status**: Planning Complete → Ready for Implementation (Check PROJECT_STATE.md for latest updates)
**Current Status**: Phase 2 Complete — SSH rewritten with native `ssh` delegation, dual-pane SFTP browser, Gruvbox theme. Next: security encryption + VT emulator multi-session.
---
@@ -4933,31 +4933,29 @@ This implementation plan provides a comprehensive roadmap for building the Hostk
11. **Build System** - Cross-platform compilation
12. **Documentation** - Installation and usage guides
### 📋 Phase 2 Planned (TUI Overhaul)
### 📋 Phase 2 Completed (TUI Overhaul)
1. **Task 15** — Tab Framework & Orange Theme
2. **Task 16** — SSH Session Tab (multi-session)
1. **Task 15** — Tab Framework & Gruvbox Theme
2. **Task 16** — SSH Session Rewrite (native `ssh` via `tea.ExecProcess`, zero-lag)
3. **Task 17** — TUI Host Forms (add/edit)
4. **Task 18**TUI SFTP Browser
4. **Task 18**Dual-pane SFTP Browser (local ↔ remote)
5. **Task 19** — TUI Key & Snippet Management
### 🎯 MVP Success Criteria
### 🎯 Success Criteria
-Can establish SSH connections to remote servers
-Native `ssh` binary delegation via `tea.ExecProcess` — zero lag, full terminal capability
- ✅ Dual-pane SFTP browser (inspired by tamagosh/Midnight Commander)
- ✅ Can manage multiple hosts with different auth methods
- ✅ Can perform SFTP operations (native client)
- ✅ Can export/import credentials across devices
- ✅ Works on Linux, macOS, Windows, and Termux
- ✅ Secure credential storage with proper permissions
- ✅ User-friendly error messages and help text
- ✅ Gruvbox Material Dark Hard palette for comfortable extended use
### 🚀 Ready for Phase 2
### 🚀 Phase 3 — Future
After completing the MVP, the next phase focuses on TUI Overhaul:
1. **Task 15** — TUI Tab Framework & Orange Theme (foundation)
2. **Task 16** — SSH Session Tab (multi-session)
3. **Task 17** — TUI Host Forms (add/edit in TUI)
4. **Task 18** — TUI SFTP Browser
5. **Task 19** — TUI Key & Snippet Management
6. **Future** — Cloud sync, custom terminal emulator, web interface
1. **AES-256-GCM encrypted secrets** (inspired by tamagosh)
2. **Known_hosts verification** for SFTP
3. **In-app SSH key generation**
4. **Multi-session without lag** — PTY multiplexer + VT terminal emulator
5. **Cloud sync, custom terminal emulator, web interface**