Skip to content

Commit 8574f9e

Browse files
committed
2 parents 9dc2666 + bb68d97 commit 8574f9e

File tree

1 file changed

+30
-2
lines changed

1 file changed

+30
-2
lines changed

README.md

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,46 @@
99
</div>
1010

1111
## The Problem
12-
I was working on the backend of a web project of mine and I forgot what the HTTP status code `418` was so instead of opening a web browser I of course used this as an excuse to write my very first golang project.
12+
I was working on the backend of a web project of mine and I forgot what the HTTP status code `418` was, so instead of opening a web browser I of course used this as an excuse to write my very first golang project.
1313

1414
turns out I was getting trolled...
1515

1616
<img width="500px" src="./assets/http_cat_418.png">
1717

18+
anyways now I can get these hypertext transfer protocol kitties right from a terminal ⛱️ ☺️
19+
20+
## How to install from soruce.
21+
> [!WARNING]
22+
> Currently only added Linux support as I'm too lazy rn 😪 😴
23+
24+
### Required Prerequisites
25+
- [golang](https://go.dev/)
26+
- [chafa](https://github.com/hpjansson/chafa) (used for image displaying)
27+
28+
1. Clone and cd into the repo.
29+
```sh
30+
git clone https://github.com/THEGOLDENPRO/http-cat-cli
31+
cd http-cat-cli
32+
```
33+
2. Build the Go project.
34+
```sh
35+
make
36+
```
37+
3. Install the binary.
38+
```sh
39+
make install
40+
```
41+
4. Done ✨
42+
```sh
43+
http-cat 100
44+
```
45+
<img width="500px" src="./assets/http_cat_100.png">
46+
1847
## Powered by the HTTP Cats API 🌟
1948
The command line interface is brought to you by **https://http.cat/**.
2049

2150
Of course I am not affiliated with them...
2251

23-
2452
> Section 1: Meow Disclaimer Meow
2553
>
2654
> WHEREAS, it has come to the attention of the undersigned party, hereto referred to as "The Unaffiliated Entity," that there exists an entity, website, or digital repository of feline-themed HTTP status codes known to the general public and the World > Wide Web as "https://http.cat" (hereinafter referred to as "HTTP.cat" or "The Cat Site");

0 commit comments

Comments
 (0)