Configuration Module Separation: Introduced a dedicated module for application configuration, enhancing manageability and flexibility for different deployment environments.
Docker Image Optimization: Transitioned to Alpine-based Docker image for a more compact and efficient container, reducing download times and improving security.
Changes:
Code Organization: Improved project structure by modularizing the codebase, ensuring easier maintenance and scalability.
Upgrade to Python 3.12: Moved to Python 3.12 to leverage newer language features and improved performance and security.
JavaScript Separation: Isolated some of the JavaScript code into separate file, enhancing readability and maintainability of the frontend code.
Technical Improvements:
Enhanced Hosting Configuration: Optimized application hosting to fully utilize available resources, ensuring better performance.
Added:
Changes:
Technical Improvements:
To use:
```bash docker pull jocxfin/pwgen:latest docker run -d -p 5069:5069 jocxfin/pwgen:latest ```
Offline mode:
```bash docker pull jocxfin/pwgen:latest docker run -d -e NO_API_CHECK=true -p 5069:5069 jocxfin/pwgen:latest ```
With environmental variables defining settings:
```bash 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 \ jocxfin/pwgen:latest \