{"id":28228596,"url":"https://github.com/akhilk2802/distributed-file-storage","last_synced_at":"2025-06-13T02:31:50.137Z","repository":{"id":246914398,"uuid":"823512942","full_name":"akhilk2802/distributed-file-storage","owner":"akhilk2802","description":"File storage with consensus and fault tolerance","archived":false,"fork":false,"pushed_at":"2025-02-10T02:10:12.000Z","size":15717,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-18T15:12:45.891Z","etag":null,"topics":["consensus-algorithm","data-replication","distributed-systems","file-storage","filesystem","peer-to-peer"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akhilk2802.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-03T07:17:02.000Z","updated_at":"2025-02-10T02:10:15.000Z","dependencies_parsed_at":"2024-08-26T18:28:52.084Z","dependency_job_id":null,"html_url":"https://github.com/akhilk2802/distributed-file-storage","commit_stats":null,"previous_names":["akhilk2802/distributed-file-storage"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/akhilk2802/distributed-file-storage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhilk2802%2Fdistributed-file-storage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhilk2802%2Fdistributed-file-storage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhilk2802%2Fdistributed-file-storage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhilk2802%2Fdistributed-file-storage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akhilk2802","download_url":"https://codeload.github.com/akhilk2802/distributed-file-storage/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhilk2802%2Fdistributed-file-storage/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259567063,"owners_count":22877634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["consensus-algorithm","data-replication","distributed-systems","file-storage","filesystem","peer-to-peer"],"created_at":"2025-05-18T15:12:45.753Z","updated_at":"2025-06-13T02:31:50.109Z","avatar_url":"https://github.com/akhilk2802.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Distributed File Storage\n\n## 📌 Overview\nThis project is a **distributed file storage system** built to explore **distributed systems concepts**. It implements a **custom-built Peer-to-Peer (P2P) library** for efficient network communication and decentralized file management. The system supports **data replication** for fault tolerance and provides essential file operations such as **GET, READ, and WRITE**.\n\nCurrently, it is a work in progress, with planned enhancements and additional features being actively developed.\n\n---\n\n## 🚀 Features\n\n### 🔹 Custom P2P Library\n- Implements **peer-to-peer communication** for decentralized storage.\n- Manages **peer discovery, network communication, and data consistency**.\n\n### 🔹 Data Replication\n- Ensures **data availability and fault tolerance** by replicating files across multiple nodes.\n- Reduces the risk of **data loss due to node failures**.\n\n### 🔹 Core File Operations\n#### **1️⃣ GET Method**\n- Retrieves **metadata or status information** about files in the distributed system.\n\n#### **2️⃣ READ Method**\n- Reads the **contents of a specific file** from the distributed storage.\n\n#### **3️⃣ WRITE Method**\n- Writes **data to a specific file** while ensuring **data consistency and replication**.\n\n---\n\n## Folder Structure\n\n```plaintext\n.\n├── Makefile\n├── README.md\n├── bin\n│   └── fs\n├── go.mod\n├── go.sum\n├── main.go\n├── p2p\n│   ├── encoding.go\n│   ├── handshake.go\n│   ├── message.go\n│   ├── tcp_transport.go\n│   ├── tcp_transport_test.go\n│   └── transport.go\n├── package-lock.json\n├── package.json\n├── server.go\n├── store.go\n└── store_test.go\n```\n\n---\n\n## 🔧 Future Enhancements\n- **Sharding support** for improved scalability.\n- **Consensus mechanism** for ensuring data integrity.\n- **Dynamic node management** for auto-scaling and resilience.\n- **Security improvements** including **encryption and authentication**.\n\n---\n\n🚀 **Distributed File Storage - A Peer-to-Peer Approach to Scalable Storage!**\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakhilk2802%2Fdistributed-file-storage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakhilk2802%2Fdistributed-file-storage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakhilk2802%2Fdistributed-file-storage/lists"}