{"id":16451055,"url":"https://github.com/auxten/ginkgo","last_synced_at":"2025-10-27T07:30:21.406Z","repository":{"id":57573284,"uuid":"62955885","full_name":"auxten/ginkgo","owner":"auxten","description":"Golang version gingko p2p","archived":false,"fork":false,"pushed_at":"2022-01-30T17:28:33.000Z","size":63,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-21T20:05:30.248Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/auxten.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}},"created_at":"2016-07-09T15:29:58.000Z","updated_at":"2024-03-29T03:12:57.000Z","dependencies_parsed_at":"2022-08-29T15:40:40.376Z","dependency_job_id":null,"html_url":"https://github.com/auxten/ginkgo","commit_stats":null,"previous_names":["auxten/gink-go"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auxten%2Fginkgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auxten%2Fginkgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auxten%2Fginkgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auxten%2Fginkgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/auxten","download_url":"https://codeload.github.com/auxten/ginkgo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219861742,"owners_count":16555987,"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-11T10:07:04.397Z","updated_at":"2025-10-27T07:30:16.026Z","avatar_url":"https://github.com/auxten.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gink-go\nGinkgo is a p2sp file transfer tool designed for ML dataset.\n\n## Build\n\n```bash\ngo build cmd/ginkgo.go\n```\n\n## Usage\n\nOn server side, just start server with the following command:\n\n```bash\nginkgo \n```\n\nOn client side, just run ginkgo as a scp command, both directory and file are supported.\n\n```bash\nginkgo SrcHost:/path/to/src /path/to/dest\n```\n\n- The `/path/to/src` can be either absolute or relative.\n- The src and dest path handling behavior is just compatible with GNU scp command\n\n## How\n\n- Client will get other clients list from server side and broadcast itself to them.\n- Client chooses the block to download according to consistent hashing result of its serving `host:port`.\n- Other clients also choose which peer to download the block from by the hash.\n- The seed.Seed structure records the blocks and files metadata.\n\n\nGolang version of [gingko](https://github.com/auxten/gingko)\n\n\u003e `ginkgo` is an alternative form of `gingko`. `Gink-go` is the golang version `Gingko`.\n\n\n## Todo\n\n- [x] HTTP range downloader\n- [x] HTTP file server\n- [x] Directory support\n- [x] Consistent hashing locator\n- [ ] Client rate limit\n- [ ] Server rate limit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauxten%2Fginkgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fauxten%2Fginkgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauxten%2Fginkgo/lists"}