OpsKat: proxy chains, SQL parse rules and a Wails desktop for server work
OpsKat — All-in-one server ops workstation
At a glance
- What is it?
- OpsKat is a Go and Wails desktop workbench for SSH, RDP, databases, Redis, Kafka, Kubernetes and object storage, with an AI layer that only proposes actions. The interesting parts are the ordered proxy chain model, the parser behind the SQL allow and deny lists, and a Makefile that stamps 1.0.0 by default.
- Who is it for?
- OpsKat fits an operator who keeps SSH clients, database GUIs and Kafka consoles open at the same time and wants one credential store with one policy surface. It does not fit a headless setup, since the product is a desktop bundle and the verification harness in the repository expects a real server and a headless Chromium.
- Can I use it commercially?
- Yes, with conditions. GPL-3.0 is a copyleft licence: if you distribute software that includes it, you must release that software's source code under the same licence. Running it internally without distributing it does not trigger that obligation.
- Is it still maintained?
- Yes. The repository last received commits 1 day ago.
- What is it written in?
- Mainly Go, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.
Star history
- opskat/opskat707 ★ · +41
| Repository | 2026-09-10 | 2026-11-25 |
|---|---|---|
| opskat/opskat | 666 | 707 |
41 Stars in the last 76 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
Ordered proxy chains replace two older tunnel fields
SSH and remote data assets connect through an ordered chain when direct access is not enough, and a chain is a list of layers. Three kinds exist: SSH tunnel layers that reuse an existing SSH asset as the next hop, SOCKS5 layers with optional username and password, and HTTP script tunnel layers compatible with DBX-style scripts described by URL, token and timeout.
The migration rule is the part to check on an existing install. A single SSH tunnel, stored as `sshTunnelId` or `ssh_asset_id`, and the SOCKS5 `proxy` setting are still read, and both are mapped to a one-layer chain when the asset is edited. Once a new chain is saved, `proxy_chain` takes precedence, so an asset can hold both fields during the edit and only one meaning afterwards.
One chain model covers eleven connection types
SSH, SQL databases, Redis, MongoDB, Kafka, etcd, Kubernetes, VNC, RDP and S3-compatible object storage all share that chain model. Two assets behave differently and both cases are stated. A Kafka asset applies its chain to brokers, to the Schema Registry and to every Kafka Connect cluster, so a single setting covers three separate endpoints. Local SQLite stays local, while remote SQLite reaches its file through the selected SSH asset, which can itself carry a chain.
Remote desktop has no bridge service at all. VNC is rendered through noVNC with session bytes carried over Wails IPC, and it supports target credentials, proxy chains, text clipboard synchronisation and an optional SSH or SFTP file channel. RDP uses an embedded client rendered directly in an application tab, with resolution, domain, text clipboard synchronisation and direct file clipboard transfer. The same tab surface therefore carries two protocols with different clipboard behaviour.
SQL policies are enforced by a parser, not by a string match
Allow and deny lists cover SSH and serial commands, SQL statements, Redis, MongoDB, Kafka, Kubernetes and etcd operations. SQL is the one with a parser in front of it: statements are analysed and dangerous operations are blocked automatically, with DELETE and UPDATE carrying no WHERE clause as the named example.
The dependency list explains what that parser is. `go.mod` requires the TiDB parser package at a commit-pinned pseudo-version, which is a full SQL grammar rather than a regex, and the app depends on five separate drivers for the same reason: MySQL, pgx for PostgreSQL, go-mssqldb for SQL Server, glebarez for local SQLite and ncruces for the remote VFS. A grammar-based check also means the rules have edges, and your own migration style is what decides whether an edge bites you.
The AI proposes, the machine executes
Configure any OpenAI- or Anthropic-compatible provider and the agent takes plain language requests: recent nginx error logs on a named host, a user count grouped by status, lagging Kafka consumer groups under policy control, or a k3s health summary through kubectl. The stated positions are short. Your key is encrypted and stored locally through the OS keyring. OpsKat talks to the configured model directly, with nothing relayed through its servers, so a local endpoint such as an OpenAI-compatible Ollama works the same way.
The control model matters more than the model list. The AI only proposes actions; every command runs from your own machine against your own servers, under policy and audit controls, and tool calls carry an audit trail with decision context where available. Pre-approved permissions close the loop in the other direction: the AI or `opsctl` can ask for a batch of command patterns up front, and once approved, matching commands run without a further prompt.
A plain make build stamps version 1.0.0
The Makefile splits the binary path by platform, pointing at an app bundle on Darwin, a bare binary on Linux and an `.exe` elsewhere, and it takes the version from a variable that defaults to 1.0.0. The published tags are a different line: v1.13.5 on 2026-09-11, v1.14.0 on 2026-09-23, and a rolling `nightly` tag whose version string carries the date, v1.14.0-nightly.20260929.
So a local build made without passing `VERSION` reports itself as 1.0.0 while the release line is at 1.14.x, and the commit id is stamped separately into an internal buildinfo package. Two build targets exist on purpose: `build` produces the desktop app, while `build-embed` first builds the `opsctl` command line tool and then builds the app with an embed tag so the binary carries the CLI inside it.
dev-sandbox runs the real app on an isolated data directory
The verification path is unusually concrete. `make dev` runs `wails dev` against your own data directory for manual work, and the Makefile warns against verifying anything that writes on real data there. `make dev-sandbox` instead runs the real application in the background on an isolated data directory with a headless Chromium attached, and the workflow is a script to start it, `e2e/drive.mjs` to operate it and `e2e/oracle.mjs` to read the side effects, so a one-off check does not need a written spec.
Ports and data directories are assigned per checkout, which means several worktrees can verify at the same time, and arguments turn the sandbox into other things: `--reset` clears its data, `--mocks` starts protocol mocks, `--extensions` installs the in-repository extensions and turns the extension system on, and `--headed` shows the browser.
The e2e env file ships placeholder passwords and a key path
`.env.example` is the harness configuration for real-target verification, and it is written for operators rather than for CI. The application does not read the file; only the e2e harness loads it into the process environment, and it skips entirely when the file is absent. The header carries a warning in Chinese that a real target means real side effects, that only read-only and non-destructive operations should be run, and that sections for services you do not have should be deleted.
The placeholders are honest about what they are. Password fields ship as `changeme` and every host defaults to `10.0.0.1`, while the SSH section offers `key` or `password` auth with `E2E_SSH_KEY` set to `~/.ssh/id_rsa`. That last line carries its own trap: the comment warns that connect reads the private key file without expanding `~`, so you have to expand it to `$HOME` yourself before the harness can authenticate.
Two Mongo driver majors and a WebAssembly runtime in one binary
A few dependencies answer questions the feature list leaves open. The module requires both `mongo-driver` v1.17.1 and `mongo-driver` v2.5.1, which means the v1 and v2 lines are in the build at the same time. It also requires `wazero`, a WebAssembly runtime, which is the natural host for the `plugin/` and `extensions/` directories in the tree, and `go.bug.st/serial` for the serial console that the policy list covers alongside SSH commands.
The remaining shape is conventional but broad: `internal/`, `pkg/`, `cmd/`, `migrations/`, `frontend/`, `wails.json`, a `Makefile` and `.golangci.yml` for lint, plus both `AGENTS.md` and `CLAUDE.md` at the root as working agreements for agents changing the code. The repository is GPL-3.0, which matters if you intend to ship a modified build of the desktop app.
Editorial conclusion
OpsKat fits an operator who keeps SSH clients, database GUIs and Kafka consoles open at the same time and wants one credential store with one policy surface. It does not fit a headless setup, since the product is a desktop bundle and the verification harness in the repository expects a real server and a headless Chromium. Before trusting it, read the proxy chain precedence rules for any asset that still carries `sshTunnelId` or `proxy`, decide whether the SQL parser rules match how your own migrations are written, and check what the AI path can reach once a policy group is approved.
Frequently asked questions
What does OpsKat cover out of the box?
SSH and RDP hosts, SQL databases, Redis, MongoDB, Kafka, Kubernetes, etcd and S3-compatible object storage, plus SFTP, VNC, port forwarding, a SOCKS proxy and encrypted credential storage. It ships as a desktop app for macOS, Windows and Linux with no Go or Node toolchain needed.
How does OpsKat handle proxy chains?
SSH, database, Redis, MongoDB, Kafka, etcd, Kubernetes, VNC, RDP and object storage assets share one ordered chain model of SSH tunnel, SOCKS5 and HTTP script layers. Older `sshTunnelId` and `proxy` settings are still read and become a one-layer chain, and `proxy_chain` wins once a new chain is saved.
Does OpsKat send server traffic through its own servers?
No. It talks to the model you configure directly, nothing is relayed through its servers, and your API key is encrypted and stored locally. The AI only proposes actions, and every command runs from your machine against your servers under policy and audit controls.
How does OpsKat decide whether a command is allowed?
Allow and deny lists cover SSH and serial commands, SQL, Redis, MongoDB, Kafka, Kubernetes and etcd operations, with built-in policy group templates such as Linux read-only plus custom groups. SQL is analysed by a parser that blocks dangerous operations, including DELETE or UPDATE without a WHERE clause.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/opskat-opskat)Star history chart for your README
[](https://hysenlabs.com/projects/opskat-opskat)Was this useful?