Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 692 Bytes

README.md

File metadata and controls

33 lines (25 loc) · 692 Bytes

Joker

Get random Chuck Norris jokes in terminal. Written in Go.

This project fetch the chucknorris.io API.

Screenshot

Installation

go get github.com/Doaxan/joker_go

Or:

go install github.com/Doaxan/joker_go@latest

Usage

Retrieve a random chuck joke

joker_go random

Get 5 random unique jokes for each of the existing categories and saves them to text files in ./jokes/ directory - one for each of the categories

joker_go dump

You can specify the number of jokes, but note that in some categories(career, fashion, for ex.), jokes are less than 5.

joker_go dump -n 7