{"id":18420644,"url":"https://github.com/openworm/bt-gsoc-2019","last_synced_at":"2026-07-04T10:31:16.813Z","repository":{"id":54285690,"uuid":"189761895","full_name":"openworm/bt-gsoc-2019","owner":"openworm","description":"End to end process of the Framework including a BitTorrent Client, Access Control and Data Integrity checks.","archived":false,"fork":false,"pushed_at":"2024-01-29T23:42:44.000Z","size":2572,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-06-02T18:11:13.640Z","etag":null,"topics":["bittorrent-client","torrents"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openworm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-06-01T17:47:18.000Z","updated_at":"2023-07-27T05:48:32.000Z","dependencies_parsed_at":"2024-11-06T04:36:53.040Z","dependency_job_id":null,"html_url":"https://github.com/openworm/bt-gsoc-2019","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/openworm/bt-gsoc-2019","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openworm%2Fbt-gsoc-2019","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openworm%2Fbt-gsoc-2019/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openworm%2Fbt-gsoc-2019/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openworm%2Fbt-gsoc-2019/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openworm","download_url":"https://codeload.github.com/openworm/bt-gsoc-2019/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openworm%2Fbt-gsoc-2019/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35118970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-04T02:00:05.987Z","response_time":113,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-client","torrents"],"created_at":"2024-11-06T04:22:33.227Z","updated_at":"2026-07-04T10:31:16.791Z","avatar_url":"https://github.com/openworm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GSoC 19 POW BitTorrent Client:\n\nA BitTorrent Client to **create**, **seed** and **download** studies of C. Elegans through torrents. This Framework has built in **Data Integrity Checks** and utilizes **Google Drives** to View, Download and Upload desired .torrent files!\n\n\n\n## Getting Started\n\nThis will guide you through setting up this Framework, this repository is split into **2 parts**: [All functionality via Command Line Interface]\n\n#### 1) Uploading:\nThis involves **generating the Message Digest** for Data integrity checks, **creating torrents** and **seeding their contents** to other BitTorrent peers. The torrents are then **posted to Google Drives** from where they can be searched/accessed **based on descriptions that you provide** for independent researchers.\n\n#### 2) Downloading:\nThis involves **selecting one of many torrents hosted** within Google Drive, **Adding torrent** to BitTorrent client and waiting for the desired contents to Download from peers into a **specified local directory**. Check for Data Integrity and you are good to go!  \n\n\u003cbr/\u003e\n\n## Requirements\n\n- **python libtorrent** used here.\n\n[python-libtorrent **requires** python2 and has package manager **support for only Debian**.]\n```\nsudo apt install python-libtorrent\n```\n- install from **requirements.txt**:\n```\npip3 install -r requirements.txt \n\n```\n\u003cbr/\u003e\n\n## Set it up!\n\n### For Uploading:\n\n- First **Place contents within ~/Uploading**. Then run script **seed_final** as shown. This will create a torrent, the **torrent is named by the SHA hash of the contents**, then the client will begin seeding to other peers.\n```\npython2 Uploading/seed_final.py\n```\n**P.S:** Seed **indefinitely** as shown below\n\n![](images/seeding12.png)\n\n\n- Second **post torrent to Google Drive**. Also add a description for the contents of your torrent as shown below:\n\n![](images/post.png)\n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\n\n### For Downloading:\n\n\n- **Get** the desired torrent file **based on descriptions** by specifying its serial number as shown below.\n\n\n![](images/get_torrent.png)\n\nAs shown below:\n- **Start** the BitTorrent Download daemon:\n\n```\npython3 Downloading/torrent_cli.py start \u0026\n```\n\n- **Add the torrent** and specify the directory to download contents into:\n\n```\npython3 Downloading/torrent_cli.py add '.torrent file' -d 'Download directory'\n```\n- To **watch the download progress** use: (ctrl + c to exit view):\n```\nwatch python3 torrent_cli.py status\n```\n\n![](images/downloading.png)\n\n- After **waiting for 100% download completion**, check for **data integrity**:\n```\npython3 integrity.py 'path of .torrent file' 'Path of downloaded contents'\n```\n(Data integrity check shown below!)\n\n![](images/done.png)\n\n\u003cbr/\u003e\n\n\n## Acknowledgments\n\n* [Borzunov](https://github.com/borzunov/bit-torrent) - The Downloading portion of client! \n\n## Other\n\n\n* [Torrents](https://eztv.io/) - Webpage to access larger, better seeded content.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenworm%2Fbt-gsoc-2019","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenworm%2Fbt-gsoc-2019","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenworm%2Fbt-gsoc-2019/lists"}