- 移除upload-r2.yml中重复上传到releases/latest的代码行 - 简化文件上传逻辑,避免不必要的冗余操作 - 保持上传对象调用的唯一性和一致性
OnetCli
Native all-in-one workspace for databases, SSH, SFTP, terminals, monitoring, and AI.
Built with GPUI · Rust native desktop · GPU-accelerated rendering
中文 · Install · Latest Release · Features · Screenshots · Contributing
Why OnetCli?
Native desktop, not a browser shellOnetCli is built with Rust and GPUI for a native desktop experience with GPU-accelerated rendering. |
One workspace for daily opsDatabase management, SSH terminals, SFTP file transfer, serial connections, and local terminals live in one app. |
AI next to your dataUse the built-in AI assistant for natural language to SQL, query explanation, BI-style analysis, and chart generation. |
Remote work without context switchingOpen a remote terminal, browse files through SFTP, drag files into the sidebar, and edit remote files with syntax highlighting. |
Features
Database Workspace
Connect to MySQL, PostgreSQL, SQLite, DuckDB, SQL Server, Oracle, and ClickHouse from a single interface. Browse schemas, tables, columns, indexes, foreign keys, procedures, functions, triggers, and sequences where supported.
SQL Editor & Schema Tools
Work with a SQL editor backed by syntax tooling, schema-aware browsing, table structure editing, query execution, explain support, and ER diagrams.
Redis & MongoDB
Use the dedicated Redis viewer for key browsing, value inspection, and cluster connections. Explore MongoDB collections, inspect documents, and run queries from the same workspace.
SSH, SFTP, Serial & Terminal
Open integrated SSH sessions, manage SFTP files, connect to serial devices, and keep local terminals in multi-tab sessions. The terminal includes an SFTP sidebar with drag-and-drop upload support, path favorites, and quick jumps to frequently used directories.
Remote File Editing
Edit remote files directly inside OnetCli with syntax highlighting and autocomplete. No need to open another editor or switch back and forth between terminal and file tools.
Monitoring & Charts
Use built-in server monitoring and native rendered charts to inspect remote machine status and data analysis output.
AI Assistant
Chat with AI inside the app. OnetCli supports natural language to SQL, query explanation, BI-style data analysis, chart generation, and streaming LLM responses. It can also generate terminal commands that you can quickly paste into a terminal session and run.
Sync, Security & i18n
Sync connections and settings across devices with encrypted key storage based on AES-GCM and Ed25519. OnetCli supports light and dark themes, English, Simplified Chinese, and Traditional Chinese.
Screenshots
| Database | SSH |
|---|---|
![]() |
![]() |
| SFTP | Redis |
|---|---|
![]() |
![]() |
| MongoDB | AI Chat |
|---|---|
![]() |
![]() |
| Monitoring | SFTP Sidebar |
|---|---|
![]() |
![]() |
| Remote File Editor | ER Diagram |
|---|---|
![]() |
![]() |
Install
Download the latest build from the Releases page.
Release artifacts are currently published by platform:
| Platform | Architecture | Artifact |
|---|---|---|
| macOS | Apple Silicon, Intel | .dmg, .tar.gz |
| Linux | x86_64 | .tar.gz |
| Windows | x86_64 | .zip |
Checksums are published as sha256sums.txt in each release.
macOS Gatekeeper
If macOS blocks the app after installing the DMG with "Apple cannot check it for malicious software", run:
sudo xattr -rd com.apple.quarantine /Applications/OnetCli.app
Oracle Support
Oracle connections require Oracle Instant Client (Basic package). Download the version matching your platform and ensure the libraries are in your library search path.
Getting Started
- Open OnetCli and create your first database connection.
- Add an SSH host and open a remote terminal.
- Open SFTP file management to browse remote directories or transfer files.
- Try Redis key browsing or MongoDB document browsing.
- Use the AI assistant in SQL or data analysis workflows.
Build From Source
Prerequisites
- Rust 2024 edition
- Platform-specific system dependencies
System Dependencies
macOS / Linux:
./script/bootstrap
Windows (PowerShell):
.\script\install-window.ps1
Run
cargo run -p main
Development Checks
# Build
cargo build
# Test
cargo test --all
# Lint
cargo clippy --workspace --all-targets
# Format check
cargo fmt --check
See CONTRIBUTING.md for the full development guide.
Tech Stack
| Category | Technologies |
|---|---|
| UI Framework | GPUI |
| Language | Rust |
| Databases | tokio-postgres, mysql_async, rusqlite, tiberius, oracle, clickhouse |
| Redis / MongoDB | redis, mongodb |
| SSH / SFTP | russh, russh-sftp |
| Terminal | alacritty_terminal |
| Text Editing | ropey, tree-sitter, sqlparser |
| AI | llm-connector |
| Encryption | aes-gcm, sha2, ed25519 |
| i18n | rust-i18n |
FAQ
Which databases are supported?
OnetCli has built-in database support for MySQL, PostgreSQL, SQLite, DuckDB, SQL Server, Oracle, and ClickHouse. It also includes dedicated Redis and MongoDB views.
Does Oracle need extra setup?
Yes. Oracle connections require Oracle Instant Client to be installed and available through your system library search path.
Where can I download OnetCli?
Use the GitHub Releases page. The current release workflow publishes macOS, Linux, and Windows artifacts with checksums.
Is OnetCli free?
All features are available without sponsorship. The source is licensed under Apache License 2.0, and distribution or product use is also subject to the OnetCli Supplementary License.
How do I report bugs or request features?
Open an issue on GitHub Issues. For code changes, please read CONTRIBUTING.md first.
Support
OnetCli is maintained by one person over the long term. If it saves you time, you can support the project through donations, stars, bug reports, or focused pull requests.
Donation
Donation is optional and does not unlock or restrict any features. See DONATE.md for WeChat Pay, Alipay, and PayPal options.
Community Contacts
Official community channels:
Credits
ER diagram rendering is based on ferrum-flow.
License
Licensed under Apache License 2.0.
The distribution and use of the OnetCli application are additionally subject to the OnetCli Supplementary License, which adds the following restrictions on top of Apache 2.0:
- No redistribution, resale, or repackaging as a standalone product
- No creating competing products or services based on this software
- No hosting on unauthorized distribution platforms
For licensing inquiries, contact xiaofei.hf@gmail.com.










