P2Panda:构建点对点应用程序的基石
P2Panda: Building blocks for peer-to-peer applications

原始链接: https://p2panda.org/

p2panda是一个模块化的Rust框架,用于构建现代化、尊重隐私且安全的本地优先应用程序。它优先考虑互操作性,并通过为各种功能提供单独的板条箱来避免厂商锁定。其核心原则包括离线优先操作以及与各种通信基础设施的兼容性,包括短波无线电等后互联网选项。 该框架利用现有的库和已建立的标准,例如iroh、BLAKE3、Ed25519和UCAN,以提供诸如对等发现、数据同步和安全数据交换等基本功能。关键板条箱包括:`p2panda-net`(对等网络)、`p2panda-discovery`(对等节点查找)、`p2panda-sync`(状态同步)、`p2panda-blobs`(大文件传输)、`p2panda-core`(可扩展数据类型)、`p2panda-store`(数据存储)、`p2panda-stream`(数据流处理)、`p2panda-node`(多合一节点)、`p2panda-caps`(访问管理)和`p2panda-group`(群组加密)。 该项目鼓励协作、研究和社区参与,积极寻求通过代码贡献、拨款申请和参与活动等方式的贡献。

Hacker News 最新 | 往期 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 P2Panda:构建点对点应用程序的基石 (p2panda.org) 9 分,来自 jdbohrman,2 小时前 | 隐藏 | 往期 | 收藏 | 1 条评论 jdbohrman 2 小时前 [–] 我很高兴看到点对点和去中心化工具的出现,而且没有加密货币的那些乱七八糟的东西。 回复 加入我们 6 月 16-17 日在旧金山举办的 AI 初创公司学校! 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系我们 搜索:

原文

p2panda aims to provide everything you need to build modern, privacy-respecting and secure local-first applications.

We have adopted a modular approach—allowing projects the freedom to pick what they need and integrate it with minimal friction. We believe this approach contributes the most to a wider, interoperable p2p ecosystem which outlives “framework lock-in”.

Many of our Rust crates operate over raw bytes and are fully compatible with your own data types and any CRDT. In case you don't plan on building your own peer-to-peer protocol, we have you covered with all features required to build a mobile or desktop application.

We're using existing libraries like iroh and well-established standards such as BLAKE3, Ed25519, STUN, CBOR, TLS, QUIC, UCAN, Double Ratchet and more - as long as they give us the radical offline-first guarantee we need.

We want collaboration, encryption and access-control to work even when operating over unstable or ephemeral connections. Towards this end, we're actively working alongside researchers to design and implement resilient solutions.

p2panda is "broadcast-only" at it’s heart, making any data not only offline-first but also compatible with post-internet communication infrastructure, such as shortwave, packet radio, Bluetooth Low Energy, LoRa or simply a USB stick.

p2panda is a very multifaceted project: We maintain our crates, apply for grants, design protocols and do research in radically distributed data-types. We organise community events and write peer-to-peer applications with our friends and collaborators.

  • 📦 p2panda-net Find peers in a peer-to-peer network, connect to them directly - whereever they are - and exchange any data of your interest in form of byte streams.
  • 📦 p2panda-discovery Solutions to find other peers in your local network or on the internet and interfaces to start building your own.
  • 📦 p2panda-sync Protocol implementations to efficiently "catch up on past state" with other peers and interfaces to start building your own.
  • 📦 p2panda-blobs Efficiently send, receive and store (very large) files.
  • 📦 p2panda-core Highly extensible data-types of the p2panda protocol for secure, distributed and efficient exchange of data, supporting networks from the internet to packet radio, LoRa or BLE.
  • 📦 p2panda-store Interfaces and implementations to store p2panda data types in databases, memory or file-systems.
  • 📦 p2panda-stream Collection of various methods to process your p2panda data streams before they reach your application.
  • 🚧 p2panda-node All-in-one p2panda node which can be used in federated or fully decentralised networks or both at the same time. Supports "lightweight" clients running in the browser.
  • 🚧 p2panda-caps Manage access to data with capabilities.
  • 🚧 p2panda-group Local-first roles and group-encryption with Post-Compromise-Security and optional Forward-Secrecy.

Find all source code on GitHub, follow us on the Fediverse, join our official Chat or write us an Email! We'd love to hear from you!

联系我们 contact @ memedata.com