https://github.com/steppsr/random_name_picker
Script to select 1 or 2 word names from text files. You can allow duplicates or force unique names.
https://github.com/steppsr/random_name_picker
bash chia chia-blockchain metadata nft
Last synced: about 1 month ago
JSON representation
Script to select 1 or 2 word names from text files. You can allow duplicates or force unique names.
- Host: GitHub
- URL: https://github.com/steppsr/random_name_picker
- Owner: steppsr
- License: apache-2.0
- Created: 2022-11-27T06:57:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-27T07:09:45.000Z (over 3 years ago)
- Last Synced: 2025-11-12T05:39:38.541Z (7 months ago)
- Topics: bash, chia, chia-blockchain, metadata, nft
- Language: Shell
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# random_name_picker
Create a list of 1 or 2 word random names.
* Names may have duplicates unless you use the `-u` command-line option to force the names to be unique.
* You must use the `-i INTEGER` command-line option to tell the script how many names to generate. Also,
the script doesn't check for how many unique names are possible, so if you use a number that is larger
than the max possible unique names, you will create an endless loop. If this does happen, you'll need
to break out the program using the Ctrl-C keyboard shortcut.
# Command Usage
```
USAGE: bash random_name_picker.sh [OPTIONS]
OPTIONS
-u Force names to be unique.
-i INTEGER Number of names to create.
-f1 FILE File containing first names. File must have one per line and no blank lines.
-f2 FILE File containing last names. File must have one per line and no blank lines.
-h Help
-v Current version & version history.
Example:
bash random_name_picker.sh -u -i 10 -f1 firstnames.txt -f2 lastnames.txt
Example for saving to file:
bash random_name_picker.sh -u -i 10 -f1 firstnames.txt -f2 lastnames.txt > names_list.txt
```
# Versions
Version 0.1 - Initial version with basic functionality to choose 1 word names, or 2 word names.
Name can be unique or allow duplicates.