v1.8.0 - Generate multiple results, custom word lists and more
Added:
- New Env Variables/features:
- Disable language dropdown menu with env
PP_HIDE_LANG=true
- You can now fetch custom word lists and set them in `PP_LANGUAGE_CUSTOM='https://github.com/jocxfin/pwgen/raw/main/wordlist.txt'
- LANGUAGE needs to be set to
custom
to use this as env var - Files need to end to .txt
- For this release the custom wordlist's url must start with
https://raw.githubusercontent.com/
for security reasons. - Files must contain word list separated by lines
- For example: https://github.com/jocxfin/pwgen/raw/main/wordlist.txt
- Good sources for word lists:
- LANGUAGE needs to be set to
- Enable possibility to create 5 passwords/passphrases at a time with
MULTI_GEN=true
- Only made possible to change this via env variable for now, because it's slowing down the generation time
- More changes coming to this in the near future
- 100 times faster in offline mode, but compromises security.
- Disable language dropdown menu with env
Changes:
- Code Organization: Improved project structure by modularizing the codebase, ensuring easier maintenance and scalability.
- Changed the copying function to be more reliable with fallback
- Better English in api info text
To use:
docker pull jocxfin/pwgen:latest
docker run -d -p 5069:5069 jocxfin/pwgen:latest
Offline mode:
docker pull jocxfin/pwgen:latest
docker run -d -e NO_API_CHECK=true -p 5069:5069 jocxfin/pwgen:latest
With environmental variables defining settings:
docker pull jocxfin/pwgen:latest
docker run -d -p 5069:5069 \\
-e NO_API_CHECK=false \\
-e PW_LENGTH=12 \\
-e PW_INCLUDE_UPPERCASE=false \\
-e PW_INCLUDE_DIGITS=false \\
-e PW_INCLUDE_SPECIAL=false \\
-e PW_EXCLUDE_HOMOGLYPHS=true \\
-e PP_WORD_COUNT=4 \\
-e PP_CAPITALIZE=false \\
-e PP_SEPARATOR_TYPE=space \\
-e PP_USER_DEFINED_SEPARATOR='' \\
-e PP_MAX_WORD_LENGTH=12 \\
-e PP_INCLUDE_NUMBERS=false \\
-e PP_INCLUDE_SPECIAL_CHARS=false \\
-e PP_LANGUAGE=en \\
-e PP_HIDE_LANG=false \\
-e PP_LANGUAGE_CUSTOM='' \\
-e MULTI_GEN=true \\
jocxfin/pwgen:latest
Quick and straightforward improvements for a better tool.
Resolves #34