{"id":33916589,"url":"https://github.com/hahmed/quicsilver","last_synced_at":"2026-04-26T00:00:37.404Z","repository":{"id":321294505,"uuid":"999208886","full_name":"hahmed/quicsilver","owner":"hahmed","description":"HTTP/3 server for Ruby apps","archived":false,"fork":false,"pushed_at":"2026-04-23T22:16:27.000Z","size":502,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-23T22:16:42.153Z","etag":null,"topics":["http","http3","performance","protocol","quic","rack","ruby","server"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/hahmed.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-09T23:01:09.000Z","updated_at":"2026-04-23T22:16:31.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/hahmed/quicsilver","commit_stats":null,"previous_names":["hahmed/quicsilver"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/hahmed/quicsilver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahmed%2Fquicsilver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahmed%2Fquicsilver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahmed%2Fquicsilver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahmed%2Fquicsilver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hahmed","download_url":"https://codeload.github.com/hahmed/quicsilver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahmed%2Fquicsilver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32279691,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"ssl_error","status_checked_at":"2026-04-25T18:29:32.149Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["http","http3","performance","protocol","quic","rack","ruby","server"],"created_at":"2025-12-12T07:25:00.770Z","updated_at":"2026-04-26T00:00:37.399Z","avatar_url":"https://github.com/hahmed.png","language":"Ruby","readme":"# Quicsilver\n\nHTTP/3 server and client for Ruby with Rack support.\n\n## Features\n\n- **HTTP/3 server** — serve any Rack app over QUIC/HTTP/3\n- **HTTP/3 client** — make requests with automatic connection pooling\n- **Rack integration** — `rackup -s quicsilver` works with Rails, Sinatra, any Rack app\n- **Streaming** — dispatch on HEADERS, stream body chunks as they arrive\n- **Extensible Priorities** (RFC 9218) — CSS before images, server respects client priority hints\n- **Trailers** (RFC 9114 §4.1) — send/receive trailing headers after the body\n- **GREASE** (RFC 9297) — extensibility testing on settings, frames, and streams\n- **GOAWAY** (RFC 9114 §7.2.6) — graceful connection draining with validation\n- **0-RTT** — fast reconnection with replay protection\n- **Connection pooling** — client reuses connections automatically\n- **protocol-http integration** — works with Falcon and protocol-http ecosystem\n\n## Installation\n\n```bash\ngit clone https://github.com/hahmed/quicsilver\ncd quicsilver\nbundle install\nrake compile\n```\n\n## Quick Start\n\n### Server\n\n```ruby\nrequire \"quicsilver\"\n\napp = -\u003e(env) {\n  [200, {\"content-type\" =\u003e \"text/plain\"}, [\"Hello HTTP/3!\"]]\n}\n\nserver = Quicsilver::Server.new(4433, app: app)\nserver.start\n```\n\n### Client\n\n```ruby\nrequire \"quicsilver\"\n\n# Class-level API with automatic connection pooling\nresponse = Quicsilver::Client.get(\"127.0.0.1\", 4433, \"/\")\nputs response[:status]  # =\u003e 200\nputs response[:body]    # =\u003e \"Hello HTTP/3!\"\n\n# POST with body\nresponse = Quicsilver::Client.post(\"127.0.0.1\", 4433, \"/api/users\",\n  body: '{\"name\": \"alice\"}',\n  headers: { \"content-type\" =\u003e \"application/json\" })\n\n# Instance-level for more control\nclient = Quicsilver::Client.new(\"127.0.0.1\", 4433, unsecure: true)\nresponse = client.get(\"/\")\nclient.disconnect\n```\n\n### Rails\n\n```bash\nrackup -s quicsilver -p 4433\n```\n\n### curl\n\n```bash\ncurl --http3-only https://localhost:4433/\n```\n\n## Configuration\n\n```ruby\nconfig = Quicsilver::Transport::Configuration.new(\n  \"certificates/server.crt\",\n  \"certificates/server.key\",\n  idle_timeout_ms: 10_000,\n  max_concurrent_requests: 100,\n  max_body_size: 10 * 1024 * 1024,      # 10MB body limit (optional)\n  max_header_size: 64 * 1024,            # 64KB header limit (optional)\n  max_header_count: 128,                 # Header count limit (optional)\n  stream_receive_window: 262_144,        # 256KB per stream\n  connection_flow_control_window: 16_777_216  # 16MB per connection\n)\n\nserver = Quicsilver::Server.new(4433, app: app, server_configuration: config)\nserver.start\n```\n\n## Priorities\n\nBrowsers send priority hints on requests. Quicsilver parses them and tells MsQuic to schedule high-priority streams first.\n\n```\nGET /style.css  → priority: u=0    → sent first (highest urgency)\nGET /app.js     → priority: u=1    → sent second\nGET /hero.png   → priority: u=5    → sent later\n```\n\nNo configuration needed — it works automatically.\n\n## Trailers\n\nSend headers after the body — useful for checksums, streaming status, and gRPC.\n\n```ruby\n# Trailers work with protocol-http's Headers#trailer! API\nheaders = Protocol::HTTP::Headers.new\nheaders.add(\"content-type\", \"text/plain\")\nheaders.trailer!\nheaders.add(\"x-checksum\", \"abc123\")\n```\n\n## Protocol-HTTP Mode\n\nFor integration with [Falcon](https://github.com/socketry/falcon) and the protocol-http ecosystem:\n\n```ruby\nconfig = Quicsilver::Transport::Configuration.new(\n  \"certificates/server.crt\",\n  \"certificates/server.key\",\n  mode: :protocol_http\n)\n\nserver = Quicsilver::Server.new(4433, app: app, server_configuration: config)\nserver.start\n```\n\n| Mode | Body Handling | Use Case |\n|------|---------------|----------|\n| `:rack` (default) | Buffered | Standard Rack apps |\n| `:protocol_http` | Streaming | Falcon, protocol-http apps |\n\n## Development\n\n```bash\nrake compile  # Build C extension (macOS: uses Apple clang automatically)\nrake test     # Run tests\n```\n\n## License\n\nMIT License\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhahmed%2Fquicsilver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhahmed%2Fquicsilver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhahmed%2Fquicsilver/lists"}