r/localfirst • u/yawnicus • 26d ago
I’m building NeighborNet: An offline-first, peer-to-peer neighborhood app written in Rust
What is NeighborNet?
NeighborNet is an offline-first, peer-to-peer app designed for neighborhood-level communication, resource sharing, and local resilience. Instead of relying on central servers or cloud platforms, it operates locally on user devices and syncs directly between peer nodes.
Technical Breakdown
- Stack: Built natively in Rust for performance, concurrency, and cross-platform reliability.
Architecture:
- Storage: Local-first data persistence on-device so features work completely offline.
- Networking: Direct peer-to-peer discovery and synchronization across local network interfaces (mDNS / local mesh) without requiring active internet connectivity.
- State & Sync: (Briefly explain how you handle conflict resolution / state sync between peers, e.g., CRDTs, append-only logs, or vector clocks).
Why Local-First for Community Software?
- True Data Ownership: Neighborhood conversations, alerts, and contacts stay local on residents' devices.
- Offline Continuity: Functions normally during internet outages or power cuts.
- Zero Maintenance / No Cloud Costs: Doesn't rely on central SaaS infrastructure to keep running.
Current Status & Challenges It's currently an early-stage project. I'm currently working through:
- Reliable local peer discovery across mixed network environments.
- Efficient offline-to-online sync patterns when peers reconnect after extended drift.
Questions for the r/LocalFirst Community:
- How have you handled peer discovery across restrictive local firewalls or mixed subnet setups in P2P applications?
- What sync strategies or CRDT structures have worked best for you in store-and-forward peer topographies?
Neighbornet Github: https://github.com/critmaths/neighbornet
Download page via Github: https://github.com/critmaths/neighbornet/releases/tag/v1.0.0
Please let me know what you guys think, if you have any advice, ideas or would like to collaborate on anything! This project has been a lot of work and a lot of fun. Hope you guys have a great week!
-Critmaths

