https://github.com/vikbert/random
A simple CLI tool to generate random content
https://github.com/vikbert/random
Last synced: 9 months ago
JSON representation
A simple CLI tool to generate random content
- Host: GitHub
- URL: https://github.com/vikbert/random
- Owner: vikbert
- License: mit
- Created: 2023-07-05T16:17:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-18T15:50:23.000Z (9 months ago)
- Last Synced: 2025-06-18T16:43:19.881Z (9 months ago)
- Language: Go
- Size: 710 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A Simple and Flexible Random Content Generator built with love with cobra in Golang
## Install
```bash
go install github.com/vikbert/random/cmd/random@latest
```
```bash
random help
```
## Usage
```bash
random -h
random uuid -h
random pass -h
```


| Commands | Description |
|---|---|
| uuid | generate & paste an UUID ✅ |
| pass | generate & paste a password ✅ |
| text | generate & paste a dummy text ✅ |
| joke | display a random joke ✅ |
| motto | display a random motto ✅ |
## Development
```bash
git clone https://github.com/vikbert/random.git
cd random
make install
make build
make tidy
```
## Licence
[MIT](./LICENSE) License © 2023 [@vikbert](https://vikbert.github.io/)
## Thanks
go/template by @Schwarz IT
https://github.com/SchwarzIT/go-template
Cobar.dev
https://cobra.dev/
Joke API
https://sv443.net/jokeapi/v2/
Quotes API
https://api-ninjas.com/api/quotes