Best of CloudflareSeptember 2024

  1. 1
    Article
    Avatar of communityCommunity Picks·2y

    self-hosting with sst on a $5 vps.

    Learn how to use SST to self-host Plunk on a $5 VPS from Hetzner Cloud with a custom domain and HTTPS. The guide includes setting up AWS, Hetzner, and Cloudflare, installing necessary tools and services, and deploying the application. Secure your setup and manage your server efficiently.

  2. 2
    Article
    Avatar of communityCommunity Picks·2y

    Create Next App

    A modern tech stack built by Josh leverages Hono, an efficient framework using web standards, to ship high-performance, low-cost Next.js apps with routes that have built-in caching and easy deployment options. The stack ensures end-to-end typesafety, works seamlessly on both server and client, and integrates perfectly with React Query without additional abstraction.

  3. 3
    Article
    Avatar of hnHacker News·2y

    cloudflare/serverless-registry: A Docker registry backed by Workers and R2.

    Cloudflare's serverless Docker registry uses Workers and R2 for managing container images. It supports push/pull workflows and multiple authentication methods, and requires dependencies installed via pnpm. Deployment includes setting up an R2 bucket, configuring wrangler files, and deploying with npx wrangler. The registry can fallback to another registry if images are missing. Limitations include a maximum layer size of 500MB for Docker pushes. Credentials should always be set as secrets, not directly in configuration files.

  4. 4
    Video
    Avatar of joshtriedcodingJosh tried coding·2y

    I Just Released My Own Tech Stack

    Introducing JStack, a new tech stack designed to build high-performance, low-cost NextJS applications. JStack offers type safety, end-to-end typing, and seamless deployment to Cloudflare Workers, among other cloud services. It also includes built-in global caching and flexible middleware for enhanced developer experience. Currently, documentation is lacking, and database support is limited to edge-compatible options.

  5. 5
    Article
    Avatar of lobstersLobsters·2y

    Going Buildless

    Explores the concept of a buildless workflow where the files in the code editor are directly delivered to the browser without compilation or build steps. Highlights techniques for HTML, CSS, and Javascript, including server-side enhancement using Cloudflare Workers and native browser features to manage imports. Discusses limitations and performance tradeoffs of this approach but suggests potential for small projects or simpler sites.

  6. 6
    Article
    Avatar of cloudflareCloudflare·2y

    Cloudflare’s 12th Generation servers — 145% more performant and 63% more efficient

    Cloudflare's new Gen 12 servers, powered by AMD EPYC 9684X processors, offer 145% more performance and 63% higher efficiency compared to the previous Gen 11 servers. Key improvements include support for AI/ML workloads, optimized memory and storage configurations, enhanced security measures with hardware root of trust, and dual-sourcing network interface cards to ensure supply chain resilience. The servers also feature a dual 800W power supply for redundancy and drop-in GPU support to meet growing AI demand.

  7. 7
    Article
    Avatar of hnHacker News·2y

    Stupid Problems Require Stupid Solutions (Cloudflare Is Breaking My SVGs)

    The author describes an issue with Cloudflare Pages that mangles SVG attributes, resulting in broken icons on their site. After extensive troubleshooting, including comparing builds with different deployment services, they narrow down the issue to Cloudflare Pages’ build process. The temporary solution involves writing a script to correct the SVG attributes post-build, although the author hopes for a more permanent fix in the future.

  8. 8
    Article
    Avatar of bytesdevBytes by ui.dev·2y

    Feasting at the Cloudflare buffet

    Cloudflare's recent Builder Day 2024 introduced 18 major updates for the Workers serverless platform, including doubled Node.js API support, open betas for static asset hosting and CI/CD workflows, and an initiative to enable self-hosting Next.js apps across platforms via the @opennextjs/cloudflare npm package. Cloudflare aims to prevent vendor lock-in and promote portability in open-source frameworks, potentially attracting more developers to deploy their applications on Cloudflare Workers. The updates promise easier setup, maintenance, and cost efficiency.