{"id":15451814,"url":"https://github.com/willscott/go-selfish-bitswap-client","last_synced_at":"2025-08-28T20:31:31.989Z","repository":{"id":57658068,"uuid":"464511348","full_name":"willscott/go-selfish-bitswap-client","owner":"willscott","description":"A minimal bitswap client","archived":false,"fork":false,"pushed_at":"2023-12-19T00:14:24.000Z","size":188,"stargazers_count":2,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-14T11:33:42.679Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/willscott.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2022-02-28T14:18:49.000Z","updated_at":"2023-06-24T06:12:20.000Z","dependencies_parsed_at":"2024-06-19T05:21:35.783Z","dependency_job_id":"4273edc8-1b44-4f8c-8938-3e3f33aebe4e","html_url":"https://github.com/willscott/go-selfish-bitswap-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willscott%2Fgo-selfish-bitswap-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willscott%2Fgo-selfish-bitswap-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willscott%2Fgo-selfish-bitswap-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willscott%2Fgo-selfish-bitswap-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willscott","download_url":"https://codeload.github.com/willscott/go-selfish-bitswap-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231297126,"owners_count":18354602,"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":[],"created_at":"2024-10-01T21:39:51.097Z","updated_at":"2024-12-26T01:08:32.461Z","avatar_url":"https://github.com/willscott.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Selfish Bitswap Client\n=======================\n\n\u003e A minimal retrieve-only bitswap client\n\nThis client implements a minimal bitswap session that allows retrieval of CIDs from a single known peer.\n\n## Documentation\n\n### Usage\n\n```\nimport (\n\tbitswap \"github.com/willscott/go-selfish-bitswap-client\"\n)\n\n\nsession := bitswap.New(libp2p.Host, peer.ID)\ndefer session.Close()\nbytes, err := session.Get(cid.Cid)\n```\n\n## Lead Maintainer\n\n[willscott](https://github.com/willscott)\n\n## Contributing\n\nContributions are welcome! This repository is governed by the ipfs [contributing guidelines](https://github.com/ipfs/community/blob/master/CONTRIBUTING.md).\n\n## License\n\n[SPDX-License-Identifier: Apache-2.0 OR MIT](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillscott%2Fgo-selfish-bitswap-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillscott%2Fgo-selfish-bitswap-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillscott%2Fgo-selfish-bitswap-client/lists"}