p2panda is a modular Rust framework designed to enable developers to build modern, secure, and privacy-respecting local-first applications with offline capabilities, supporting everything from internet to packet radio communication.
In an era where data privacy concerns and internet dependency have become increasingly problematic, a new open-source project called p2panda is emerging as a comprehensive solution for building local-first applications. The project takes a modular approach, allowing developers to pick and choose components that best suit their needs while avoiding the pitfalls of framework lock-in.
The Vision Behind p2panda
The core philosophy driving p2panda is simple yet powerful: applications should work seamlessly even when offline, respect user privacy by default, and remain secure across unstable or ephemeral connections. The project aims to provide everything developers need to build modern applications that prioritize user autonomy and data sovereignty.
What sets p2panda apart is its "broadcast-only" architecture at its heart. This design choice makes any data not only offline-first but also compatible with post-internet communication infrastructure. Imagine being able to share data through shortwave radio, packet radio, Bluetooth Low Energy, LoRa, or even a simple USB stick. This forward-thinking approach ensures that applications built with p2panda can function in scenarios where traditional internet connectivity is unavailable or unreliable.
Technical Foundation and Standards
p2panda doesn't reinvent the wheel unnecessarily. Instead, it leverages existing, well-established libraries and standards that provide the radical offline-first guarantee the project requires. These include:
- BLAKE3 for cryptographic hashing
- Ed25519 for digital signatures
- STUN for NAT traversal
- CBOR for data serialization
- TLS and QUIC for secure communication
- Double Ratchet for forward secrecy
This careful selection of proven technologies ensures that p2panda applications benefit from battle-tested security and performance characteristics while maintaining the flexibility needed for diverse use cases.
Modular Architecture
The project's modular design is one of its most compelling features. Developers can integrate only the components they need, reducing complexity and potential attack surfaces. The current library ecosystem includes:
Core Networking and Discovery
- p2panda-net: Peer discovery and direct connection establishment
- p2panda-discovery: Solutions for finding peers locally or across the internet
- p2panda-sync: Efficient state synchronization protocols
Data Management
- p2panda-blobs: Large file transfer and storage
- p2panda-core: Extensible data types for secure, distributed data exchange
- p2panda-store: Storage interfaces for databases, memory, or filesystems
- p2panda-stream: Data stream processing methods
Security and Access Control
- p2panda-encryption: Decentralized group encryption with post-compromise security
- p2panda-auth: Decentralized group management with fine-grained permissions
- p2panda-node: All-in-one node supporting both federated and fully decentralized networks
Research and Innovation
Beyond providing practical tools, p2panda is actively engaged in cutting-edge research. The team collaborates with researchers to design and implement resilient solutions for distributed systems. Recent work has focused on:
- Convergent, offline-first Access Control CRDTs: General learnings on CRDT design and application integration
- Decentralized Access Control: Design and implementation of p2panda-auth
- Stream Processing and Crash Resilience: Strategies for making p2p applications resilient to critical failures
- Local-First Encryption: Insights from research on group and message encryption
Real-World Applications
The p2panda ecosystem already includes several promising projects that demonstrate the framework's versatility:
- Reflection: A local-first, collaborative text editor based on GTK and Loro CRDT, developed in collaboration with GNOME
- Toolkitty: An autonomous coordination toolkit for collectives and organizers, built with Tauri for cross-platform support
- Meli Bees App: A collaborative Android app for tracking Meliponini bee species in the Brazilian Amazon, built with Flutter
- rhio: A peer-to-peer message router and file sync solution developed with HIRO
- aquadoggo: A node implementation designed to simplify local-first, collaborative p2p application development
The Future of Local-First Computing
As concerns about data privacy, internet centralization, and digital sovereignty continue to grow, projects like p2panda represent an important shift in how we think about application architecture. By prioritizing offline functionality, privacy, and decentralization from the ground up, p2panda is helping to build a more resilient and user-respecting digital future.
The project's commitment to interoperability and avoiding framework lock-in ensures that the broader p2p ecosystem can continue to evolve and thrive. Whether you're building the next generation of collaborative tools, creating resilient communication systems, or simply want to ensure your applications work when the internet doesn't, p2panda provides the foundation you need.
For developers interested in exploring p2panda, all source code is available on GitHub, with active community engagement through their Fediverse presence, official chat, and email contact. The project welcomes contributions from developers, researchers, and anyone interested in shaping the future of local-first computing.

Comments
Please log in or register to join the discussion