pubky / pubky-core
An open protocol for per-public-key backends for censorship resistant web applications.
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing pubky/pubky-core in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewAn open protocol for per-public-key backends for censorship resistant web applications. Docs Site | Rust Client's Docs | | JS bindings > The Web, long centralized, must decentralize; Long decentralized, must centralize. Overview Pubky-core combines a censorship resistant public-key based alternative to DNS with conventional, tried and tested web technologies, to keep users in control of their identities and data, while enabling developers to build software with as much availability as web apps, without the costs of managing a central database. Features • Public key based authentication. • Public key based 3rd party authorization. • Key-value store through PUT/GET/DELETE HTTP API + pagination. Getting started This repository contains a Homeserver, and a SDK (both Rust and JS wasm bindings). You can a run a local homeserver using with more instructions in the README. Check the Examples directory for small feature-focesed examples of how to use the Pubky SDK. JavaScript If you prefer to use JavaScript in NodeJs/Browser or any runtime with Wasm support, you can either install from npm or build the bindings yourself: Testing There are unit tests for the JavaScript bindings in both NodeJs and headless web browser, but first you need to run a local temporary Homeserver Then in a different terminal window: Docker An alternative way to start tinkering with Pubky is to build an isolated container and run it locally. Here is an example command how to build an image: A command for running it in an isolated environment with log output: Additional optional arguments can be used to run it in the background, but the most important is , which allows the container to access the network and provides an admin endpoint accessible from the host machine. Please refer to the Docker documentation for more detailed options. Links • Contributors Guide