All projects
GitStore
GitHub-Based Distributed File System
A distributed file storage system that transforms GitHub repositories into a personal cloud filesystem using an HDFS-inspired architecture with encryption, deduplication, and multi-layer caching.

How it works
Distributed Node-Based Storage
- Client
- AES Encryption
- Chunking
- Parallel Upload
- DataNodes
- NameNode Index Update
Main components
- NameNode (Index Repository)
- DataNodes (GitHub Repositories)
- Client (Web/Mobile App)
- Edge Proxy (Cloudflare Workers)
Features
- HDFS-inspired architecture using GitHub repos as data nodes
- Chunked file uploads with parallel processing and deduplication (SHA-256)
- Client-side AES-256-GCM encryption for secure storage
- 5-layer caching system (memory → IndexedDB → service worker → CDN → GitHub API)
- O(1) instant search using inverted index
- Fault-tolerant index replication (primary + secondary repos)
- Cloudflare CDN proxy for optimized file delivery
- Cross-platform support including web and mobile app
Highlights
- Replaces traditional cloud storage with GitHub-based infrastructure
- Implements distributed system concepts in a real-world application
- Optimized for performance using multi-layer caching and edge delivery
Core systems
Upload pipeline
- Hashing
- Chunking
- Encryption
- Parallel Upload
- Index Update
Cache hierarchy
- L1: Memory
- L2: IndexedDB
- L3: Service Worker
- L4: CDN
- L5: GitHub API
Search
O(1) search via inverted index
Security
- AES-256-GCM Encryption
- Private Repository Isolation
- Auth.js Session Management
- GitHub API Rate Limiting
Performance
- Cloudflare Worker CDN
- Multi-layer Caching Strategy
- Concurrent Chunk Processing