{"id":20383081,"url":"https://github.com/headblockhead/templ-cloudflare-workers","last_synced_at":"2025-07-08T04:33:58.559Z","repository":{"id":236786212,"uuid":"793148254","full_name":"headblockhead/templ-cloudflare-workers","owner":"headblockhead","description":"Templ's counters cloudfront example rewritten in cloudflare workers.","archived":false,"fork":false,"pushed_at":"2024-12-20T23:34:29.000Z","size":13,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-21T00:25:47.540Z","etag":null,"topics":["cloudflare","cloudflare-kv","cloudflare-workers","templ"],"latest_commit_sha":null,"homepage":"https://templ.headblockhead.com","language":"Go","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/headblockhead.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-28T15:08:04.000Z","updated_at":"2024-12-20T23:34:33.000Z","dependencies_parsed_at":"2024-04-28T16:25:12.029Z","dependency_job_id":"3d443697-1655-4846-a6a0-8151e745da04","html_url":"https://github.com/headblockhead/templ-cloudflare-workers","commit_stats":null,"previous_names":["headblockhead/templ-cloudflare-workers"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/headblockhead%2Ftempl-cloudflare-workers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/headblockhead%2Ftempl-cloudflare-workers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/headblockhead%2Ftempl-cloudflare-workers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/headblockhead%2Ftempl-cloudflare-workers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/headblockhead","download_url":"https://codeload.github.com/headblockhead/templ-cloudflare-workers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234005270,"owners_count":18764589,"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":["cloudflare","cloudflare-kv","cloudflare-workers","templ"],"created_at":"2024-11-15T02:20:12.090Z","updated_at":"2025-01-15T07:18:15.022Z","avatar_url":"https://github.com/headblockhead.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Templ in Cloudflare workers\n\nAn example/template project that uses Cloudflare's Workers and Pages service, along with a key-value store to host a templ app.\n\n[SSE in action](https://github.com/user-attachments/assets/ee856356-7b9b-4970-9756-31e8b378b71f)\n\nFeatures:\n  - Counters are updated without a full page reload.\n  - Queued requests so all button presses are counted.\n  - Worker compiled to web assembly.\n  - Uses `htmx` for interactivity, `templ` for page rendering, `tinygo` to compile for WASM and `wrangler` to deploy.\n  - SSE support - counter also updates globally without a reload.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheadblockhead%2Ftempl-cloudflare-workers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheadblockhead%2Ftempl-cloudflare-workers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheadblockhead%2Ftempl-cloudflare-workers/lists"}