{"id":20209132,"url":"https://github.com/refraction-networking/gotapdance","last_synced_at":"2025-04-08T12:07:33.578Z","repository":{"id":36694683,"uuid":"203644748","full_name":"refraction-networking/gotapdance","owner":"refraction-networking","description":":twisted_rightwards_arrows: Cross-platform Golang implementation of TapDance censorship circumvention system client","archived":false,"fork":false,"pushed_at":"2025-01-02T02:47:46.000Z","size":16872,"stargazers_count":56,"open_issues_count":17,"forks_count":17,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-01T10:11:07.468Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://refraction.network","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/refraction-networking.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":"2019-08-21T18:44:55.000Z","updated_at":"2025-01-02T02:47:46.000Z","dependencies_parsed_at":"2023-10-11T22:13:13.919Z","dependency_job_id":"8fd2d8cf-2e73-43e1-b2c2-f17413d6e257","html_url":"https://github.com/refraction-networking/gotapdance","commit_stats":{"total_commits":478,"total_committers":24,"mean_commits":"19.916666666666668","dds":"0.31799163179916323","last_synced_commit":"1b4217a4805810135c75acc66932e2b255ff04ea"},"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refraction-networking%2Fgotapdance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refraction-networking%2Fgotapdance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refraction-networking%2Fgotapdance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refraction-networking%2Fgotapdance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/refraction-networking","download_url":"https://codeload.github.com/refraction-networking/gotapdance/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247838444,"owners_count":21004580,"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-11-14T05:38:55.699Z","updated_at":"2025-04-08T12:07:33.558Z","avatar_url":"https://github.com/refraction-networking.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003ca href=\"https://refraction.network\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/5443147/30133006-7c3019f4-930f-11e7-9f60-3df45ee13d9d.png\" alt=\"refract\"\u003e\u003c/a\u003e\n\u003ch1 class=\"header-title\" align=\"center\"\u003eRefraction Networking Client\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003eRefraction Networking is a free-to-use anti-censorship technology, that places proxies at Internet Service Providers, so they are harder to block. This client includes support for both the TapDance and Conjure protocols\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://travis-ci.com/refraction-networking/gotapdance\"\u003e\u003cimg src=\"https://travis-ci.com/refraction-networking/gotapdance.svg?branch=master\"\u003e\u003c/a\u003e\n\u003ca href=\"https://godoc.org/github.com/refraction-networking/gotapdance/tapdance\"\u003e\u003cimg src=\"https://img.shields.io/badge/godoc-reference-blue.svg\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://goreportcard.com/report/github.com/refraction-networking/gotapdance\"\u003e\u003cimg src=\"https://goreportcard.com/badge/github.com/refraction-networking/gotapdance\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# Build\n## Download Golang and TapDance and dependencies\n0. Install [Golang](https://golang.org/dl/) (currently tested against version 1.10 and latest).\n\n1. Get source code for Go TapDance and all dependencies:\n\n ```bash\ngo get -d -u -t github.com/refraction-networking/gotapdance/...\n```\nIgnore the \"no buildable Go source files\" warning.\n\nIf you have outdated versions of libraries used, you might want to do `go get -u all`.\n\n## Usage\n\n There are 3 supported ways to use TapDance:\n\n * [Command Line Interface client](cli)\n\n * [Psiphon](https://psiphon.ca/) Android app integrated TapDance as one of their transports.\n\n * Use tapdance directly from other Golang program:\n\n```Golang\npackage main\n\nimport (\n\t\"github.com/refraction-networking/gotapdance/tapdance\"\n\t\"fmt\"\n)\n\nfunc main() {\n    // first, copy ClientConf and roots files into assets directory\n    // make sure assets directory is writable (only) by the td process\n    tapdance.AssetsSetDir(\"./path/to/assets/dir/\")\n\n    tdConn, err := tapdance.Dial(\"tcp\", \"censoredsite.com:80\")\n    if err != nil {\n        fmt.Printf(\"tapdance.Dial() failed: %+v\\n\", err)\n        return\n    }\n    // tdConn implements standard net.Conn, allowing to use it like any other Golang conn with\n    // Write(), Read(), Close() etc. It also allows to pass tdConn to functions that expect\n    // net.Conn, such as tls.Client() making it easy to do tls handshake over TapDance conn.\n    _, err = tdConn.Write([]byte(\"GET / HTTP/1.1\\nHost: censoredsite.com\\n\\n\"))\n    if err != nil {\n        fmt.Printf(\"tdConn.Write() failed: %+v\\n\", err)\n        return\n    }\n    buf := make([]byte, 16384)\n    _, err = tdConn.Read(buf)\n    // ...\n}\n```\n\n * [CURRENTLY NOT MAINTAINED] Standalone TapDance mobile applications that use [Golang Bindings](gobind) as a shared library.\n\n   * [Android application in Java](android)\n\n\n # Links\n\n [Refraction Networking](https://refraction.network) is an umbrella term for the family of similarly working technnologies.\n\n TapDance station code released for FOCI'17 on github: [refraction-networking/tapdance](https://github.com/refraction-networking/tapdance)\n\n Original 2014 paper: [\"TapDance: End-to-Middle Anticensorship without Flow Blocking\"](https://ericw.us/trow/tapdance-sec14.pdf)\n\n Newer(2017) paper that shows TapDance working at high-scale: [\"An ISP-Scale Deployment of TapDance\"](https://www.usenix.org/system/files/conference/foci17/foci17-paper-frolov_0.pdf)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frefraction-networking%2Fgotapdance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frefraction-networking%2Fgotapdance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frefraction-networking%2Fgotapdance/lists"}