{"id":24764415,"url":"https://github.com/boo-urns/cloudflare-worker-starter","last_synced_at":"2025-03-23T16:27:51.635Z","repository":{"id":273593520,"uuid":"920227246","full_name":"Boo-urns/cloudflare-worker-starter","owner":"Boo-urns","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-04T19:55:02.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T20:35:08.949Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/Boo-urns.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2025-01-21T19:29:50.000Z","updated_at":"2025-03-04T19:55:03.000Z","dependencies_parsed_at":"2025-01-28T22:31:11.364Z","dependency_job_id":null,"html_url":"https://github.com/Boo-urns/cloudflare-worker-starter","commit_stats":null,"previous_names":["boo-urns/cloudflare-worker-starter"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boo-urns%2Fcloudflare-worker-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boo-urns%2Fcloudflare-worker-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boo-urns%2Fcloudflare-worker-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boo-urns%2Fcloudflare-worker-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Boo-urns","download_url":"https://codeload.github.com/Boo-urns/cloudflare-worker-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245130147,"owners_count":20565602,"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":"2025-01-28T22:31:08.083Z","updated_at":"2025-03-23T16:27:51.614Z","avatar_url":"https://github.com/Boo-urns.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloudflare Worker Starter\n\n## Overview\n\nThis project is a starter template for building applications using Cloudflare Workers. It leverages modern tools and practices to streamline development and deployment.\n\n## Key Features\n\n- **Conventional Commits**: We use conventional commits to maintain a clean and structured commit history. This helps in automating the versioning and changelog generation processes.\n\n- **GitHub Actions**: Automated workflows are set up using GitHub Actions to deploy the Cloudflare Worker seamlessly. Every push to the main branch triggers a deployment, ensuring that the latest changes are always live.\n\n- **Cloudflare Workers**: The core of this project is built on Cloudflare Workers, allowing you to run serverless applications at the edge, close to your users.\n\n## Getting Started\n\n1. **Clone the Repository**:\n\n   ```bash\n   git clone https://github.com/Boo-urns/cloudflare-worker-starter.git\n   cd cloudflare-worker-starter\n   ```\n\n   **Change Name**:\n   In the package.json change the name as well as in the wrangler.toml file\n\n2. **Install Dependencies**:\n   We use PNPM for package management. Install it globally if you haven't already:\n\n   ```bash\n   npm install -g pnpm\n   pnpm install\n   ```\n\n3. **Development**:\n   Start the development server:\n\n   ```bash\n   pnpm dev\n   ```\n\n   Open your browser at `http://localhost:8787` to see your worker in action.\n\n4. **Deployment**:\n   Deploy your worker by creating a PR.\n   - Setup a couple variables in Github\n     - `CLOUDFLARE_API_TOKEN` and `CLOUDFLARE_ACCOUNT_ID` You should be able to create the API token for default workers setting in Cloudflare.\n     - `GH_TOKEN` push access to repo.\n\n## ENV variables\n\nUse both a .dev.vars file to use env variables locally and set those with wranger for your worker:\n\n`npx wrangler secret put MY_VARIABLE_NAME`\n\n## Additional Resources\n\n- **Cloudflare Workers Documentation**: Learn more about building with Cloudflare Workers [here](https://developers.cloudflare.com/workers/).\n- **Conventional Commits**: Understand the conventional commits specification [here](https://www.conventionalcommits.org/).\n\n## Contributing\n\nWe welcome contributions! Please follow the conventional commit guidelines and ensure all tests pass before submitting a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboo-urns%2Fcloudflare-worker-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboo-urns%2Fcloudflare-worker-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboo-urns%2Fcloudflare-worker-starter/lists"}