{"id":18700730,"url":"https://github.com/btwiuse/h3","last_synced_at":"2025-04-12T08:23:12.538Z","repository":{"id":59699299,"uuid":"537717836","full_name":"btwiuse/h3","owner":"btwiuse","description":"WebTransport over HTTP/3 echo server \u0026 client","archived":false,"fork":false,"pushed_at":"2025-03-13T01:20:51.000Z","size":48,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T16:30:17.182Z","etag":null,"topics":["http3","http3-client","http3-server","webtransport"],"latest_commit_sha":null,"homepage":"https://h3.k0s.io","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/btwiuse.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":"2022-09-17T06:17:44.000Z","updated_at":"2024-12-05T15:41:55.000Z","dependencies_parsed_at":"2024-01-03T07:31:26.282Z","dependency_job_id":"856f0d7e-2068-4e89-8a18-e4a4d6da210e","html_url":"https://github.com/btwiuse/h3","commit_stats":{"total_commits":33,"total_committers":2,"mean_commits":16.5,"dds":"0.030303030303030276","last_synced_commit":"51b6e2f27e333ebb2a3018b07f335d74697cfffd"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btwiuse%2Fh3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btwiuse%2Fh3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btwiuse%2Fh3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btwiuse%2Fh3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/btwiuse","download_url":"https://codeload.github.com/btwiuse/h3/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248537920,"owners_count":21120906,"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":["http3","http3-client","http3-server","webtransport"],"created_at":"2024-11-07T11:39:13.759Z","updated_at":"2025-04-12T08:23:12.511Z","avatar_url":"https://github.com/btwiuse.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# h3\n\nWebTransport over HTTP/3 echo server \u0026 client\n\n## Install\n\n```\n$ go install github.com/btwiuse/h3@latest\n```\n\n## Start local server (needs [mkcert](https://mkcert.dev))\n\n```\n$ mkcert -install \u0026\u0026 mkcert localhost\nThe local CA is already installed in the system trust store! 👍\nThe local CA is already installed in the Firefox and/or Chrome/Chromium trust store! 👍\n\nCreated a new certificate valid for the following names 📜\n - \"localhost\"\n\nThe certificate is at \"./localhost.pem\" and the key at \"./localhost-key.pem\" ✅\n\nIt will expire on 17 December 2024 🗓\n\n$ env HOST=localhost PORT=8443 CERT=./localhost.pem KEY=./localhost-key.pem h3 server\n2022/09/17 16:16:10 listening on https://localhost:8443 (UDP)\n2022/09/17 16:16:13 new conn 127.0.0.1:45394\n```\n\n## Connect to local server\n\n```\n$ env HOST=localhost PORT=8443 h3 client\n2022/09/17 16:16:13 dialing https://localhost:8443/echo (UDP)\n2022/09/17 16:16:13 new conn [::]:45394\nBTW I USE ARCH\nBTW I USE ARCH\n```\n\n## Connect to public demo server at [h3.k0s.io](https://h3.k0s.io)\n\n```\n$ env HOST=h3.k0s.io PORT=444 h3 client\n2022/09/17 18:45:44 dialing https://h3.k0s.io:444/echo (UDP)\n2022/09/17 18:45:45 new conn [::]:36805\nBTW I USE ARCH\nBTW I USE ARCH\n```\n\n## Test HTTP/3 against demo server with [`curl-http3`](https://aur.archlinux.org/packages/curl-http3)\n\n```\n$ curl3 -s https://h3.k0s.io -I --http3\nHTTP/3 200\ncontent-type: text/plain; charset=utf-8\nx-content-type-options: nosniff\n\n$ curl3 -s https://h3.k0s.io -I\nHTTP/2 200\nalt-svc: h3=\":444\"\ncontent-type: text/plain; charset=utf-8\ndate: Sat, 17 Sep 2022 15:44:28 GMT\nx-content-type-options: nosniff\ncontent-length: 12\n```\n\n## TODO\n\n- [ ] Figure how how to expose the HTTP/3 server through traefik ingress, rather\n      that `hostPort` (help wanted)\n- [ ] Make the client discover available h3 endpoints from the Alt-Svc header\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbtwiuse%2Fh3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbtwiuse%2Fh3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbtwiuse%2Fh3/lists"}