This project uses Crawl4AI (https://github.com/unclecode/crawl4ai) for web data extraction.
A small NiceGUI prototype for finding and displaying game maps. Work in progress — UX and map lookup/display are not finished.
- Create and activate a virtualenv (recommended):
- python3 -m venv venv
- source venv/bin/activate
- Install dependencies:
- pip install -r utils.txt
- Run the app:
- python main.py
- Open http://localhost:8081 and try the input field.
- main.py — UI (input, submit button, placeholder image)
- functions.py — handlers (clear_input, handle_submit)
- curated_map_urls.txt — simple map name → image URL mapping
- utils.txt — dependency list (nicegui, pillow, requests)
- Submitting prints a normalized version of the input and clears the field.
- The app currently does not replace the displayed image based on input — that’s the next step.
- curated_map_urls.txt contains example mappings to use for lookups.
- Implement map lookup using curated_map_urls.txt (or a better source)
- Update the image component in-place when a map is found
- Add unit tests and CI
- Improve input parsing and error handling
- Add documentation and license