Skip to content

Latest commit

 

History

History
executable file
·
41 lines (29 loc) · 838 Bytes

README.md

File metadata and controls

executable file
·
41 lines (29 loc) · 838 Bytes

randorg

I'm So Random

Command line tool to generate 'true' random integers and strings via 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.

Coming soon

  • Picking from a hat / lottery (from file..)