Hssp
CLI to avoid remembering the http status codes
Install / Use
/learn @sterchelen/HsspREADME
hssp
hssp for Http StatuS where the two capitals S replace the two ts of http.
Why?
This CLI is here to help you find/remember the meaning of an http status code.
Historically speaking, this tool was written after struggling with my memory to find the meaning of a code. Some tools already exist but installing Node.js is too much for me...
Installation
From source
To install hssp, first you need to install the dependencies:
- Arch Linux
pacman -S go make
Then, run:
make build
make install
Quick start
Code
$ hssp code --help
This command displays the description for the given http code
with its corresponding class and its RFC.
Usage:
hssp code CODE [...] [flags]
Flags:
-h, --help help for code
Meaning of 204
$ hssp code 204
+------+------------+-------------+---------+
| CODE | CLASS | DESCRIPTION | RFC |
+------+------------+-------------+---------+
| 204 | Successful | No Content | RFC7231 |
+------+------------+-------------+---------+
Class
$ hssp class --help
This command displays the list of http status codes corresponding
to the given class, which may be specified as a number (1-5),
a class category string (1xx, 2xx, 3xx, 4xx, 5xx),
or the class name, i.e. informational, successful, redirect, clienterror,
or servererror
Usage:
hssp class [CLASS | NAME] [...] [flags]
Flags:
-h, --help help for class
List of status codes for the Successful class
$ hssp class 2
+------+------------+-------------------------------+---------+
| CODE | CLASS | DESCRIPTION | RFC |
+------+------------+-------------------------------+---------+
| 200 | Successful | OK | RFC7231 |
| 201 | Successful | Created | RFC7231 |
| 202 | Successful | Accepted | RFC7231 |
| 203 | Successful | Non-Authoritative Information | RFC7231 |
| 204 | Successful | No Content | RFC7231 |
| 205 | Successful | Reset Content | RFC7231 |
| 206 | Successful | Partial Content | RFC7231 |
| 207 | Successful | Multi-Status | RFC4918 |
| 208 | Successful | Already Reported | RFC5842 |
| 226 | Successful | IM Used | RFC3229 |
+------+------------+-------------------------------+---------+
Contribution
No other words than "Welcome guys" :)
Related Skills
node-connect
344.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
99.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
