Skip to content

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

License

Notifications You must be signed in to change notification settings

simon-barton/randorg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

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

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages