{"id":24030192,"url":"https://github.com/jcbhmr/zig-cosmo","last_synced_at":"2026-04-19T01:08:26.034Z","repository":{"id":262176811,"uuid":"886442180","full_name":"jcbhmr/zig-cosmo","owner":"jcbhmr","description":"⚡ All-in-one multiplatform Zig binary","archived":false,"fork":false,"pushed_at":"2025-01-06T17:04:35.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T11:58:08.452Z","etag":null,"topics":["cosmopolitan","single-executable","zig","ziglang"],"latest_commit_sha":null,"homepage":"","language":"C++","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/jcbhmr.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-11-11T01:21:36.000Z","updated_at":"2025-03-01T23:00:37.000Z","dependencies_parsed_at":"2025-02-26T03:35:17.104Z","dependency_job_id":"ea3523f8-52b4-4ca2-8925-b3cfd94dea03","html_url":"https://github.com/jcbhmr/zig-cosmo","commit_stats":null,"previous_names":["jcbhmr/zig-ape","jcbhmr/zig-cosmo"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jcbhmr/zig-cosmo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbhmr%2Fzig-cosmo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbhmr%2Fzig-cosmo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbhmr%2Fzig-cosmo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbhmr%2Fzig-cosmo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcbhmr","download_url":"https://codeload.github.com/jcbhmr/zig-cosmo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbhmr%2Fzig-cosmo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31990586,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"ssl_error","status_checked_at":"2026-04-18T20:23:29.375Z","response_time":103,"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":["cosmopolitan","single-executable","zig","ziglang"],"created_at":"2025-01-08T17:29:54.910Z","updated_at":"2026-04-19T01:08:26.014Z","avatar_url":"https://github.com/jcbhmr.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zig as an [Actually Portable Executable](https://justine.lol/ape.html)\n\n⚡ All-in-one multiplatform Zig binary\n\n\u003ctable align=center\u003e\u003ctd\u003e\n\n```sh\nwget https://github.com/jcbhmr/zig-ape/releases/download/0.13.0/zig-ape-0.13.0.zip\nunzip zig-ape-0.13.0.zip\n./zig-ape-0.13.0/zig zen\n```\n\n\u003c/table\u003e\n\n🌌 Uses [`cosmocc`](https://github.com/jart/cosmopolitan/tree/master/tool/cosmocc) to build a multiplatform binary \\\n📂 Extracts the platform-specific `zig` and `lib/*` files to a cache folder \\\n💻 Works on Windows, macOS, and Linux on both x86-64 \u0026 AArch64 CPUs \\\n**😎 It's just one binary!**\n\n## Installation\n\n![Windows](https://img.shields.io/static/v1?style=for-the-badge\u0026message=Windows\u0026color=0078D4\u0026logo=Windows\u0026logoColor=FFFFFF\u0026label=)\n![Linux](https://img.shields.io/static/v1?style=for-the-badge\u0026message=Linux\u0026color=222222\u0026logo=Linux\u0026logoColor=FCC624\u0026label=)\n![macOS](https://img.shields.io/static/v1?style=for-the-badge\u0026message=macOS\u0026color=000000\u0026logo=macOS\u0026logoColor=FFFFFF\u0026label=)\n\n**🛑 This is an unofficial redistribution of the Zig binaries.** You should probably use [the official Zig download page](https://ziglang.org/download/). \n\n1. Download the ZIP.\n2. Extract it.\n3. Rename it to `zig.com` or `zig.exe`. (Windows only)\n\n**https://github.com/jcbhmr/zig-cosmo/releases/download/0.13.0/zig-ape-0.13.0.zip**\n\nThe all-in-one binary should work on Windows x86-64, Windows AArch64, macOS x86-64, macOS AArch64, Linux x86-64, Linux AArch64, and FreeBSD x86-64. **For other platforms make sure you check out [Zig's official download page](https://ziglang.org/download/).**\n\n## Development\n\n![C++](https://img.shields.io/static/v1?style=for-the-badge\u0026message=C%2B%2B\u0026color=00599C\u0026logo=C%2B%2B\u0026logoColor=FFFFFF\u0026label=)\n![GitHub Actions](https://img.shields.io/static/v1?style=for-the-badge\u0026message=GitHub+Actions\u0026color=2088FF\u0026logo=GitHub+Actions\u0026logoColor=FFFFFF\u0026label=)\n\nThe GitHub actions workflow doesn't actually build Zig itself. That's too complex. Instead, it pulls the precompiled artifacts from the [Zig downloads page](https://ziglang.org/download/) and bundles them into a single ZIP archive.\n\nTODO: I need some assistance in handling non-zero exit codes and process signals properly in Windows. If anyone reading this knows how to `waitpid()` correctly please enlighten me! ️😊\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcbhmr%2Fzig-cosmo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcbhmr%2Fzig-cosmo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcbhmr%2Fzig-cosmo/lists"}