Skip to content

Pubky Nexus

Markdown

Pubky Nexus indexes public social data from Homeservers using the pubky-app-specs data model and serves it through an API for pubky.app and compatible clients. It is an application service, not a requirement for every Pubky app.

Use Nexus when your app needs views across social records, such as feeds, search results, replies, or tags and follow relationships. It lets the client request an indexed result instead of locating and combining each record itself. The semantic social graph explains how these relationships support contextual views.

Applications publish changes to users’ Homeservers. Nexus watches Homeserver event feeds, fetches relevant public records, and updates its indexes. Clients then query those indexes. The pubky.app reference architecture shows how this works alongside a browser’s local cache.

Nexus does not write a user’s posts on their behalf, and its index does not replace Homeserver storage. A missing API result can mean that the instance has not indexed the record; it does not by itself mean the original record is absent. Instance coverage and indexing delay matter when building a client.

For implementation and operation, see:

Nexus Scout lets AI agents and developers run read-only Cypher queries over the Pubky social graph and receive JSON results. The public instance uses a periodically refreshed replica, so results can lag behind the Nexus API. See the agent guide for schema discovery, query examples, and limits.