I'm an 11th grader in Korea, and for the past year I've been building OWN SHARK on my own: an assistant where you say "somewhere open right now that sells painkillers" and it answers with places that are open now , ranked by real walking time .
Here's how it works under the hood, and the bugs that cost me the most time.
The problem
Map apps answer "what's near me". At 11pm I needed "what's open, and how many minutes on foot". The closest pharmacy on the map was closed; the next one had shut down months ago.
Stack
FastAPI (Python 3.13) for the API
SQLite with an R*Tree index for "places within N metres" queries
Valhalla + OSRM , self-hosted, for real pedestrian routes
Capacitor Android app (a WebView over the API)
One CPU pod on RunPod runs all of it: API, Valhalla and OSRM in a single container
Ranking by walking time, not distance
The R*Tree pulls candidates in a 1.5 km box.…