A simple web application that generates names randomly using a Markov model, based on existing lists of first and last names.
- Python
- flask
python -m venv venv
source venv/bin/activate # On macOS/Linux
venv\Scripts\activate.bat # On Windows
pip install flask
python run.py
Then open your browser and go to:
http://127.0.0.1:5000/
random_name/
│
├── app/ # Core application logic
│ ├── init.py # Flask app initialization
│ ├── data_loader.py # Loads name data
│ ├── generator.py # Random name generation
│ ├── routes.py # Flask routes (web pages)
│ └── syllables.py # Syllable handling
│
├── data/ # Name data files
│ ├── noms_famille.txt
│ ├── prenoms_filles.txt
│ └── prenoms_garcons.txt
│
├── static/ # CSS and JS assets
│ ├── css/style.css
│ └── js/script.js
│
├── templates/ # HTML templates
│ └── index.html
│
├── run.py # Main entry point
├── scrap.py # Name scraping script
├── NOMS.py # Testing or processing script
├── ameliorer.txt # Improvement notes
└── README.md