{"id":14107463,"url":"https://github.com/zon-dev/zinc","last_synced_at":"2025-04-07T19:13:01.623Z","repository":{"id":231876734,"uuid":"774370812","full_name":"zon-dev/zinc","owner":"zon-dev","description":"Zinc is a web framework written in pure Zig with a focus on high performance, usability, security, and extensibility.","archived":false,"fork":false,"pushed_at":"2025-03-01T07:20:50.000Z","size":311,"stargazers_count":96,"open_issues_count":2,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-05T19:17:00.545Z","etag":null,"topics":["api","epoll","framework","io-uring","iouring","kqueue","performance","resetful","rest-api","usability","web","web-development","web-framework","zig","zig-package","zig-zinc","ziglang","zinc"],"latest_commit_sha":null,"homepage":"https://zinc.zon.dev","language":"Zig","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/zon-dev.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":"2024-03-19T12:40:08.000Z","updated_at":"2025-04-03T18:16:07.000Z","dependencies_parsed_at":"2024-04-06T14:29:07.280Z","dependency_job_id":"c384b279-a801-4f3e-aec0-9ead91351f12","html_url":"https://github.com/zon-dev/zinc","commit_stats":null,"previous_names":["zon-dev/zinc"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zon-dev%2Fzinc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zon-dev%2Fzinc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zon-dev%2Fzinc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zon-dev%2Fzinc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zon-dev","download_url":"https://codeload.github.com/zon-dev/zinc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247713258,"owners_count":20983683,"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":["api","epoll","framework","io-uring","iouring","kqueue","performance","resetful","rest-api","usability","web","web-development","web-framework","zig","zig-package","zig-zinc","ziglang","zinc"],"created_at":"2024-08-14T10:01:04.923Z","updated_at":"2025-04-07T19:13:01.285Z","avatar_url":"https://github.com/zon-dev.png","language":"Zig","readme":"# zinc\n\n----\n\nZinc is a framework written in pure Zig with a focus on high performance, usability, security, and extensibility.\n\n**:construction: It's still under development. Built on std.net. Not the fastest zig framework in the universe, but fast enough.**\n\n**In the works**:  \n* Remove std.http.Server\n* Blocking mode auto change to kqueue for MacOS and BSD\n* Non-blocking mode auto change to io_uring for Linux\n\nA basic example:\n```zig\nconst zinc = @import(\"zinc\");\n\npub fn main() !void {\n    var z = try zinc.init(.{ .port = 8080 });\n    defer z.deinit();\n    var router = z.getRouter();\n    try router.get(\"/\", helloWorld);\n\n    try z.run();\n}\n\nfn helloWorld(ctx: *zinc.Context) anyerror!void {\n    try ctx.text(\"Hello world!\", .{});\n}\n```\n\n### Some features are:\n- **Fast**\n- **Custom allocator**\n- **Multithreading**\n- **Middleware**\n- **Routes grouping**\n- **Rendering built-in**\n- **Extensible**\n- **Suite of unit tests**\n- **Usability**\n\n\n### Documentation\nSee more at https://zinc.zon.dev/\n\n#### Quick Start\nLearn and practice with the Zinc [Quick Start](https://zinc.zon.dev/src/quickstart.html), which includes API examples and builds tag.\n\n#### Examples\nA number of examples demonstrating various use cases of Zinc in the [zinc-examples](https://github.com/zon-dev/zinc-examples) repository.","funding_links":[],"categories":["\u003ca name=\"Zig\"\u003e\u003c/a\u003eZig","Network \u0026 Web"],"sub_categories":["Web Framework"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzon-dev%2Fzinc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzon-dev%2Fzinc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzon-dev%2Fzinc/lists"}