Table of Contents
When you dive into the Pubky ecosystem, you aren't just installing a single application—you are spinning up an interconnected web of decentralized protocols designed to return digital sovereignty to the individual.
If you are trying to understand how all the moving pieces of your self-hosted Pubky stack fit together, here is a complete scope of the core services that power your personal node network.
1. The Core Infrastructure #
Pubky Homeserver Backend #
- The Engine: This is the foundational Rust-based binary running silently on your server. It serves as your personal storage engine and primary cryptographic authority.
- What it does: It acts as a secure data vault. When applications need to save user settings, profile data, or media files, they talk directly to this backend over local or proxy channels.
The Pkarr DHT Layer #
- The Network Atlas: Pubky relies heavily on Mainline DHT (Distributed Hash Table) via a tool called Pkarr (Public Key Address Routing).
- What it does: Instead of relying on a centralized corporate DNS system to find your server, your homeserver derives a global cryptographic identity string directly from its public key. It bootstraps into a public, global Pkarr relay network, broadcasting exactly where your storage node lives on the web so client applications can find it automatically without hardcoded IP configurations.
2. The Application Layers #
Pubky App (The Web Frontend) #
- The User Portal: Built on the Next.js framework, this is the user-facing web dashboard.
- What it does: It gives you a clean visual portal to interact with your data. Because it runs locally or proxy-isolated on its own port, it handles your interactions seamlessly while utilizing your backend storage engine for all data persistency.
Pubky Ring / Canopy #
- The Client Gateway: This is the administrative onboarding application you install on your mobile device or desktop.
- What it does: It uses a gated invitation architecture. By taking a generated Signup Token and your server's cryptographic Public Key, it communicates with the Pkarr DHT network to securely authenticate, claim your space, and initialize your cross-device identity stack.
How It All Communicates #
To visualize how your data, identity, and traffic flow through the stack:
- Discovery: Your Pubky Ring client asks the global Pkarr DHT network: "Where is the public key
4783y8q...located?" - Routing: The DHT resolves the request to your public domain name (
libky.libretechsystems.xyz). - Gateway: Nginx intercepts the incoming traffic securely over HTTPS (Port 443) and passes it directly to the local Homeserver Engine (Port 6286).
- Validation: The homeserver validates your Signup Token via its internal admin endpoint, opening up your sovereign storage lane.
By decoupling your identity (the Public Key) from your physical location (the server IP), Pubky ensures that your digital footprint remains permanently under your control.
last updated: