{"id":25189952,"url":"https://github.com/kehiy/blobstore","last_synced_at":"2026-03-14T02:12:52.721Z","repository":{"id":276572546,"uuid":"925745931","full_name":"kehiy/blobstore","owner":"kehiy","description":"a collection of file storages specifically designed for storing blossom blobs.","archived":false,"fork":false,"pushed_at":"2025-02-24T14:01:55.000Z","size":25,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T15:22:49.933Z","etag":null,"topics":["blob","blob-storage","blossom","disk","ipfs","media","mediaserver","minio","nostr","s3","torrent"],"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/kehiy.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":"2025-02-01T16:43:15.000Z","updated_at":"2025-02-24T14:01:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"0280af41-466b-478b-a192-d5604d0dee24","html_url":"https://github.com/kehiy/blobstore","commit_stats":null,"previous_names":["kehiy/blobstore"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kehiy%2Fblobstore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kehiy%2Fblobstore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kehiy%2Fblobstore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kehiy%2Fblobstore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kehiy","download_url":"https://codeload.github.com/kehiy/blobstore/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247167585,"owners_count":20894964,"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":["blob","blob-storage","blossom","disk","ipfs","media","mediaserver","minio","nostr","s3","torrent"],"created_at":"2025-02-09T21:18:19.355Z","updated_at":"2025-10-19T22:26:27.559Z","avatar_url":"https://github.com/kehiy.png","language":"Go","funding_links":[],"categories":["Libraries"],"sub_categories":[],"readme":"# Blob store\n\nThis package provides a list of blob storage interfaces compatible with the [khatru](https://github.com/fiatjaf/khatru) media server.\n\n## Interface\n\nHere is the khatru compatible interface implemented by blob store:\n\n```go\n// Store is an interface which allows blob to create, read, and delete.\ntype Store interface {\n\t// Init creates storage requirements and starts it.\n\tInit(ctx context.Context) error\n\n\t// Close closes the open connections, contexts and more.\n\tClose() error\n\n\t// Store saves the provided blob.\n\tStore(ctx context.Context, sha256 string, body []byte) error\n\n\t// Load reads the blob with the ID of sha256 provided from storage.\n\tLoad(ctx context.Context, sha256 string) (io.ReadSeeker, error)\n\t\n\t// Delete removes the blob with the ID of sha256 provided from storage.\n\tDelete(ctx context.Context, sha256 string) error\n}\n```\n\n### Storages\n\nCurrent available storage interfaces are:\n\n* [Disk](./disk/)\n* [S3(minio)](./minio/)\n* [Memory](./memory//)\n\n## Policy\n\nThe khatru supports a policy interface which helps to reject requests to specific blossom routes. The [policy](./policy/) directory contains a simple module that helps you to define basic policy for your blob store dynamically.\n\n## Roadmap\n\n- [ ] IPFS interface.\n- [ ] Khatru compatible blob index interface for different databases.\n- [ ] More examples.\n- [ ] Torrent interface.\n\n## Contribution\n\nAny kind of contribution is very welcomed.\n\n## License\n\nThis library is published under [MIT License](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkehiy%2Fblobstore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkehiy%2Fblobstore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkehiy%2Fblobstore/lists"}