{"id":44026993,"url":"https://github.com/initialcapacity/cloudflare-workers-starter","last_synced_at":"2026-02-07T18:10:09.790Z","repository":{"id":222426944,"uuid":"756322532","full_name":"initialcapacity/cloudflare-workers-starter","owner":"initialcapacity","description":"A starter app for projects on Cloudflare Workers","archived":false,"fork":false,"pushed_at":"2024-03-16T18:09:31.000Z","size":269,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T05:05:51.041Z","etag":null,"topics":["cloudflare","edge","functions","workers"],"latest_commit_sha":null,"homepage":"https://starterapp.work","language":"TypeScript","has_issues":false,"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/initialcapacity.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}},"created_at":"2024-02-12T12:48:01.000Z","updated_at":"2024-02-21T15:37:39.000Z","dependencies_parsed_at":"2024-02-29T20:49:54.852Z","dependency_job_id":null,"html_url":"https://github.com/initialcapacity/cloudflare-workers-starter","commit_stats":null,"previous_names":["initialcapacity/workers-starter","initialcapacity/cloudflare-workers-starter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/initialcapacity/cloudflare-workers-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/initialcapacity%2Fcloudflare-workers-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/initialcapacity%2Fcloudflare-workers-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/initialcapacity%2Fcloudflare-workers-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/initialcapacity%2Fcloudflare-workers-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/initialcapacity","download_url":"https://codeload.github.com/initialcapacity/cloudflare-workers-starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/initialcapacity%2Fcloudflare-workers-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29203289,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T17:44:10.191Z","status":"ssl_error","status_checked_at":"2026-02-07T17:44:07.936Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["cloudflare","edge","functions","workers"],"created_at":"2026-02-07T18:10:07.314Z","updated_at":"2026-02-07T18:10:09.784Z","avatar_url":"https://github.com/initialcapacity.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloudflare Workers Starter\n\nA starter app that deploys a web application, authentication proxy, and background worker to [Cloudflare Workers](https://developers.cloudflare.com/workers/).\n\n- Authentication\n- Web app\n- Background worker\n\n## Technology stack\n\nThis codebase is written Typescript and runs on the [Cloudflare Workers runtime](https://developers.cloudflare.com/workers/runtime-apis/web-standards/),\nan [open source runtime](https://github.com/cloudflare/workerd) similar to the [Web Workers API](https://developer.mozilla.org/en-US/docs/Web/API/Worker/Worker)\nwhich differs from what runs on Node or your browser.\nIt uses a lightweight framework called [Hono](https://hono.dev/) for routing and templating.\nThe codebase is tested with [Vitest](https://vitest.dev/) and builds and deploys with [Wrangler](https://developers.cloudflare.com/workers/wrangler/).\nA [GitHub action](.github/workflows/pipeline.yml) builds a zip artifact and deploys it to Cloudflare\nWorkers.\nSee the starter in action at [starterapp.work](https://starterapp.work) (login required).\n\n## Run tests\n\n1.  Create a `.dev.vars` file from the example.\n    ```shell\n    cp .dev.vars.example .dev.vars\n    ```\n\n1.  Edit the `.dev.vars` file to match your configuration.\n\n1.  Migrate your local database.\n    ```shell\n    npm run migrations:apply\n    ```\n\n1.  Run tests with NPM.\n    ```shell\n    npm test\n    ```\n\n## Run the apps\n\n1.  Run the scheduled worker.\n    ```shell\n    npm run worker:start\n    ```\n\n1.  Trigger the scheduled worker.\n    ```shell\n    npm run worker:trigger\n    ```\n\n1.  Run the auth app.\n    ```shell\n    npm run auth:start\n    ```\n\n1.  Run the app and visit [localhost:8788](http://localhost:8788).\n    ```shell\n    npm start\n    ```\n\n## Migrations\n\nCreate a migration with\n\n```shell\nnpm run migrations:create -- $MIGRATION_NAME\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finitialcapacity%2Fcloudflare-workers-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finitialcapacity%2Fcloudflare-workers-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finitialcapacity%2Fcloudflare-workers-starter/lists"}