{"id":13337993,"url":"https://github.com/amlweems/stun","last_synced_at":"2026-02-26T18:02:24.059Z","repository":{"id":147504727,"uuid":"113711805","full_name":"amlweems/stun","owner":"amlweems","description":"golang TLS proxy with automated certificate provisioning via SNI","archived":false,"fork":false,"pushed_at":"2021-09-11T02:07:49.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-18T10:19:34.271Z","etag":null,"topics":["golang","proxy","sni","tls"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/amlweems.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":"2017-12-10T00:38:11.000Z","updated_at":"2022-11-01T20:30:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"efb54513-7f29-4fad-866e-714df83cdf9a","html_url":"https://github.com/amlweems/stun","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/amlweems%2Fstun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amlweems%2Fstun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amlweems%2Fstun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amlweems%2Fstun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amlweems","download_url":"https://codeload.github.com/amlweems/stun/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239776080,"owners_count":19695043,"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":["golang","proxy","sni","tls"],"created_at":"2024-07-29T19:15:16.806Z","updated_at":"2026-01-29T03:30:14.911Z","avatar_url":"https://github.com/amlweems.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stun\n\ngolang TLS proxy with automated certificate provisioning via SNI.\n\n## Usage\n\nInstall `stunhttp` and `stuntcp`:\n```bash\ngo install github.com/amlweems/stun/cmd/...\n```\n\nRun `stunhttp` with default arguments (proxy from :4443 to :8000):\n```bash\n$ stunhttp\n2017/12/09 16:39:16 wrote certificate authority to ca.pem\n2017/12/09 16:39:16 wrote private key to ca-key.pem\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----\n2017/12/09 16:39:20 127.0.0.1:52618 -\u003e example.local\n```\n\nConnect to TLS server and fetch content:\n```bash\n# start an HTTP server in the background\n$ python -m http.server 8000 \u0026\n\n# add hostname to /etc/hosts\n$ echo 127.0.0.1 example.local \u003e\u003e /etc/hosts\n\n# send HTTP request via stunhttp to 127.0.0.1:8000\n$ curl -I --cacert ca.pem https://example.local:4443\nHTTP/1.1 200 OK\nContent-Length: 525\nContent-Type: text/html; charset=utf-8\nDate: Sun, 10 Dec 2017 00:49:07 GMT\nServer: SimpleHTTP/0.6 Python/3.6.2\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famlweems%2Fstun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famlweems%2Fstun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famlweems%2Fstun/lists"}