Start

Docs

How based works as a desktop database client: engines, connections, the editor, the grid, the UI, and the files you commit.

based is a local-first desktop client for PostgreSQL, SQLite, MongoDB, and Redis. There is no account and no backend. You open a folder that contains a.based/ project, connect straight from your machine, and keep shared setup in plain files.

Two layers of state

Almost every control in the app belongs to one of two layers. Mixing them up is the usual source of “why didn’t this sync to my teammate?”

LayerWhere it livesShared?
Project.based/ in the repo — connections, saved queries,project.toml, vars.tomlCommit what the team should share. Gitignore secrets and personal state.
AppSettings window → native_preferences.toml on this machineTheme, fonts, page size, table behavior. Not part of the repo.

Workspace map

The main window is a three-pane shell: catalog on the left, tabs in the center, optional Inspector / History / Saved on the right. Home is the default center tab until you connect.

AreaWhat you do there
Left sidebarPick a connection, browse schema objects, open data or a new query.
Center tabsQuery editor, table viewer, structure inspector, Home, Mongo pipeline builder.
Right panesInspector metadata, per-connection run history, project saved queries.
Command paletteJump to objects, queries, history, and workspace commands without the mouse.

Guides