Hey, I'm Chris

I'm a full-stack web developer obsessed with making the web easier to build for everyone. For the last few years I've been a solutions engineer at Gatsby, Netlify, and now Sanity, as well as consulting to help companies build a better web. Check out the things I've built or the tech I've used to build them below.

Chris LaRocque headshot

Projects

Serve markdown versions of Astro pages for agents

How to serve raw markdown from static Astro pages for AI agents using HTTP content negotiation and Netlify Edge Functions.

3/8/2026

Add a copy button to code blocks in Astro

How to add a copy button to code blocks in your Astro project's markdown files.

9/28/2025

Frontify DAM integration for Sanity Studio

Hacked together integration between Frontify and Sanity, allowing you to use Frontify assets in your Sanity content.

4/20/2025

Remove 404 error for /service-worker.js in local development

Various frameworks will show a 404 in the console for a /service-worker.js file, here's how to remove that lil jerk.

3/4/2024

Add Vitest to a Next app

Adding Vitest to a Next app and writing a simple test

12/9/2023

Astro component for a GitHub contribution graph

Using the GitHub GraphQL API to recreate their contribution graph in an Astro component with Tailwind CSS.

12/3/2023

Astro component for a list of GitHub gists

Using the GitHub JS client Octokit to fetch all gists for a user and render them using an Astro component.

12/2/2023

Migrating my site from Nuxt to Astro

The process of taking my site from Nuxt to Astro, and how content collections replaced Contentful.

11/25/2023

Creating a Tailwind color picker

A little helper function I found useful in a recent project that allows you to get the Tailwind color closest to a given CSS color value.

11/24/2023

Generating open graph images with Netlify functions.

How to leverage Netlify functions and Satori to generate open graph images for your site.

2/28/2023

Building theconvergencebooks.com with Astro

Migrating theconvergencebooks.com from Wix to Astro+Tailwind

1/12/2023

Content search with Nuxt, Algolia, and Contentful

Integrating Algolia into a Nuxt+Contentful stack.

11/3/2022