DocsReference

API Reference

Detailed documentation for TopGun’s client libraries, server configuration, and protocol specifications.

Client

TopGunClient — the imperative SDK surface that React hooks call into.

View Client →

Core

LWWMap, ORMap, HLC, and MerkleTree — the CRDT primitives shared by client and server.

View Core →

React

Hooks for reactive data, mutations, sync state, and search.

View React →

Adapters

IDBAdapter, IStorageAdapter contract, and EncryptedStorageAdapter.

View Adapters →

Server & CLI

Rust server — CLI flags, environment variables, endpoints, and embed API.

View Server & CLI →

MCP

Model Context Protocol tools that let AI assistants read and mutate TopGun data.

View MCP →

Protocol

Wire format and synchronization protocol specification.

View Protocol →