Get random Chuck Norris jokes in terminal. Written in Go.
This project fetch the chucknorris.io API.
go get github.com/Doaxan/joker_go
Or:
go install github.com/Doaxan/joker_go@latest
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