A fast and clean reference for all HTTP status codes — with definitions, usage notes, and code examples across multiple languages and frameworks.
How to install
·
How to build
·
Project architecture
·
How to add new content
# Clone the project
git clone https://github.com/whosramoss/httpstatus/
# Go to the project directory
cd httpstatus
# Install dependencies
npm install
# Start the server
npm run dev # Start the build
npm run buildsrc/
├── content/
│ ├── config.ts # Zod collection schema
│ └── posts/ # 63 .md files (one per HTTP status code)
├── layouts/
│ └── BaseLayout.astro # Reusable layout with SEO meta tags
├── components/
│ └── References.astro # Per-language code references
└── pages/
├── index.astro # Homepage with grouped status listing
├── [code].astro # Dynamic page for each status code
├── rss.xml.ts # Automatic RSS feed
└── sitemap.xml.ts # Automatic XML sitemap
Create a .md file inside src/content/posts/ with the required frontmatter:
---
title: "NNN"
subtitle: "Status Name"
category: "Nxx Category"
rfcUrl: "https://tools.ietf.org/html/rfcXXXX"
rfcLabel: "RFCXXXX Section X.X.X"
references:
rails: ":symbol_name"
go: "http.StatusName"
---MIT License. LICENSE
Gabriel Ramos de Paula (@whosramoss)