{"id":13473871,"url":"https://github.com/cloudflare/worker-template-static","last_synced_at":"2025-10-20T04:30:30.242Z","repository":{"id":48018026,"uuid":"183651227","full_name":"cloudflare/worker-template-static","owner":"cloudflare","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-25T22:48:56.000Z","size":118,"stargazers_count":14,"open_issues_count":7,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-03T21:41:21.074Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/cloudflare.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}},"created_at":"2019-04-26T15:19:28.000Z","updated_at":"2024-09-20T01:53:39.000Z","dependencies_parsed_at":"2024-01-05T20:58:53.073Z","dependency_job_id":"76fb7b15-51fc-4fd5-9d15-2a62302395ca","html_url":"https://github.com/cloudflare/worker-template-static","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fworker-template-static","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fworker-template-static/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fworker-template-static/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fworker-template-static/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudflare","download_url":"https://codeload.github.com/cloudflare/worker-template-static/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219869309,"owners_count":16555579,"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":[],"created_at":"2024-07-31T16:01:07.610Z","updated_at":"2025-10-20T04:30:29.905Z","avatar_url":"https://github.com/cloudflare.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Workers"],"sub_categories":["Recipes"],"readme":"## Static\n\nGenerate a static HTML or JSON page from raw strings in your Workers script.\n\n[`index.js`](https://github.com/cloudflare/worker-template-static/blob/master/index.js) is the content of the Workers script.\n\nLive Demos are hosted on `workers-tooling.cf/demos/static`:\n[Demo HTML](http://workers-tooling.cf/demos/static/html) | [Demo json](http://workers-tooling.cf/demos/static/json)\n\n#### Wrangler\n\nTo generate using [wrangler](https://github.com/cloudflare/wrangler)\n\n```\nwrangler generate myApp https://github.com/cloudflare/worker-template-static\n```\n\n#### Serverless\n\nTo deploy using serverless add a [`serverless.yml`](https://serverless.com/framework/docs/providers/cloudflare/) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudflare%2Fworker-template-static","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudflare%2Fworker-template-static","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudflare%2Fworker-template-static/lists"}