Interactive route planner with semantic preferences for daily walks.
uv sync
uv run run.pydocker build -t perfect10k .
docker run -p 8000:8000 -v $(pwd)/backend/cache:/app/cache perfect10kAccess at http://localhost:8000
- Set starting point on map
- Add preferences (e.g., "scenic parks", "quiet streets")
- Build route by selecting from waypoint suggestions
- Complete loop and export GPX
- Backend: Python 3.10+ with FastAPI
- Frontend: JavaScript with Leaflet maps
- Geospatial: OSMNx + NetworkX
- Semantic: Scikit-learn
- Python 3.10+
- ~2GB RAM
- Internet connection
POST /api/start-session- Initialize route planningPOST /api/add-waypoint- Add waypoint to routePOST /api/finalize-route- Complete circular routeGET /health- Health checkGET /docs- API documentation
# Linting
ruff check
# Formatting
black .Dependencies managed via uv in pyproject.toml.
backend/
├── main.py # FastAPI app
├── clean_router.py # Routing logic
├── semantic_overlays.py # Feature management
└── core/ # Utilities
frontend/
├── index.html
├── js/
└── css/
Features semantic preference matching, interpretability overlays, and multi-layer cachin for real-time route construction.

