Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
THEGOLDENPRO committed Aug 18, 2024
2 parents 9dc2666 + bb68d97 commit 8574f9e
Showing 1 changed file with 30 additions and 2 deletions.
32 changes: 30 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,46 @@
</div>

## The Problem
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.
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.

turns out I was getting trolled...

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

anyways now I can get these hypertext transfer protocol kitties right from a terminal ⛱️ ☺️

## How to install from soruce.
> [!WARNING]
> Currently only added Linux support as I'm too lazy rn 😪 😴
### Required Prerequisites
- [golang](https://go.dev/)
- [chafa](https://github.com/hpjansson/chafa) (used for image displaying)

1. Clone and cd into the repo.
```sh
git clone https://github.com/THEGOLDENPRO/http-cat-cli
cd http-cat-cli
```
2. Build the Go project.
```sh
make
```
3. Install the binary.
```sh
make install
```
4. Done ✨
```sh
http-cat 100
```
<img width="500px" src="./assets/http_cat_100.png">

## Powered by the HTTP Cats API 🌟
The command line interface is brought to you by **https://http.cat/**.

Of course I am not affiliated with them...


> Section 1: Meow Disclaimer Meow
>
> 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");
Expand Down

0 comments on commit 8574f9e

Please sign in to comment.