{"id":18075015,"url":"https://github.com/lnsp/coyote","last_synced_at":"2025-04-12T07:10:28.734Z","repository":{"id":60445976,"uuid":"233315151","full_name":"lnsp/coyote","owner":"lnsp","description":"Simple peer-to-peer file-sharing protocol inspired by BitTorrent.","archived":false,"fork":false,"pushed_at":"2022-10-10T05:46:57.000Z","size":130,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T02:22:34.910Z","etag":null,"topics":["bittorrent","connect","file-sharing","p2p","peer-to-peer","protobuf"],"latest_commit_sha":null,"homepage":"","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/lnsp.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":"security/security.go","support":null}},"created_at":"2020-01-12T00:09:27.000Z","updated_at":"2024-08-23T14:59:53.000Z","dependencies_parsed_at":"2023-01-19T18:03:35.787Z","dependency_job_id":null,"html_url":"https://github.com/lnsp/coyote","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/lnsp%2Fcoyote","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fcoyote/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fcoyote/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fcoyote/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lnsp","download_url":"https://codeload.github.com/lnsp/coyote/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248530575,"owners_count":21119600,"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":["bittorrent","connect","file-sharing","p2p","peer-to-peer","protobuf"],"created_at":"2024-10-31T10:44:11.832Z","updated_at":"2025-04-12T07:10:28.692Z","avatar_url":"https://github.com/lnsp.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg alt=\"coyote\" src=\"./docs/coyote.svg\" height=\"60\"\u003e\n\nSimple peer-to-peer file transfer protocol inspired by the BitTorrent protocol, but instead of custom TCP protocols everything is built on top of QUIC (and therefore can be protected by TLS easily).\n\n## How does it work?\n\nThere are three types of actors in a functioning `coyote` environment. First of all, there are the **taverns**. These are rendevouz servers, which introduce network peers to each other. The first type of peer is the **seeder**. They provide their bandwidth and storage for others to use and download file chunks from. Then there is the **fetcher**. Its sole purpose is to contact **taverns**, ask around for peers for a given file hash and contact these **seeders**, fetching file chunks and assembling the final file at the end.\n\n## What does (not) work yet?\n\n* [x] Simple file sharing using tavern, fetcher and seeder\n* [x] Announcement timeouts\n* [x] Better chunk download scheduling\n* [x] Add support to resume fetches by checking for already downloaded chunks (and verifying them)\n* [x] Use UDP-based QUIC as transport layer with Buf Connect on top of it (with this comes UDP hole punching)\n* [ ] Encryption of tavern traffic using Let's Encrypt certificates\n* [ ] Use distributed hash tables for decentralized peer discovery\n* [ ] Split `.tracker` into public- and private trackers, allowing for file encryption\n* [ ] Add tests for fetcher, seeder, tavern and tracker\n\n## Installation\n\n```bash\ngo install github.com/lnsp/coyote@latest\n```\n\nThe binary is then available in your `$GOPATH/bin` directory.\n\n## Usage\n\n```bash\n# First, we need to setup a tracker for our file.\n# We assume, that the file you want to distribute is called myvideo.mp4\ncoyote track -s https://tavern.espe.tech:6443 myvideo.mp4\n# Now you get a myvideo.mp4.coyote file which you can share with others\n# To seed the file yourself, use the seed command\ncoyote seed -x \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnsp%2Fcoyote","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flnsp%2Fcoyote","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnsp%2Fcoyote/lists"}