Skip to content

feigeCode/onetcli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,790 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Important

🚚 项目已迁移 / Project Migrated

OnetCli 已停止更新,但本仓库暂不归档。仓库将继续保留历史代码和现有 Issues;OnetCli 后续不再提供新功能、问题修复或版本发布,相关问题将在新的 Navop 仓库中继续修复。

项目后续开发已迁移至 Navop

OnetCli is no longer updated, but this repository will remain open and is not archived for now. Historical code and existing Issues will remain available. OnetCli will receive no new features, bug fixes, or releases; related issues will continue to be fixed in the new Navop repository.

Active development has moved to Navop:

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

  • AI Agent and Function Calling — AI agents can call tools to complete structured tasks, load skills through tools, and use improved resource pools, resource mentions, and catalog refreshes.
  • HTML preview flow — HTML code blocks can be opened in the browser or rendered in an in-app dialog, keeping chat content readable without intrusive inline previews.
  • Database compare and sync — improved schema/data compare windows, compare target loading, multi-table sync, and database compare sync stability.
  • Terminal productivity — added a terminal command history panel, SSH broadcast input across windows, and improved remote shell integration install, uninstall, and environment handling.
  • Connection import — added an entry for importing connections from other applications, with a refined home sidebar layout.
  • Team entry point — added a team management entry controlled by feature flags.
  • Extensions and language bundles — added language bundle extension support with detection and installation.
  • Rendering and font fixes — fixed font fallback/rendering issues that could cause garbled text, and reduced render-process blocking that could make connection lists and data lists stutter while scrolling.
  • Settings and UI polish — API key fields now support reveal/hide toggling, input components support local theme styling, and window/selector layouts have been refined.

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. Network database connections can route through per-connection SOCKS5 or HTTP CONNECT proxies, including authenticated proxies and SSH tunnels reached through a proxy. 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. Database compare tools support schema/data comparison, target selection, sync planning, and multi-table synchronization workflows.

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. Local terminal profiles support the system shell, PowerShell, Command Prompt, WSL, Git Bash, and custom programs with safely parsed arguments. The terminal also includes command history, SSH broadcast input across windows, remote shell integration management, and 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. Each connection can use a SOCKS5 or HTTP CONNECT proxy without requiring a provider protocol upgrade. 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, streaming LLM responses, AI Agent workflows, and Function Calling for tool-based task execution. HTML code blocks can be opened in the browser or previewed in an in-app dialog, and generated terminal commands can be quickly pasted into a terminal session and run.

Performance & Rendering

OnetCli uses native GPUI rendering and continues to tune heavy UI paths. Recent releases fixed font fallback/rendering issues that could cause garbled text, and reduced render-process blocking that could make connection lists and data lists stutter while scrolling.

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
Extensions
Extensions

Install

OnetCli downloads are retained as historical releases. New users should use Navop, the actively maintained successor to OnetCli.

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

One Net Client is a cross-platform unified desktop client that consolidates database operations, SSH/SFTP file transfer, RDP/VNC remote desktop, local terminal and an embedded AI Assistant in a single application.

Topics

Resources

License

Contributing

Stars

518 stars

Watchers

6 watching

Forks

Packages

 
 
 

Contributors

Languages

  • Rust 99.4%
  • Tree-sitter Query 0.2%
  • Shell 0.2%
  • WebAssembly 0.2%
  • Nix 0.0%
  • PowerShell 0.0%