{
  "path": "/posts/free-static-host/",
  "text": "\n## Introduction\n\nHello everyone! This is how I made [boop.cat](https://boop.cat), the backend, the global CDN, and everything you need to know!\n\n### How do deployments work?\n\nFirst, the Git repository gets cloned in the build server, then the server runs npm/yarn/pnpm/bun build or the user's specified command (using our detection) and then we ensure static output, then the static assets get uploaded to our Backblaze B2 Bucket and Cloudflare KV routes traffic and does the Global CDN.\n\n### How does the Global CDN work?\n\nAfter the static assets are built, we upload it to B2 and Cloudflare KV routes traffic for the subdomain .scan.blue the user picked and that uses Cloudflare's CDN\n\n### How did you make custom domains work with the Global CDN?\n\nCloudflare has a tool called [Cloudflare for SaaS](https://www.cloudflare.com/saas/) which lets hosts of platforms let users bring their own hostnames and handles SSL for them, that's why when you set-up a custom domain in [boop.cat](https://boop.cat) it asks you to create a TXT to get Cloudflare to issue the SSL certificate and then the CNAME record pointing to sites.scan.blue which is the Worker that routes traffic\n\n## Conclusion\n\nThat's how I made free static hosting for developers, you can sign up today at [https://boop.cat](https://boop.cat)\n\nEnjoy!\n",
  "$type": "site.standard.document",
  "title": "How I made free static hosting for developers",
  "description": "This post covers how I made boop.cat and everything behind it.",
  "publication": "at://did:plc:3i6uzuatdyk7rwfkrybynf5j/site.standard.publication/3minyqulb5s2c",
  "publishedAt": "2025-12-27T00:00:00.000Z"
}