Pin – decentralized web hosting mesh for Raspberry Pi
github.com
github.com
Similar concept where it's decentralized with a Web (WASM) front end showing all of your sensors and devices as "nodes" with state machines and a bunch of functions like alerts, python lambas, cron tasks, mqtt - it's a beast: https://krillswarm.com
Syncing was the hard part so I with you, I can either pull out that part into a library you can use or i'll use yours when it's ready. Each Pi generates a self signed cert other servers download and trust for https everywhere.
If you're interested I also just put out an OSS gRPC bridge specifically for RPi the essentially wraps pi4j 4.x using the new PPE and exposes it's apis over gRPC:
https://github.com/bsautner/krill-oss/tree/main/pi4j-ktx-ser...
Technical stack: - Go daemon (meshd) using libp2p + Kademlia DHT - Content-addressed storage (SHA-256 CIDs) - Proof-of-service ledger in SQLite with gossip-based sync - Tauri app for resource scheduling - nginx embedded for HTTP serving
Design questions I'd love feedback on: - Is libp2p overhead acceptable on a Pi Zero? - Gossip vs lightweight BFT consensus at scale? - 24-hour epochs for Hash calculation — right granularity?
Spec: github.com/pin-network/pin-network/blob/main/docs/SPEC.md
Maybe with PI zero always connected to the power this isn't an issue.
You are welcome to visit the https://geogram.radio to get ideas or maybe to help develop the project (it is open source). It does decentralized web hosting, as well as blogs, chat, docs, meetings, etc over other links besides internet like bluetooth, radio and other mesh configurations.