Why GoNavi?
Most database GUIs are Electron shells with megabytes of tax. GoNavi takes a different path — and “lightweight” only makes sense if you separate three numbers:
Installer MB ≠ RAM. The RSS figures above are one Linux cloud run of the v0.9.8 WebKit41 build (empty workbench, no DB connections, remote display, ~30–40 s steady). Do not compare them to installer size, or to unverified “native ~80 MB” marketing. Windows / macOS laptop numbers may differ — treat them as a labeled sample, not a leaderboard score.
One cockpit for MySQL, Postgres, Redis, Kafka, Milvus, OceanBase, ClickHouse…
Query, edit, audit, sync — and hand structured context to coding agents without leaking passwords off-host.
At a Glance
┌──────────────────────────────────────────────────────────────────────┐
│ GoNavi Workbench │
│ ┌─────────────┐ ┌──────────────────┐ ┌─────────────────────────┐ │
│ │ Connections │ │ Monaco SQL + AI │ │ Virtualized DataGrid │ │
│ │ SSH / Proxy │ │ Schema context │ │ Batch edit · Export │ │
│ │ Drivers │ │ Slash commands │ │ Txn submit / rollback │ │
│ └─────────────┘ └────────┬─────────┘ └─────────────────────────┘ │
│ │ │
│ ┌─────────────▼─────────────┐ │
│ │ Go core · Audit · Sync │ │
│ │ MCP HTTP · Web Server │ │
│ └───────────────────────────┘ │
└──────────────────────────────────────────────────────────────────────┘
Product screenshots
Each image is a full GoNavi application window (1440×900) captured from the latest dev build, scaled proportionally for README display.
💖 Sponsors
Want to sponsor GoNavi? We welcome sponsorships and partnerships that help sustain its open-source development. Contact the maintainer on WeChat:
ygf1140302783(note “GoNavi”) to start a conversation.
Special thanks to APISmart and HuaLongAI for sponsoring GoNavi open-source development.
- APISmart: https://www.apismart.ai/ — unified AI model API with an OpenAI-compatible interface.
- HuaLongAI: https://gonavi.hualong.online/ — console, docs, and the domestic high-speed endpoint.
HuaLongAI also sponsored a shared 50B token pool for GoNavi co-maintainers, used via API Key (not 50B per person). Rules and how to apply: Issue #671.
✨ Key Features
🤖 AI that knows your schema
- OpenAI · Gemini · Claude · custom OpenAI-compatible APIs
- Attach live table schemas as context
- Slash commands: generate SQL, explain, optimize, review
- MCP: after detecting a locally installed CLI, one-click connect Claude Code / Codex / OpenCode / ZCode / DeepSeek Harness / Kimi Code / Grok Build, or use Streamable HTTP for remote agents
- Secrets stay on the GoNavi host — agents get tools, not raw passwords
⚡ Built for large data
- Virtualized DataGrid for heavy result sets
- In-place cell edit · batch CRUD · transaction submit/rollback
- Large-field popup editor · smart read/write modes
- Export: CSV · XLSX · JSON · Markdown
- Monaco editor with context-aware completion
🔌 Connectivity without drama
- URI generate / parse
- SSH tunnel · proxy
- Connection JSON import / export
- On-demand optional driver agents
- Custom Driver + DSN extensibility
🛡️ Observable & shippable
- SQL execution logs with timing
- Audit center (redacted by default, retention, export)
- Desktop + experimental Web Server mode
- Docker / K8s / Helm / Podman packaging
- Auto update checks · multi-arch releases
To connect a custom OpenAI-compatible model service, add a provider in GoNavi's AI settings with its documented base URL (for example, https://api.example.com/v1), API key, and an available model ID. Match the selected model and API format to the GoNavi feature you intend to use.
🧩 Stack
Go 1.24 · Wails v2 · React 18 · TypeScript · Vite · Ant Design 5 · Zustand · Monaco
🗄 Supported Data Sources
Built-in — ready out of the box · Optional agent — install via Driver Manager
Elasticsearch REST console
Elasticsearch connections reuse the query workspace as a version-aware REST console:
- Write Dev Tools-style
METHOD /pathrequests with JSON bodies, or NDJSON for_bulkand_msearch; run the request at the cursor, the exact selection, or a batch in editor order. - Search hits can be viewed as a table while the complete HTTP response remains available as raw JSON or text.
- A server-side allowlist accepts supported search, document, index, mapping, settings, alias, health, and limited CAT operations. Unknown and high-privilege endpoints are rejected by default.
- Destructive operations require an expiring one-time confirmation. Connection protection still takes precedence and blocks writes as well as script-bearing reads.
- Writes are limited to concrete indices and require Elasticsearch
view_index_metadata(ormanage) permission so GoNavi can verify the target before sending data; aliases and data streams are not accepted as write targets. - Request templates adapt document, mapping, and Bulk paths for Elasticsearch 6, 7, and 8.
This console targets Elasticsearch 6/7/8. It does not claim OpenSearch compatibility, and intentionally excludes reindex, security, snapshot, node, cluster-settings, template, pipeline, lifecycle, and other unrestricted administration APIs.
🚀 Quick Start
Prerequisites
- Go 1.25+
- Node.js 18+
- Wails CLI
- Linux only: a C compiler, pkg-config, and the GTK3 / WebKitGTK development packages
go install github.com/wailsapp/wails/v2/cmd/[email protected]
Develop
git clone https://github.com/Syngnat/GoNavi.git
cd GoNavi
wails dev # full hot reload
node tools/wails-fast-dev.mjs # faster when Go exports unchanged
node tools/wails-fast-dev.mjs --refresh-bindings # after Go export signature changes
Build
wails build
wails build -clean # clean build before release
Artifacts → build/bin.
On Linux, install the build dependencies first (pick one):
# Debian 12+ / Ubuntu 22.04+
sudo apt-get install -y build-essential pkg-config libgtk-3-dev libwebkit2gtk-4.1-dev
# Fedora / OpenCloudOS 9
sudo dnf install -y gcc pkgconf-pkg-config gtk3-devel webkit2gtk4.1-devel
# RHEL / Rocky / AlmaLinux 9 (WebKitGTK 4.0 only)
sudo dnf install -y gcc pkgconf-pkg-config gtk3-devel webkit2gtk3-devel
# Arch Linux
sudo pacman -S --needed base-devel gtk3 webkit2gtk-4.1
The build detects whether WebKitGTK 4.1 or 4.0 is installed. The frontend build peaks at about 3 GB of memory.
Prefer a binary?
Grab the latest build from Releases
(macOS AMD64/ARM64 · Windows AMD64 · Linux WebKitGTK 4.0/4.1).
Standalone CLI
Stable and dev builds carry headless gonavi archives under the
gonavi-cli_${VERSION}_${GOOS}_${GOARCH} namespace with a matching
gonavi-cli_${VERSION}_checksums.txt file. Download the matching archive from
the GitHub Release, verify its checksum, extract it, then run:
gonavi list-connections
gonavi query --conn CONNECTION_ID --sql 'SELECT * FROM orders LIMIT 10'
gonavi export --conn CONNECTION_ID --output orders.csv --sql 'SELECT * FROM orders'
gonavi batch --conn CONNECTION_ID --file migration.sql --allow-write
The project does not currently publish the CLI to npm. Install it directly from the verified release archive instead.
The stable workflow also generates and retains a checksum-driven WinGet
manifest artifact for Syngnat.GoNavi.CLI; it must be accepted by the WinGet
community repository before the package is available there. The existing
desktop GoNavi package is separate. After acceptance, install with:
winget install --id Syngnat.GoNavi.CLI -e
The CLI shares the active data root with the desktop application:
GONAVI_DATA_ROOT first, then ~/.gonavi/storage_root.json, then ~/.gonavi.
Use a 0600 owner-only --connection-file for transient credentials; secrets
are never accepted as command-line flags. Query output defaults to JSONL, while
diagnostics go to stderr. Mutating SQL also requires the stored AI safety level,
connection protections, and --allow-write.
For Linux containers, copy docker.cli.env.example, set the host data root and
your host UID/GID, then run the CLI against the same mounted /data directory:
cp docker.cli.env.example docker.cli.env
docker compose --env-file docker.cli.env -f docker-compose.cli.yml run --rm gonavi-cli list-connections
🌐 Web Server (Experimental)
Same Go backend + React UI over HTTP — not a containerized Wails window.
go build .
.\GoNavi-Wails.exe web-server --addr 127.0.0.1:34116
- First visit →
/setup(admin password; optional Google Authenticator) - Bridge:
window.go.*/window.runtime.*→ HTTP / SSE - Sessions, recovery codes, login rate limits
- Plugins: read-only by default; set
GONAVI_WEB_PLUGIN_MANAGEMENT=1on the server to let authenticated sessions install and enable plugins (this executes plugin code on the host)
Docker / Podman
cp docker.web-server.env.example docker.web-server.env
# set GONAVI_HOST_DATA_ROOT (absolute path)
# optional: GONAVI_WEB_PASSWORD (min 6 chars)
docker compose --env-file docker.web-server.env -f docker-compose.web-server.yml up -d
Open http://127.0.0.1:34116. Mount the active data root at /data
(connections.json, daily_secrets.json, optional drivers/).
Auth state → web_auth.json.
Do not expose an unhardened web entry to the public internet. Use reverse proxy + HTTPS in production.
Health: GET /__gonavi/healthz
Local source build: add -f docker-compose.web-server.local.yml --build.
After changing env passwords:
docker compose --env-file docker.web-server.env -f docker-compose.web-server.yml up -d --force-recreate
(docker restart does not reload env files.)
🤖 MCP & Agents
Ship schema tools to agents without shipping your vault:
cp docker.mcp-server.env.example docker.mcp-server.env
docker compose --env-file docker.mcp-server.env -f docker-compose.mcp-server.yml up -d
Image tags (all four images follow the same scheme):
Pin an exact release when a cluster should not drift; dev-latest is a moving
pointer and is not a stable anchor. Release tags are published both with and
without a v prefix (v0.9.8 and 0.9.8) pointing at the same digest, so use
whichever your tooling expects.
Safety defaults: remote schema-only omits execute_sql; when enabled it follows the same AI safety controls as the built-in assistant, and calling execute_sql is the confirmation.
Details: cmd/gonavi-mcp-server/README.md.
Linux build environment only
docker build -f Dockerfile.build-env -t gonavi-build-env:local .
docker run --rm -it -v "$PWD:/workspace" -w /workspace gonavi-build-env:local bash
📦 Release Pipeline
Push a v* tag → GitHub Actions builds multi-arch releases.
Notes auto-generated from merged PRs via .github/release.yaml.
🛠 Troubleshooting
The GoNavi desktop app on Windows depends on the Microsoft Edge WebView2 Runtime (a system component, not full Chrome).
Some intranet / thin / Server / LTSC images ship without it. Symptoms:
- Process exits immediately, blank/white window
- Errors about missing WebView2 / WebView2 Runtime
- Installer blocked by AV or group policy
1. Check whether Runtime is installed
In PowerShell:
# Common Evergreen install path (64-bit Windows)
Test-Path "${env:ProgramFiles(x86)}\Microsoft\EdgeWebView\Application"
# Registry (a `pv` version usually means installed)
Get-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}" `
-ErrorAction SilentlyContinue |
Select-Object pv, name
If the path is missing and registry has no pv, install the Runtime.
2. Online install (simplest)
- Open the official download page:
Microsoft Edge WebView2 - Download the Evergreen Bootstrapper (small; needs network during install)
- Run as Administrator, then restart GoNavi
3. Offline / intranet: Standalone installer (recommended for IT)
The Bootstrapper fails on fully air-gapped machines. Use the Evergreen Standalone Installer instead:
- On a machine with internet, download the matching architecture package, e.g.:
MicrosoftEdgeWebView2RuntimeInstallerX64.exe(most 64-bit PCs)…X86.exe/…ARM64.exeas needed
- Copy the installer into the intranet (USB, software center, share)
- Install as Administrator on the target PC:
# Interactive
.\MicrosoftEdgeWebView2RuntimeInstallerX64.exe
# Silent (batch / SCCM friendly)
.\MicrosoftEdgeWebView2RuntimeInstallerX64.exe /silent /install
- Start GoNavi again. If it still fails, sign out or reboot Windows once.
4. Group policy / locked-down PCs
- Needs local admin, or IT push via SCCM / software center
- Ensure policies do not block Edge/WebView2 install or updates
- Enterprises may pin a Fixed Version Runtime (most users should prefer Evergreen)
5. Temporary workaround: Web Server mode
If the desktop WebView cannot be installed yet, run the experimental Web Server and use a normal browser:
.\GoNavi.exe web-server --addr 127.0.0.1:34116
Open http://127.0.0.1:34116. See the Web Server section above.
Do not expose an unhardened Web endpoint to the public internet.
Tracker / discussion: #672.
The next stable macOS release is gated on Developer ID signing and Apple notarization. Download the DMG from the matching GitHub Release, move GoNavi to Applications, and open it normally. Do not remove Gatekeeper quarantine metadata.
# Debian 13 / Ubuntu 24.04+
sudo apt-get update
sudo apt-get install -y libgtk-3-0 libwebkit2gtk-4.1-0 libjavascriptcoregtk-4.1-0
# Ubuntu 22.04 / Debian 12
sudo apt-get update
sudo apt-get install -y libgtk-3-0 libwebkit2gtk-4.0-37 libjavascriptcoregtk-4.0-18
Artifacts with -WebKit41 prefer Debian 13 / Ubuntu 24.04+.
sudo apt-get update
sudo apt-get install -y fonts-noto-cjk fonts-wqy-microhei
fc-cache -fv
🤝 Contributing
Issues and PRs welcome. Branch from dev, PR against dev.
- CONTRIBUTING.md
- Call for contributors (incl. sponsored token pool): Issue #671
🤝 Contributors
💬 Contact & Feedback
For technical reports, include version, OS, and repro steps when possible. Windows blank/crash on intranet images: WebView2 guide.
⭐ Star History
Links
- APISmart — Unified AI model API (GoNavi sponsor)
- HuaLongAI — AI API Gateway (GoNavi sponsor)
- linux.do
- AIBook