An open API service indexing awesome lists of open source software.

https://github.com/henrikac/httpcat

A tool to translate http status codes
https://github.com/henrikac/httpcat

crystal crystal-lang crystal-language

Last synced: 4 months ago
JSON representation

A tool to translate http status codes

Awesome Lists containing this project

README

          

# httpcat

httpcat is a fun tool to translate http status codes.

## Installation

Start by cloning the repository and then build the project

```
$ crystal build src/httpcat.cr
```

When the project has been built move the binary into a folder that is in your `$PATH`.

## Usage

#### Open http.cat
```
$ httpcat -o
$ httpcat --open
```

#### Translate status code to text
```
$ httpcat -c 200
200 OK

$ httpcat --code 200
200 OK
```

#### Open status code on http.cat
```
$ httpcat -c 200 -o
$ httpcat -c 200 --open
$ httpcat --code 200 -o
$ httpcat --code 200 --open
```

## Contributing

1. Fork it ()
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

## Contributors

- [Henrik Christensen](https://github.com/henrikac) - creator and maintainer