Files
random-pseudonyme-generator/README.md
2024-11-19 22:53:29 +01:00

22 lines
669 B
Markdown

# random-pseudonyme-generator
Generate funny random pseudonyms composed of an adjective, a noun and a number between 1 and 999.
## Usage
You can either use python to directly run the script like this :
```bash
python pyrpg.py $NUMBER_OF_PSEUDONYMS
```
Or you can use the provided Dockerfile to build a docker image and run it like this :
```bash
docker build -t pyrpg .
docker run --volume $(pwd)/out:/out --env NUMBER_OF_PSEUDONYMS=$NUMBER_OF_PSEUDONYMS pyrpg
```
If you don't provide a number of pseudonyms, the script will generate 100 by default.
Pseudonyms are written to a file named `pseudonyms.txt` in and 'out' volume so you can retrieve them easily.