{"id":13734462,"url":"https://github.com/kristianfreeman/gatsby-cloudflare-workers","last_synced_at":"2025-08-24T09:17:56.910Z","repository":{"id":42236722,"uuid":"181243567","full_name":"kristianfreeman/gatsby-cloudflare-workers","owner":"kristianfreeman","description":"🌥👷‍♀️ An example Gatsby.js project served by Cloudflare Workers","archived":false,"fork":false,"pushed_at":"2023-01-11T19:08:41.000Z","size":6742,"stargazers_count":21,"open_issues_count":19,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-10T18:16:40.729Z","etag":null,"topics":["cloudflare-workers","gatsby","serverless"],"latest_commit_sha":null,"homepage":"https://gatsby-workers.signalnerve.com/","language":"JavaScript","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/kristianfreeman.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}},"created_at":"2019-04-14T00:42:11.000Z","updated_at":"2024-08-01T08:55:21.000Z","dependencies_parsed_at":"2023-02-09T04:30:54.911Z","dependency_job_id":null,"html_url":"https://github.com/kristianfreeman/gatsby-cloudflare-workers","commit_stats":null,"previous_names":["kristianfreeman/gatsby-cloudflare-workers"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kristianfreeman/gatsby-cloudflare-workers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristianfreeman%2Fgatsby-cloudflare-workers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristianfreeman%2Fgatsby-cloudflare-workers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristianfreeman%2Fgatsby-cloudflare-workers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristianfreeman%2Fgatsby-cloudflare-workers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kristianfreeman","download_url":"https://codeload.github.com/kristianfreeman/gatsby-cloudflare-workers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristianfreeman%2Fgatsby-cloudflare-workers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271755408,"owners_count":24815398,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"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-workers","gatsby","serverless"],"created_at":"2024-08-03T03:00:56.101Z","updated_at":"2025-08-24T09:17:56.890Z","avatar_url":"https://github.com/kristianfreeman.png","language":"JavaScript","funding_links":[],"categories":["GraphQL"],"sub_categories":[],"readme":"# Gatsby.js + Cloudflare Workers 🌥👷‍♀️\n\nThis is an example project showing how you can build a website with [Gatsby.js](https://www.gatsbyjs.org/), and serve it at the edge using [Cloudflare Workers](https://workers.cloudflare.com).\n\n## Why?\n\nCloudflare Workers allows developers to write and deploy applications at the edge. When a user requests your site, your Worker will serve it directly from one of our [hundreds of data centers](http://bit.ly/gatsby-example-cf-network) around the world. Static sites are perfect fit for building extremely fast, high availability sites, and Cloudflare's default caching behavior will result in a high cache rate for the bulk of your site. The result is an easy-to-manage site, hosted [at the edge](http://bit.ly/gatsby-example-cf-edge-server), with the ability for further customization via editing the provided [Workers function](https://github.com/signalnerve/gatsby-cloudflare-workers/blob/master/index.js).\n\n## How it works\n\n1. The website is built locally using Gatsby (for development instructions, see [`GATSBY_README.md`](https://github.com/signalnerve/gatsby-cloudflare-workers/blob/master/GATSBY_README.md))\n2. The site is built and uploaded using Workers Sites\n3. A Cloudflare Worker script runs at your domain, and takes the requested path (e.g. `/about`) and requests it from Workers KV.\n\n## Setup\n\nBegin by installing the dependencies for this project (and additionally, install `wrangler` and `gatsby` globally if you don't already have them):\n\n```\nnpm install -g @cloudflare/wrangler gatsby\n```\n\nYou can use this repository as a template to build your own static site, using the `wrangler generate` command.\n\n```\nwrangler generate ttps://github.com/signalnerve/gatsby-cloudflare-workers/\n```\n\nIf you haven't installed Wrangler yet, try our [Quick Start guide](https://workers.cloudflare.com/docs/quickstart/cli-setup/) for installing Wrangler, and getting up and running with Cloudflare Workers!\n\n## Development\n\nDevelop your site locally:\n\n```\nnpm run start\n```\n\nDevelop your Worker with the Gatsby site locally:\n\n```\nnpm run start-worker\n```\n\nWhen you're ready to deploy, build and deploy to GitHub:\n\n```\nnpm run deploy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkristianfreeman%2Fgatsby-cloudflare-workers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkristianfreeman%2Fgatsby-cloudflare-workers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkristianfreeman%2Fgatsby-cloudflare-workers/lists"}