AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
Decentralized, content-addressed distributed storage and delivery network written in Go.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
A peer-to-peer network for decentralized storage, networking, and edge compute.
Membuss lets applications store data, stream media, and execute serverless workloads directly across a distributed, content-addressed network.
bash
Stream 4K video with seek/range support in any browser:
http://localhost:8080/mem/ /video.mp4
Inspect the Merkle DAG structure in the Web Explorer:
http://localhost:8080/explorer/mid/
javascript
export default function handler(req) {
const { method, path, query } = req;README 전문 보기 ↗Membuss lets applications store data, stream media, and execute serverless workloads directly across a distributed, content-addressed network.
Website · Documentation · Download Releases · Desktop App
| Subsystem | Core Technologies | Primary Capability |
|---|---|---|
| 🌐 Swarm Networking | libp2p · Mem-DHT · PEX | Multi-transport mesh (TCP, QUIC, WebSocket) with autonomous peer discovery |
| 📦 Resilient Storage | Pebble LSM · Reed-Solomon 10+4 · BLAKE3 | Content-addressed Merkle DAGs surviving 40% simultaneous peer loss |
| ⚡ Serverless Compute | MemEdge · Wazero (WASI) · Goja (JS) | Microsecond cold starts (<0.5ms) with 3-Tier Fair Compute Scheduling |
Modern web and mobile applications depend almost exclusively on centralized cloud servers. This architecture introduces:
Membuss takes a unified approach. It turns ordinary connected devices into a shared substrate of resilient storage and distributed computation:
Membuss is a modular, decentralized infrastructure layer built in Go. It provides the core building blocks for:
mem1z4a2...).memns://my-app) without changing content addresses.1. Ingestion & Chunking ──► Adaptive procedural sizing (256 KiB to 4 MiB)
2. Hashing & Merkle DAG ──► BLAKE3 parallel multihashing (0x1e) into UnixFS hierarchy
3. Erasure Coding ──► 10 Data + 4 Parity shards generated in-memory (RAM)
4. Local Blockstore ──► Pebble LSM SSTables with Counting Bloom Filter index
5. P2P Swarm Exchange ──► Announced to Mem-DHT & transferred via Memex v2 streams
6. Serverless Compute ──► Stateless on-demand execution via MemEdge (WASI / JS)
Membuss includes an all-in-one graphical desktop application for Windows, Linux, and macOS powered by Wails v2:
# Clone repository
git clone https://github.com/membuss-protocol/membuss.git
cd membuss
# Build unified executable
go build -o membuss ./cmd/membuss
# Initialize data directory (~/.membuss)
./membuss init
# Start local daemon & HTTP gateway
./membuss daemon
# Ingest a file into the network
./membuss add ./video.mp4
# Output: membafzbeidr5pk22uidyjnsay6lgrlkcdx7dcrvuimfnl4t5v4otdmbyfiugm (MID)
# Retrieve content by MID
./membuss get membafzbeidr5pk22uidyjnsay6lgrlkcdx7dcrvuimfnl4t5v4otdmbyfiugm ./downloaded.mp4
# Stream directly to stdout
./membuss cat <MID> | ffplay -
Every node includes an HTTP gateway (default port :8080). You can stream video or host websites directly from a content address:
# Stream 4K video with seek/range support in any browser:
http://localhost:8080/mem/<MID>/video.mp4
# Inspect the Merkle DAG structure in the Web Explorer:
http://localhost:8080/explorer/mid/<MID>
Deploy an edge function that executes on-demand across the network without managing servers:
router.js)export default function handler(req) {
const { method, path, query } = req;
if (path === "/healthz") {
return {
status: 200,
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ status: "healthy", runtime: "MemEdge-Goja" })
};
}
if (path === "/convert" && method === "GET") {
const usd = parseFloat(query.usd || "100");
const eur = usd * 0.92;
return {
status: 200,
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ usd, eur, rate: 0.92 })
};
}
return { status: 404, body: "Route Not Found" };
}
# 1. Add function to Membuss
./membuss add router.js
# Output: mem1z4a2... (MID)
# 2. Execute via HTTP Gateway
curl "http://localhost:8080/mem/mem1z4a2.../convert?usd=250&exec=true"
# Output: {"usd":250,"eur":230,"rate":0.92}
| Feature | BitTorrent | IPFS (Kubo) | Cloud (AWS / Cloudflare) | Membuss |
|---|---|---|---|---|
| P2P Swarm Distribution | ✅ Yes | ✅ Yes | ❌ No (Centralized) | ✅ Yes (Memex v2) |
| Cryptographic Content Addressing | ⚠️ Torrent InfoHash | ✅ Yes (CID) | ❌ No (URL / DNS) | ✅ Yes (MID) |
| Data Survives Offline Seeders | ❌ No (Dead Torrents) | ❌ No (Vanishes without Pin) | ✅ Yes (SLA) | ✅ Yes (Reed-Solomon 10+4 + Anchors) |
| Single-Pass Erasure Coding | ❌ No | ❌ No | ⚠️ Internal Only | ✅ Yes (SIMD Galois Field) |
| Native HTTP Video Streaming (RFC 7233) | ⚠️ Requires Torrent Client | ⚠️ High Gateway Latency | ✅ Yes | ✅ Yes (Instant Range Seek) |
| Serverless Edge Compute | ❌ No | ❌ No | ✅ Yes (Cloud Functions) | ✅ Yes (MemEdge WASI & JS) |
| Sub-millisecond Cold Starts | N/A | N/A | ❌ 50–300ms | ✅ < 0.5ms (Goja / Wazero) |
| Zero Infrastructure Invoices | ✅ Yes | ✅ Yes | ❌ High Bandwidth Costs | ✅ Yes (100% Permissionless) |
Membuss unifies the swarm distribution of BitTorrent, the content-addressing of IPFS, the low-latency caching of Cloudflare, and the serverless execution of AWS Lambda into a single, cohesive P2P protocol:
Deliver 4K/8K video, audio, gaming patches, and multi-gigabyte files directly across a peer swarm without cloud bandwidth invoices. With built-in RFC 7233 byte-range seek on the HTTP gateway (Mem-Gate), any standard web browser or video player can stream content instantly from a cryptographic MID.
Unlike BitTorrent (where torrents die when seeders leave) or IPFS (where unpinned data vanishes), Membuss encodes all data with Reed-Solomon 10+4 erasure coding and Anchor Node mirroring. Scientific datasets, legal records, open-source repositories, and digital archives survive even if 40% of the network goes offline simultaneously.
Host entire modern web applications (React, Svelte, Vue, WASM) and their dynamic backend APIs from a single content address. With MemNS mutable naming (memns://my-app), you can update your code and frontend without breaking consumer URLs or relying on centralized DNS/hosting providers.
Shard and distribute multi-gigabyte AI weights (LLMs, Whisper, Stable Diffusion) across edge nodes. Edge devices can fetch verified shards over high-speed Memex v2 streams and execute lightweight preprocessing, tokenization, or vector similarity math using MemEdge WebAssembly (WASI).
Replace centralized cloud functions with decentralized edge compute. Run API gateways, currency converters, cryptographic signature verifiers, image transforms, and webhook handlers with sub-millisecond cold starts (<0.5ms) and zero recurring infrastructure bills.
Share massive file collections, source code archives, and multimedia libraries peer-to-peer. Downloads automatically pull simultaneously from DHT providers, local LAN peers, and network anchors at wire speed with cryptographic BLAKE3 verification on every chunk.
[!NOTE] Membuss is under active development. While the core storage engine, erasure coding, Memex v2, and MemEdge runtimes are feature-complete and tested across multiple operating systems, network APIs and protocol specifications may continue to evolve before
v3.0.0.
Contributions, bug reports, and architectural proposals are welcome!
Please check out our Contribution Guidelines (CONTRIBUTING.md) for local setup, development workflows, testing rules, and Pull Request guidelines.
For technical specifications and protocol architecture blueprints, visit our Documentation Hub.
Membuss is open-source software released under the Apache 2.0 License.