π COSMEON FS-LITE A Distributed Cloud Shredding & Retrieval System
π Live Demo: https://cosme-8fg.pages.dev/
βοΈ Backend API: FastAPI (Render) βοΈ Cloud Storage: Supabase Object Storage
π§© Abstract
COSMEON FS-LITE is a prototype distributed file system designed to demonstrate secure, resilient, and decentralized cloud storage. Instead of storing files as a single object, the system cryptographically fragments data, distributes it across independent cloud nodes, and reconstructs the original file with bit-level accuracy on demand.
The project focuses on data integrity, fault awareness, and cloud-native deployment, making it suitable for hackathon evaluation, academic demos, and distributed systems experimentation.
β Problem Statement
Traditional cloud storage systems rely on centralized file storage, which introduces:
Single points of failure
Increased blast radius during breaches
Limited transparency into data integrity
Weak resilience to partial outages
Modern systems require fragmentation, decentralization, and verifiable recovery.
π‘ Solution Overview
COSMEON FS-LITE implements a distributed shredding protocol:
Files are split into fixed-size fragments
Each fragment is cryptographically hashed
Fragments are distributed across multiple cloud nodes
Metadata tracks fragment order and integrity
Files are reconstructed exactly as uploaded
At no point does any single node contain the complete file.
ποΈ System Architecture ββββββββββββββββββββββ β Frontend Dashboardβ β (Cloudflare Pages)β ββββββββββββ¬ββββββββββ β HTTPS βΌ ββββββββββββββββββββββ β FastAPI Backend β β (Render Cloud) β ββββββββββββ¬ββββββββββ β βΌ ββββββββββββββββββββββββββββββββββββ β Supabase Object Storage β β Distributed Shard Containers β ββββββββββββββββββββββββββββββββββββ
π Core Features β Distributed Shredding
Files are split into multiple independent fragments
No fragment contains meaningful standalone data
β Cryptographic Integrity
SHA-256 hashing applied to fragments
Ensures tamper detection and data correctness
β Cloud-Backed Decentralization
Fragments stored across independent cloud objects
Demonstrates decentralized storage logic
β Exact Reconstruction
Fragments are reassembled in order
Output file matches original byte-for-byte
β Real-Time Ground Control UI
Upload & shred files
View active fragments
Reassemble and download files
Detect backend availability in real time
π₯οΈ Frontend
Pure HTML + TailwindCSS
Zero framework overhead
Hosted on Cloudflare Pages
Stateless and fully decoupled from backend
π Live UI: π https://cosme-8fg.pages.dev/
βοΈ Backend
FastAPI (Python)
Stateless REST architecture
Handles:
File ingestion
Fragment metadata
Integrity validation
Recovery orchestration
Deployed on Render
Key API Endpoints GET /api/status GET /api/files POST /api/upload GET /api/download/{file_id} DELETE /api/delete/{file_id}
βοΈ Storage Layer
Fragments are stored using Supabase Object Storage.
Each uploaded file is stored as a directory:
filename_timestamp/ βββ part_0.bin βββ part_1.bin βββ part_2.bin βββ part_3.bin
This layout enables:
Fragment isolation
Independent deletion
Ordered reconstruction
π§ͺ Resilience Model (Prototype)
Node availability is monitored logically
Missing fragments are detected during recovery
System fails safely if reconstruction is impossible
This simulates real distributed system behavior under partial failure.
π Local Development (Optional) Backend cd backend pip install -r requirements.txt python main.py
Frontend
Open index.html directly or
Deploy using Cloudflare Pages / Netlify
π§βπ» Technology Stack
Frontend: HTML, TailwindCSS, JavaScript
Backend: Python, FastAPI
Cloud: Render, Supabase, Cloudflare Pages
Security: SHA-256 hashing
π Use Cases
Secure cloud storage prototypes
Distributed systems demonstrations
Fault-tolerant storage research
Hackathon & academic evaluations
π Project Status
β Fully functional prototype β Cloud-deployed frontend & backend β End-to-end file recovery verified
π License
MIT License β free to use, modify, and extend.