{"id":51530697,"url":"https://github.com/acoyfellow/zero-cloudflare-hello","last_synced_at":"2026-07-09T02:01:06.092Z","repository":{"id":358251084,"uuid":"1240656818","full_name":"acoyfellow/zero-cloudflare-hello","owner":"acoyfellow","description":"Run a Zero native executable on Cloudflare Containers. One-click deployable hello world.","archived":false,"fork":false,"pushed_at":"2026-05-16T12:04:48.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-16T14:14:23.907Z","etag":null,"topics":["cloudflare","cloudflare-containers","edge","systems-programming","workers","zero"],"latest_commit_sha":null,"homepage":"https://zero.coey.dev/about","language":"HTML","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/acoyfellow.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-16T12:03:06.000Z","updated_at":"2026-05-16T12:04:49.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/acoyfellow/zero-cloudflare-hello","commit_stats":null,"previous_names":["acoyfellow/zero-cloudflare-hello"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/acoyfellow/zero-cloudflare-hello","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acoyfellow%2Fzero-cloudflare-hello","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acoyfellow%2Fzero-cloudflare-hello/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acoyfellow%2Fzero-cloudflare-hello/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acoyfellow%2Fzero-cloudflare-hello/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acoyfellow","download_url":"https://codeload.github.com/acoyfellow/zero-cloudflare-hello/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acoyfellow%2Fzero-cloudflare-hello/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35283905,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-09T02:00:07.329Z","response_time":57,"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":["cloudflare","cloudflare-containers","edge","systems-programming","workers","zero"],"created_at":"2026-07-09T02:01:04.894Z","updated_at":"2026-07-09T02:01:06.064Z","avatar_url":"https://github.com/acoyfellow.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zero on Cloudflare\n\n[![check](https://github.com/acoyfellow/zero-cloudflare-hello/actions/workflows/check.yml/badge.svg)](https://github.com/acoyfellow/zero-cloudflare-hello/actions/workflows/check.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-black.svg)](./LICENSE)\n\n[![Deploy to Cloudflare](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/acoyfellow/zero-cloudflare-hello)\n\n**A Zero native executable, running in a Cloudflare Container, exposed by a tiny Worker.**\n\n- Live: https://zero.coey.dev\n- Source: https://github.com/acoyfellow/zero-cloudflare-hello\n- Deploy: https://deploy.workers.cloudflare.com/?url=https://github.com/acoyfellow/zero-cloudflare-hello\n\n```sh\ncurl https://zero.coey.dev\n# hello from Zero on Cloudflare infra\n```\n\nThe program behind that response:\n\n```zero\npub fun main(world: World) -\u003e Void raises {\n    check world.out.write(\"hello from Zero on Cloudflare infra\\n\")\n}\n```\n\n## How it works\n\n```txt\nrequest → Worker → Container → Zero ELF → stdout response\n```\n\nZero emits a Linux executable. Cloudflare Containers run Linux executables. The Worker forwards HTTP to a small container adapter, which runs the Zero binary and returns stdout.\n\n## Repo map\n\n| Path | Purpose |\n|---|---|\n| [`hello.0`](hello.0) | Zero source. |\n| [`artifacts/hello-linux-musl-x64`](artifacts/hello-linux-musl-x64) | 261-byte deployable ELF. |\n| [`src/index.ts`](src/index.ts) | Worker → Container routing. |\n| [`server.mjs`](server.mjs) | Container HTTP adapter. |\n| [`Dockerfile`](Dockerfile) | Container image. |\n| [`wrangler.jsonc`](wrangler.jsonc) | Cloudflare deployment config. |\n\n## Deploy\n\nClick the button above. It forks this repo and deploys the Worker + Container. First-time Containers can take a few minutes to become ready.\n\nThe tiny ELF is committed so one-click deploy does not need to install the experimental Zero compiler.\n\n## Rebuild the Zero binary\n\n```sh\ncurl -fsSL https://zerolang.ai/install.sh | bash\nexport PATH=\"$HOME/.zero/bin:$PATH\"\nnpm run build:zero\n```\n\n## Scope\n\nThis demonstrates **Zero native output on Cloudflare Containers**. Zero does not yet expose a production native HTTP server runtime, so the container includes a visible HTTP adapter.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facoyfellow%2Fzero-cloudflare-hello","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facoyfellow%2Fzero-cloudflare-hello","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facoyfellow%2Fzero-cloudflare-hello/lists"}