Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,347 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OnetCli

OnetCli

Native all-in-one workspace for databases, SSH, SFTP, port forwarding, terminals, remote desktop, monitoring, and AI.

Built with GPUI · Rust native desktop · GPU-accelerated rendering

Downloads CI License QQ Group 860670605 Join WeChat Group

MySQL PostgreSQL SQLite DuckDB ClickHouse SQL Server Oracle Dameng DM KingbaseES GBase 8s OceanBase openGauss Apache IoTDB Redis MongoDB SSH SFTP Port Forwarding RDP VNC

中文 · Install · Latest Release · Features · Screenshots · Contributing

OnetCli overview

What's New in v0.7.0

  • MCP public toolchain — complete MCP (Model Context Protocol) support: create connections, execute SQL, run Redis and SFTP operations, manage typed tools, approval queues, and helper installation, all available as MCP tools.
  • Redis SSH tunneling — Redis connections now support SSH tunnels, plus namespace child key display during search.
  • SFTP MCP tools — remote path checking, file upload, and file download exposed as structured MCP tools.
  • Home page overhaul — connection list now uses unified rendering with drag-and-drop reordering and layout switching.
  • Window pin — keep OnetCli always on top of other windows.
  • SQL improvements — max row limit for query results, manifest-based database schemas, custom font import for the SQL editor.
  • Terminal font family — configurable font family for terminal sessions.
  • CLI / automation runtime — unified CLI and automation tool runtime architecture, enabling structured remote operations.
  • AI fix — separated AI reasoning output from chat replies for cleaner message display.
  • Perf — optimized remote desktop frame transport.
  • i18n — added SSH tunnel localization strings.

Why OnetCli?

Native desktop, not a browser shell

OnetCli is built with Rust and GPUI for a native desktop experience with GPU-accelerated rendering.

One workspace for daily ops

Database management, SSH terminals, SFTP file transfer, port forwarding, serial connections, local terminals, and remote desktop (RDP/VNC) live in one app.

AI next to your data

Use the built-in AI assistant for natural language to SQL, query explanation, BI-style analysis, and chart generation.

Remote work without context switching

Open 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.

Beyond the built-in drivers, OnetCli ships an extension marketplace that adds database drivers for Dameng DM, KingbaseES, GBase 8s, OceanBase, openGauss, Apache IoTDB, and a pure-Go Oracle driver that runs without Oracle Instant Client. Install the ones you need and they appear alongside the built-in connections.

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, Port Forwarding, Serial & Terminal

Open integrated SSH sessions, manage SFTP files, start port forwarding tunnels, 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.

Port Forwarding

Create reusable SSH port forwarding connections from existing SSH/SFTP servers. OnetCli supports local forwarding for services such as databases or internal HTTP endpoints, plus dynamic SOCKS tunnels for routing tools through a remote host.

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.

Remote Desktop (RDP & VNC)

Open RDP and VNC sessions through installable remote desktop providers. Connect to Windows machines over RDP, or to any VNC server, and drive the remote desktop from the same workspace where your databases, terminals, and files live.

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
Database SSH
SFTP Redis
SFTP Redis
MongoDB AI Chat
MongoDB AI Chat
Monitoring SFTP Sidebar
Monitoring SFTP Sidebar
Remote File Editor ER Diagram
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

The built-in Oracle driver requires Oracle Instant Client (Basic package). Download the version matching your platform and ensure the libraries are in your library search path. Alternatively, install the pure-Go Oracle driver from the extension marketplace, which has no Instant Client dependency.

Getting Started

  1. Open OnetCli and create your first database connection.
  2. Add an SSH host and open a remote terminal.
  3. Create a port forwarding connection from that SSH host when you need a local tunnel or SOCKS proxy.
  4. Open SFTP file management to browse remote directories or transfer files.
  5. Try Redis key browsing or MongoDB document browsing.
  6. 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, duckdb
Database extensions Dameng DM, KingbaseES, GBase 8s, OceanBase, openGauss, Apache IoTDB, pure-Go Oracle
Redis / MongoDB redis, mongodb
SSH / SFTP / Port Forwarding russh, russh-sftp, SOCKS5 over SSH direct-tcpip
Remote Desktop RDP & VNC providers via extension runtime
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, plus dedicated Redis and MongoDB views. The extension marketplace adds Dameng DM, KingbaseES, GBase 8s, OceanBase, openGauss, Apache IoTDB, and a pure-Go Oracle driver, so domestic and specialty databases are covered alongside the mainstream ones.

Does Oracle need extra setup?

Yes. The built-in Oracle driver requires Oracle Instant Client to be installed and available through your system library search path. You can also install the pure-Go Oracle driver from the extension marketplace, which runs without Instant Client.

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.

Star History

Star History Chart

About

All-in-one cross-platform desktop tool for databases, SSH/SFTP, Redis, MongoDB, terminals & AI.

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages