惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

MyScale Blog
MyScale Blog
Jina AI
Jina AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
阮一峰的网络日志
阮一峰的网络日志
P
Proofpoint News Feed
Last Week in AI
Last Week in AI
博客园 - 司徒正美
Martin Fowler
Martin Fowler
T
Tailwind CSS Blog
B
Blog RSS Feed
Vercel News
Vercel News
博客园 - 聂微东
I
InfoQ
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
M
MIT News - Artificial intelligence
Recent Announcements
Recent Announcements
GbyAI
GbyAI
L
LangChain Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Security Blog
Microsoft Security Blog
C
Check Point Blog
MongoDB | Blog
MongoDB | Blog
B
Blog

Show HN

Show HN: AI agents for UK GDAD PCF roles and their skills The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal). Release v0.1.2.1 · kouhxp/yapsnap GitHub - noopolis/moltnet: Self-hostable chat network for AI agents. Pre-built bridges for Claude Code, Codex, and the Claws. Rooms, DMs, history. No Slack bots, no Matrix, no glue code.
GitHub - zhangshuo1991/openterm: An offline-first, locall...
zhangshuo199 · 2026-06-23 · via Show HN

An offline-first, locally-encrypted SSH desktop workbench written in pure Rust. No account. No cloud. Just terminals.

Rust License Crates


OpenTerm Terminal Workspace

Why OpenTerm

OpenTerm is an open-source alternative to commercial SSH clients like Termius. It gives you a full-featured terminal workspace without requiring a login, uploading your secrets to the cloud, or running a Chromium shell.

  • Offline-first — everything runs locally, no network dependency to start
  • No account — no sign-up, no telemetry, no SaaS lock-in
  • Encrypted vault — passwords and private keys encrypted at rest with Argon2id + ChaCha20Poly1305
  • Auditable — pure Rust, small dependency tree, zero hidden binaries

Features

Terminal

Terminal with Tabs

  • Full PTY shell via russh
  • Horizontal session tabs for multiple simultaneous connections
  • Scrollback, search, copy/paste, bracket paste
  • Font-size-aware PTY sizing with automatic resize on window change
  • CJK / IME input support
  • Dark and light themes

Host Management

  • Host sidebar with search by name, address, username, or initials
  • Host groups for organizing servers
  • Fingerprint verification with confirm-new-known_hosts flow

Authentication

  • Password authentication
  • Private key authentication (OpenSSH format)
  • SSH agent integration
  • Default key fallback

File Transfer

  • Dual-pane SFTP workspace (local + remote)

SFTP Dual-pane Workspace

  • Upload, download, mkdir, rename, and delete workflows
  • Local and remote directory browsing

Port Forwarding

  • Local port forwarding (-L)
  • Remote port forwarding (-R)
  • Dynamic SOCKS5 forwarding (-D)

Jump Hosts

  • Bastion / jump host routing
  • Chained SSH connections through intermediate servers

Vault & Security

  • Encrypted local vault for secrets (Argon2id + ChaCha20Poly1305)
  • Passwords never stored in plaintext on disk
  • Auto-lock vault on inactivity
  • Zero telemetry, zero analytics

Import & Export

  • Import hosts from ~/.ssh/config
  • Export host profiles as TOML
  • Export host profiles as JSON

Keyboard-Driven

  • Command Palette (Ctrl/Cmd + K) for all actions
  • Terminal copy (Ctrl/Cmd + Shift + C)
  • Terminal paste (Ctrl/Cmd + Shift + V)
  • Terminal clear (Ctrl/Cmd + Shift + L)
  • Right-click context menu with search, copy, paste, and clear

Settings and Themes

Installation

From Source

git clone git@github.com:zhangshuo1991/openterm.git
cd openterm
cargo build --release -p openterm-app
./target/release/openterm-app

Requirements: Rust 1.82+, macOS (Linux and Windows planned)

Pre-built Binaries

Download the latest DMG from the Releases page.

Quick Start

# Launch the GUI
cargo run -p openterm-app

# Use the CLI
cargo run -p openterm-cli -- list-hosts
cargo run -p openterm-cli -- add-host myserver 192.168.1.100 --user admin
cargo run -p openterm-cli -- exec myserver "hostname" --user admin --password-stdin

Use New in the Hosts sidebar to add a server, fill in the connection details, then click Connect from the session bar above the terminal. Select SFTP in the tab bar to open the dual-pane file transfer workspace for the current host.

Hit Ctrl/Cmd + K to open the command palette and access forwarding, diagnostics, settings, and host actions without clutter.

Architecture

┌─────────────────────────────────────────────────┐
│  openterm-app                 (iced Desktop GUI) │
│  ┌──────────┐ ┌──────────┐ ┌──────────────────┐ │
│  │ Sidebar  │ │   Tabs   │ │ Terminal (PTY)   │ │
│  │ (Hosts)  │ │(Sessions)│ │ alacritty_terminal│ │
│  └──────────┘ └──────────┘ └──────────────────┘ │
│  ┌──────────┐ ┌──────────┐ ┌──────────────────┐ │
│  │  SFTP    │ │ Command  │ │    Settings      │ │
│  │(dual-pane)│ │ Palette  │ │                  │ │
│  └──────────┘ └──────────┘ └──────────────────┘ │
├─────────────────────────────────────────────────┤
│  openterm-ui           (UI state management)     │
├─────────────────────────────────────────────────┤
│  ┌─────────────────┐ ┌─────────────────────────┐│
│  │ openterm-ssh    │ │ openterm-terminal       ││
│  │ russh client    │ │ alacritty_terminal grid ││
│  │ PTY, SFTP, fwd  │ │ scrollback, selection   ││
│  └─────────────────┘ └─────────────────────────┘│
│  ┌─────────────────┐ ┌─────────────────────────┐│
│  │openterm-storage │ │ openterm-crypto         ││
│  │ redb database   │ │ argon2 + chacha20poly   ││
│  │ schema, migrate │ │ zeroize, vault          ││
│  └─────────────────┘ └─────────────────────────┘│
│  ┌─────────────────┐ ┌─────────────────────────┐│
│  │openterm-config  │ │ openterm-core           ││
│  │ SSH config io   │ │ domain models, events   ││
│  │ TOML/JSON export│ │ validation, contracts   ││
│  └─────────────────┘ └─────────────────────────┘│
└─────────────────────────────────────────────────┘
Crate Purpose
openterm-app iced desktop GUI, app shell, layout, subscriptions
openterm-cli Command-line tool for scripting and debugging
openterm-core Domain models, validation, event bus, commands
openterm-crypto Vault encryption (Argon2id + ChaCha20Poly1305 + zeroize)
openterm-storage redb-backed local persistence, schema, migrations
openterm-config OpenSSH ~/.ssh/config import, TOML/JSON export
openterm-ssh SSH transport (russh), PTY, SFTP, tunnels, jump hosts
openterm-terminal Terminal buffer engine (alacritty_terminal)
openterm-ui UI state management and product shell logic

Dependencies flow one way: ui → core ← ssh / storage / crypto / terminal / config. SSH and terminal crates expose interfaces for future adapter swaps; UI depends on domain contracts, not SSH internals.

Development

# Format all code
cargo fmt --all

# Type-check the workspace
cargo check --workspace

# Run all unit and doc tests
cargo test --workspace

# Launch the app
cargo run -p openterm-app

# Build optimized release binary
cargo build --release -p openterm-app

Smoke Tests (Real SSH)

A test SSH server at 82.157.57.178 is used for integration testing. Password must be supplied via environment variable or stdin:

./scripts/test_ui_smoke_real.sh          # GUI launch + screenshot
./scripts/test_ui_real_connect.sh        # Connect via GUI PTY
./scripts/test_ui_real_resize.sh         # PTY resize verification
./scripts/test_ui_real_duplicate_connect.sh  # Duplicate tab connect
./scripts/test_ui_real_sftp.sh           # SFTP remote directory listing
./scripts/test_ui_real_forward.sh        # Local port forward
./scripts/test_ui_settings_persistence.sh # Settings survive restart
./scripts/test_all_real.sh               # Full chain

For storage tests that should not touch the default database:

cargo test --workspace -- --skip real

Use --db /path/to/test.redb for storage tests with an isolated database.

Tech Stack

Component Library
GUI iced — pure Rust, GPU-accelerated
SSH russh — async SSH
Terminal alacritty_terminal — GPU-accelerated emulator
Storage redb — pure Rust embedded DB
Crypto argon2 + chacha20poly1305 + zeroize
Async tokio
CLI clap
File dialog rfd

Security

See SECURITY.md for our security policy.

  • No account or cloud connectivity required
  • Secrets encrypted at rest (Argon2id + ChaCha20Poly1305)
  • Passwords never logged or exposed in plaintext
  • known_hosts key verification
  • Zero telemetry or analytics

To report a vulnerability, please use private disclosure — do not file a public issue.

Roadmap

Current status: P3 — Terminal Polish

Phase Goal
P0 Technical validation — iced + russh + alacritty integration
P1 Minimal offline SSH client — host CRUD, auth, multi-tab, persistence
P2 Vault, import/export, SFTP, port forwarding, jump hosts
P3 Terminal polish — scrollback, search, themes, shortcuts, CJK
P4 Split panes, batch ops, agent integration, dynamic SOCKS
P5 Self-hosted sync, plugin API, session recording
P6 Release — packaging, signing, auto-update, documentation

See ROADMAP.md and product.md for full details.

Contributing

Contributions are welcome! See CONTRIBUTING.md for guidelines.

  • Keep changes aligned with product.md
  • Preserve offline-first behavior
  • Keep SSH, terminal, storage, and UI concerns separated
  • Do not add cloud dependencies to the base client
  • Add tests for storage, crypto, import/export, and connection state changes

License

Licensed under either of MIT License or Apache License 2.0 at your option.


OpenTerm — the SSH client you own.