HexDB

Search HexDB

Find a feature, an API example, a step, a FAQ answer or a term, then jump to it.

HexDB for VS Code

Your Lattice, in Your Editor.

A free, open-source extension for VS Code: see every hex and where it runs, browse tessellations and documents, run SQL and GraphQL, edit stored functions, and review quarantined files and deletes, without leaving the editor.

Install

Extension ID dreaminhex.hexdb, published by Dream In Hex. Needs VS Code 1.100 or later. Apache 2.0; the source is in the HexDB repository.

code --install-extension dreaminhex.hexdb

Get going

  1. Install the extension from the Visual Studio Marketplace, or from Open VSX in VSCodium, Cursor, Windsurf and other VS Code forks.
  2. Open the HexDB view in the activity bar and choose Add Connection, or Connect to the Playground to try it on the public demo lattice.
  3. Paste a connection URI. The connection is tested before it's saved, and its credentials go into VS Code's secret storage, not your settings.
  4. Expand the connection to see its hexes, tessellations, functions, quarantine and delete history, and open a SQL or GraphQL editor from its row.

Connecting

The extension takes the same connection URI as every HexDB driver; an http:// or https:// address works too. Accounts with MFA are asked for a one-time code when they sign in. See Connection URIs in the manual.

hexdbs://db.example.com?apiKey=hxk_...      # HTTPS, with an API key
hexdbs://analyst:s3cret%21@db.example.com   # HTTPS, signing in with a login and password
hexdb://127.0.0.1:7700                      # HTTP; you're asked how to sign in

What it does

The lattice

Every hex with its role (Overseer, Harvester, Replicant), status and region. Show Lattice opens a card per hex with its location, replication state, lag, slices and version, refreshed every few seconds.

Tessellations and documents

Each tessellation lists its columns, marking the indexed ones. Browse Documents pages through them; click a document's id to open it as JSON, and with write permission, Ctrl+S saves it back.

SQL and GraphQL

Editors bound to a connection, shown in the status bar. Ctrl+Enter (Cmd+Enter) runs the statement at the cursor or the selection. Saved .sql, .graphql and .gql files work too, and SQL completes tessellation and column names.

Results

Each run opens a tab with a table or JSON view, a row filter, Load More for the next page, copying, and export to CSV or JSON.

Functions

Run any stored function with its parameters. Administrators can create Python, TypeScript and JavaScript scripts or query, aggregate and transaction functions, edit them, and delete them.

Quarantine

When the malware scan (ClamAV and YARA) flags an upload, administrators see what matched, who uploaded it and when, and can release a false positive, delete it, or rescan every stored file. HexDB 2.4 or later.

Deletes

The delete history: what each delete took, cascade included, who did it and when. Restore puts it all back in one step; Purge for Good empties what it left in the trash. HexDB 2.4.2 or later.

What you see and can change follows your HexDB permissions: tessellations you can't read aren't listed, documents you can't write open read-only, and only administrators change functions or see the quarantine.

Settings

SettingDefaultMeaning
hexdb.pageSize200Rows fetched per page of SQL results
hexdb.latticeRefreshSeconds5How often an open lattice view refreshes; 0 turns it off

Questions or problems: open an issue or use the contact form.

Other extensions from Dream In Hex

AISPM: AI Skills Package Manager

Browse, install and manage AI skill packages for Claude, Copilot, Amazon Q, Cursor and other assistants, from a sidebar and the Command Palette.

dreaminhex.aispm