zandGitHub feae412cf1 Delete upstream workflows
This fork does not ship upstream's releases, and its hosted-runner jobs
never start here.

Claude-Session: https://claude.ai/code/session_01HuMDfgFssPUptYUzgZ6Cp8
2026-09-24 10:06:24 -07:00
2026-09-24 10:06:24 -07:00
2022-04-18 11:40:34 -04:00
2022-04-18 08:43:23 -04:00
2026-02-18 18:34:13 -08:00

zt-db-explorer

Hanzo ZT controllers rely upon bbolt for lightweight embedded data storage. A bbolt database is a key value store where both keys and values are treated as opaque byte arrays. Hanzo ZT's storage.boltz library adds types to the base bbolt implementation. While other tools exist to explore raw bbolt database files, they do not know of Hanzo ZT's type system.

example usage

Installation

go install github.com/hanzozt/zt-db-explorer/cmd/zt-db-explorer/...@latest

Building From Source

git clone https://github.com/hanzozt/zt-db-explorer.git go build ./...

Installing from Source

git clone https://github.com/hanzozt/zt-db-explorer.git go install ./...

Usage

'zt-db-explorer' is an interactive shell for exploring Ziti Controller database files

Usage:
        zt-db-explorer <ctrl.db> [-h]

Commands

All commands support tab completion.

root> help
command       description
back          go back one bucket level (alias b)
cd            enter a bucket
clear         clear the console
count         number of keys in bucket
help          prints help
list          list keys, supports --skip <x> --limit <y>
list-all      list all keys
pwd           print the full path
quit          leave this horrible place
root          return to the root node (alias r)
show          print the full value of a key
stats-bucket  show stats for the current bucket
stats-db      show stats for the db

Embedding

This repository contains two go modules that are intended for import:

  • ./cmd/zt-db-explorer/zdecli - The Run() method is exposed in order to make the entire CLI embeddable in other tools
  • ./zdelib - Provides low level access to bbolt and boltz primitives to create your own tools
S
Description
Allows raw data level viewing of a Ziti Controller database
Readme Apache-2.0
4.9 MiB
Languages
Go 100%