http.cat
About
This is the website that is hosted at https://http.cat.
The code for the older version hosted at the heroku platform is at the http-status-cats-api repo.
This version does not need any server side code. The API behavior is provided by a Nginx server config.
On v2.0.0 the website was built with React and pre-rendered with react-snap.
As of v3.0.0 it's built with Next.js 13.
Development
npm run dev
Starts the development server.
npm test
Runs the tests.
npm run build
Creates a build of the project.
Adding a new image
Currently not all HTTP status codes are covered. You are welcome to create an issue or PR to cover them.
We've prepared some templates to make this process easier.
You can clone it, replace the information with the new one and export as a JPG image.
Then, upload it to both public/images
and public/images-original
folders and update the statuses.ts file.
Credits
Thanks to @girliemac for creating the amazing http status cats images.
Thanks to @pfdborges for creating the http.cat logo (RIP my friend).
Thanks to @nataly-enne for the status 501 image.
Thanks to @woutfeys for the status 102 image.
Thanks to @epitaciosilva for the 407 image.
Thanks to @luizcieslak for the 203 image and 407 image fix.
Sponsor / Donate
Please consider sponsoring or donating via .
You can also adopt an HTTP Cat and have your name in the chosen cat image!
License
MIT