https://github.com/simon-barton/randorg
:game_die: Command line tool to generate 'true' random integers and strings via RANDOM.ORG
https://github.com/simon-barton/randorg
bash bytes command-line dice-roller numbers random strings tool
Last synced: 2 months ago
JSON representation
:game_die: Command line tool to generate 'true' random integers and strings via RANDOM.ORG
- Host: GitHub
- URL: https://github.com/simon-barton/randorg
- Owner: simon-barton
- License: mit
- Created: 2017-08-02T12:26:54.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-11T11:49:22.000Z (almost 9 years ago)
- Last Synced: 2025-11-06T10:26:52.292Z (8 months ago)
- Topics: bash, bytes, command-line, dice-roller, numbers, random, strings, tool
- Language: Shell
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# randorg

Command line tool to generate '[true](https://www.random.org/randomness/)' random integers and strings via [RANDOM.ORG](https://www.random.org/)
## Installation
This tool is written in bash. Other dependencies are cURL.
Optionally copy `randorg` to `/usr/local/bin` for use anywhere.
## Basic usage
Generate random strings:
```
$ ./randorg string --num 5 --len 10 --upper --digits
7LS4SFFUDL
OMV5V2R7K6
8G3VAIJ55M
5MLYZRIR3U
6LSPCPB78L
```
Roll a dice with `n` sides:
```
$ ./randorg roll 6
4
```
Flip a coin:
```
$ ./randorg flip
Heads!
```
If used in conjunction with an automated task please refer to the RANDOM.ORG's API [usage guidelines](https://www.random.org/clients).
## Coming soon
- Picking from a hat / lottery (from file..)