Jul 17, 2025

Nostr vs. Pubky Comparison (July 2025)

Nostr is a purpose-built, minimal censorship-resistant social protocol, while Pubky is a public-key-first web backend architecture aiming to extend self-sovereign identity and storage far beyond social media, using more traditional web infrastructure and DNS analogies.

Feature Overview

FeatureNostrPubky
Main PurposeDecentralized social/messaging protocolDecentralized backend for identity, DNS, storage, messaging
Data ModelSigned events (JSON) via relays; non-permanent storageKey-value store by public key; user/homeserver controls storage
Identity (Key Type)secp256k1 key pair (Bitcoin compatible)Ed25519 key pair
Protocol/APIWebSockets; NIP-specified JSON messagingRESTful HTTP (PUT/GET/DELETE); language SDKs
Authenticationsecp256k1 signatures; Schnorr optionalEd25519 signatures; optional session/token auth
ExtensibilityNIPs, modular clients/relaysSchemas, CLI/tools, app plugins, PKarr (alt-DNS)
Storage/RetentionRelays decide what to store; users can post to manyUser/homeserver determines data permanence
Censorship ResistanceAnyone can run relays; users can multi-home; resistance at relay layerAnyone can run/choose homeserver; direct user data control
Posting/MediaText, images, links, files, rich media via extensionsText, chat, long notes, files, media (all formats supported)
Clients100+ open-source web, desktop, mobile, and CLI clientsPrimarily the official web app at this stage; broader client ecosystem expected as project matures
DHT NetworkNot used; relays act as message hubsIntegral: DHT underpins PKarr DNS and content discovery
CodebaseMultiple language repos; established, active ecosystempubky-core (Rust), PKarr, web app; early but open to contribution and extension
CustomizabilityModular; many forks/clients/relaysDesigned for extensibility; true diversity will follow as ecosystem grows
CommunityLarge, distributed, high relay/client diversityDeveloper-focused, early user and tool adoption
Recent ActivityOngoing dev, new NIPs, client innovationCore protocol and DHT/PKarr actively developed; expanding tools and integration

DHT and Pubky

  • Pubky: Uses a DHT for decentralized naming (PKarr), content discovery, and routing, aiming at robust censorship resistance and user autonomy as deployment increases.
  • Nostr: Does not use a DHT; relies on multiple independent relays for decentralization.

Takeaways

  • Nostr is a mature, established protocol with high diversity in software and participation. Its minimalistic, event-based approach and thriving ecosystem fuel broad adoption and rapid evolution.
  • Pubky is an emerging platform building infrastructure for flexible application backends and decentralized naming, with a promising model and clear technical vision—the broader ecosystem is likely to expand as development progresses.

References

Current as of July 2025, per official project repositories and documentation.