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

推荐订阅源

U
Unit 42
A
About on SuperTechFans
J
Java Code Geeks
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Stack Overflow Blog
Stack Overflow Blog
Recent Announcements
Recent Announcements
GbyAI
GbyAI
F
Fortinet All Blogs
Blog — PlanetScale
Blog — PlanetScale
MongoDB | Blog
MongoDB | Blog
MyScale Blog
MyScale Blog
aimingoo的专栏
aimingoo的专栏
H
Help Net Security
月光博客
月光博客
博客园 - Franky
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Apple Machine Learning Research
Apple Machine Learning Research
The Cloudflare Blog
WordPress大学
WordPress大学
S
SegmentFault 最新的问题
T
Tailwind CSS Blog
Jina AI
Jina AI
有赞技术团队
有赞技术团队
博客园_首页

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - zhangshuo1991/openterm: An offline-first, locall...
zhangshuo199 · 2026-06-23 · via Hacker News: 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.