kentcdodds/kentcdodds.com
kentcdodds/kentcdodds.com has 2,502 GitHub stars and 646 forks. GitHot measured 0 stars in 24 hours and +1 in 7 days. Last checked 2026-11-08 08:54 UTC. Last push 2026-11-02.
My personal website
Measured star growth
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalKent C. Dodds' site
This repository contains the source code for kentcdodds.com, built with React Router v7, React, TypeScript, Vite, and Cloudflare Workers.
Tech stack
- React Router + React + TypeScript
- Vite build pipeline +
@cloudflare/vite-plugin(local dev in workerd) - Cloudflare Workers (production) with D1 + KV + R2
- Flat SQL migrations (
services/site/migrations/) +@remix-run/data-table(runtime DB) - Tailwind CSS
- Vitest and Playwright for testing
Prerequisites
Setup
- Clone the repository.
- Copy environment variables:
cp services/site/.env.example services/site/.env
- Run the full setup script:
npm run setup -s
The setup script installs dependencies, resets the local D1 database (Miniflare), validates the project, installs Playwright browsers, and runs end-to-end tests.
This repo now uses npm workspaces. Install dependencies from the repository root
so the site and worker packages share one lockfile and one node_modules tree.
The site itself lives in services/site, while root npm run ... commands
forward to that workspace for convenience.
Local development
Start the development server (MDX watcher sidecar + workerd via Vite):
npm run dev
Then open http://localhost:3000. External APIs are mocked by default
(MOCKS=true). Transactional emails are written to
services/site/mocks/msw.local.json.
Git hooks
This repo uses Husky + lint-staged from the repository root.
- On
git commit, staged files are formatted with Prettier, then the repo runsnpm run lint:all,npm run typecheck:all, andnpm run build:all. - On
git push, the repo runsnpm run test:all.
If hooks stop running after a fresh clone, run npm install from the repo root
to reinstall them via the prepare script.
Useful scripts
npm run dev- start local development servernpm run format:staged- format staged files the same way pre-commit doesnpm run test- run unit/component testsnpm run test:all- run workspace tests used by pre-pushnpm run test:e2e:dev- run Playwright tests against dev servernpm run lint- run Oxlintnpm run lint:all- run lint across the site and workspace packagesnpm run typecheck- run TypeScript checksnpm run typecheck:all- run TypeScript checks across all workspacesnpm run build- build the appnpm run build:all- run workspace builds used by pre-commitnpm run nx:graph- inspect the Nx workspace graph
Contributing
For contribution guidelines and manual setup details, read
CONTRIBUTING.md.
Explore related projects
freeCodeCamp/freeCodeCamp
freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.
458,748 starsdonnemartin/system-design-primer
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
377,322 starsreact/react
The library for web and native user interfaces.
252,408 starsvuejs/vue
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
212,630 stars