{"id":13740920,"url":"https://github.com/lithdew/hello","last_synced_at":"2025-08-25T07:36:38.655Z","repository":{"id":37314708,"uuid":"313655090","full_name":"lithdew/hello","owner":"lithdew","description":"Multi-threaded cross-platform HTTP/1.1 web server example in Zig.","archived":false,"fork":false,"pushed_at":"2020-11-19T06:53:47.000Z","size":7,"stargazers_count":33,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-23T22:03:59.168Z","etag":null,"topics":["async","cross-platform","http-server","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/lithdew.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}},"created_at":"2020-11-17T15:04:49.000Z","updated_at":"2025-01-08T03:21:48.000Z","dependencies_parsed_at":"2022-09-10T04:17:08.982Z","dependency_job_id":null,"html_url":"https://github.com/lithdew/hello","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lithdew/hello","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lithdew%2Fhello","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lithdew%2Fhello/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lithdew%2Fhello/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lithdew%2Fhello/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lithdew","download_url":"https://codeload.github.com/lithdew/hello/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lithdew%2Fhello/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272024996,"owners_count":24860528,"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","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"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":["async","cross-platform","http-server","zig"],"created_at":"2024-08-03T04:00:53.582Z","updated_at":"2025-08-25T07:36:38.581Z","avatar_url":"https://github.com/lithdew.png","language":"Zig","readme":"# hello\n\nMulti-threaded cross-platform HTTP/1.1 web server example in [Zig](https://ziglang.org) using [lithdew/pike](https://github.com/lithdew/pike) and [kprotty/zap](https://github.com/kprotty/zap).\n\n## Warning\n\nThis example is barebones and _highly experimental_. Linux and Mac has been extensively tested, with Windows only being barely supported.\n\n[pike](https://github.com/lithdew/pike) does not yet support cancellation of pending I/O operations on Windows, which causes this example to fail spontaneously should one initiate a graceful shutdown on Windows.\n\n## Setup\n\nThis example requires a nightly version of Zig. Make sure that port 9000 is available.\n\n```\ngit clone --recurse-submodules https://github.com/lithdew/hello\ncd hello \u0026\u0026 zig run hello.zig\n```\n\n## Benchmarks\n\n```\n$ cat /proc/cpuinfo | grep 'model name' | uniq\nmodel name : Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz\n\n$ wrk -t12 -c100 -d30s http://127.0.0.1:9000\nRunning 30s test @ http://127.0.0.1:9000\n  12 threads and 100 connections\n  Thread Stats   Avg      Stdev     Max   +/- Stdev\n    Latency   417.19us    0.90ms  30.21ms   96.78%\n    Req/Sec    26.86k     3.31k   39.72k    73.08%\n  9629837 requests in 30.04s, 459.19MB read\nRequests/sec: 320538.80\nTransfer/sec:     15.28MB\n```","funding_links":[],"categories":["Applications"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flithdew%2Fhello","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flithdew%2Fhello","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flithdew%2Fhello/lists"}