simon-barton / randorg

:game_die: Command line tool to generate 'true' random integers and strings via RANDOM.ORG

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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..)

About

:game_die: Command line tool to generate 'true' random integers and strings via RANDOM.ORG

License:MIT License


Languages

Language:Shell 100.0%