{"id":18135376,"url":"https://github.com/indifs/indifs","last_synced_at":"2025-04-04T19:13:54.273Z","repository":{"id":260441296,"uuid":"881308144","full_name":"indifs/indifs","owner":"indifs","description":"Individual Distributed Peer-to-Peer Filesystem for the Decentralized Web","archived":false,"fork":false,"pushed_at":"2025-03-03T09:21:20.000Z","size":129,"stargazers_count":196,"open_issues_count":1,"forks_count":12,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-03-28T18:14:55.850Z","etag":null,"topics":["crdt","decentralized","distributed","filesystem","ipfs","libp2p","merkle-crdt","merkle-proof","merkle-tree","p2p","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/indifs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-10-31T10:09:45.000Z","updated_at":"2025-03-14T22:35:38.000Z","dependencies_parsed_at":"2024-11-19T12:26:31.504Z","dependency_job_id":"6fdbc434-1ff6-46a9-be72-8c12aaa00e8f","html_url":"https://github.com/indifs/indifs","commit_stats":{"total_commits":57,"total_committers":1,"mean_commits":57.0,"dds":0.0,"last_synced_commit":"8e1eac8590cde6c233fe0f30e35b118ddd4aefca"},"previous_names":["indifs/indifs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indifs%2Findifs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indifs%2Findifs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indifs%2Findifs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indifs%2Findifs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/indifs","download_url":"https://codeload.github.com/indifs/indifs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247234923,"owners_count":20905854,"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":["crdt","decentralized","distributed","filesystem","ipfs","libp2p","merkle-crdt","merkle-proof","merkle-tree","p2p","peer-to-peer"],"created_at":"2024-11-01T14:07:00.627Z","updated_at":"2025-04-04T19:13:54.251Z","avatar_url":"https://github.com/indifs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# indiFS\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/indifs/indifs)](https://goreportcard.com/report/github.com/indifs/indifs)\n[![GoDoc](https://godoc.org/github.com/indifs/indifs?status.svg)](https://godoc.org/github.com/indifs/indifs)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](\n\nIndividual Distributed Peer-to-Peer Filesystem for the Decentralized Web\n\n## Overview \n\nIndiFS is a virtual file system designed for decentralized web applications. It provides a peer-to-peer distributed filesystem with features such as file versioning, merkle proofs, and efficient file part handling.\n\n## Features\n\n- **Distributed File System**: Store and retrieve files across a decentralized network.\n- **File Versioning**: Keep track of file versions and changes.\n- **Merkle Proofs**: Verify file integrity using merkle proofs.\n- **Efficient File Handling**: Handle large files by splitting them into parts.\n\n## Installation\n\nTo install the project dependencies, run:\n\n```sh\ngo get github.com/indifs/indifs\n```\n\n## Usage   \n```go\npackage main\n\nimport (\n\t\"github.com/indifs/indifs\"\n\t\"github.com/indifs/indifs/crypto\"\n\t\"github.com/indifs/indifs/database/memdb\"\n\t\"log\"\n\t\"os\"\n\t\"time\"\n)\n\nfunc main() {\n\tprv := crypto.NewPrivateKeyFromSeed(\"Alice-secret\")\n\tpub := prv.PublicKey()\n\tsrc := os.DirFS(os.Getenv(\"HOME\") + \"/Alice-Files/\")\n\tifs, _ := indifs.OpenFS(pub, memdb.New())\n\tts := time.Now()\n\n\tcommit, err := indifs.MakeCommit(ifs, prv, src, ts)\n\tif err != nil {\n\t\tlog.Panic(err)\n\t}\n\tif err = ifs.Commit(commit); err != nil {\n\t\tlog.Panic(err)\n\t}\n\treturn\n}\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findifs%2Findifs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findifs%2Findifs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findifs%2Findifs/lists"}