How parkhw328/wook-shell works
wShell is a native multi-platform SSH terminal and SFTP workspace, with the README describing Windows and macOS as supported products and an iPad preview as a separate, currently paused build. The main workflow is selecting or entering a host, establishing a trusted authenticated connection, then using terminal tabs and split panes or an SFTP browser for remote files. The graph preserves documented key management, backups, host settings, and workspace input features. Some Windows and iPad subsystem links are documented but their implementation excerpts were not supplied.
Main entry points: main.cpp Windows app · Workspace.swift Workspace · App.swift iPad app · Files.swift File browser
Components 28
Windows workspace
- Windows app
src/main.cpp - Host profiles
src/core.cpp - Host settings
src/settings_ui.cpp - SSH sessions
src/launch.cpp - Terminal panes
src/main.cpp - SFTP browser
src/sftp_view.cpp - Settings backup
src/backup.cpp - Key management
src/key_dialog.cpp - SSH launch relay
src/launch_relay.cpp
macOS workspace
- macOS app
mac/Sources/WShell/main.swift - Workspace
mac/Sources/WShell/Workspace.swift - Host settings
mac/Sources/WShellCore/Settings.swift - Host trust
mac/Sources/WShellCore/HostTrust.swift - Terminal sessions
mac/Sources/WShell/Terminal.swift - Split layout
mac/Sources/WShellCore/SplitLayout.swift - SFTP browser
mac/Sources/WShell/SftpBrowser.swift - SFTP client
mac/Sources/WShell/SftpClient.swift - Host editor
mac/Sources/WShell/HostEditor.swift - Settings store
mac/Sources/WShellCore/Settings.swift
iPad preview
- iPad app
ios/App.swift - SSH connection
ios/Connection.swift - File browser
ios/Files.swift - SFTP client
ios/FileClient.swift - Host store
ios/Storage.swift
Other components
- User
- SSH server
- Remote shell
- Local files
Connections 32
- User → Windows app: starts and uses
README.md - Windows app → Host profiles: loads profiles
- Windows app → Host settings: opens settings
src/main.cpp - Windows app → SSH sessions: starts sessions
src/main.cpp - Windows app → Terminal panes: manages panes
src/main.cpp - Windows app → SFTP browser: opens SFTP
src/main.cpp - Windows app → Settings backup: imports and exports
src/main.cpp - Windows app → Key management: opens key manager
src/main.cpp - Windows app → SSH launch relay: routes launch
- Host settings → Host profiles: edits profiles
src/settings_ui.cpp - SSH sessions → SSH server: connects
- Terminal panes → Remote shell: renders session
- User → macOS app: starts and uses
README.md - macOS app → Workspace: opens workspace
mac/Sources/WShell/main.swift - Workspace → Host settings: loads host records
mac/Sources/WShell/Workspace.swift - Workspace → Split layout: lays out panes
mac/Sources/WShell/Workspace.swift - Workspace → Terminal sessions: manages sessions
- Workspace → SFTP browser: opens file browser
mac/Sources/WShell/Workspace.swift - Workspace → Host trust: checks host keys
mac/Sources/WShell/Workspace.swift - Workspace → Host editor: edits hosts
- SFTP browser → SFTP client: uses client
mac/Sources/WShell/SftpBrowser.swift - SFTP client → SSH server: transfers files
- Terminal sessions → SSH server: opens SSH
- User → iPad app: uses preview
README.md - iPad app → SSH connection: starts connection
ios/App.swift - iPad app → Host store: loads and backs up
ios/App.swift - iPad app → File browser: opens file browser
ios/App.swift - SSH connection → SSH server: authenticates
- File browser → SFTP client: lists and transfers
ios/Files.swift - SFTP client → SSH connection: uses connection
ios/FileClient.swift - SFTP client → SSH server: runs SFTP
- File browser → Local files: imports and exports
ios/Files.swift