A trip planner that puts every day on a map.

Get a day-by-day itinerary with real places, then reorder stops, shorten routes and check opening hours. Split costs between travellers, build a packing list and export to your calendar or GPX.

Version 2.0.0 · MIT license · github.com/dguywhoknows/trip-planner

The app itself, running inside this page. Anything you do here is saved in your browser.

Ask it to do things

Press Ctrl+K in the app (Cmd+K on a Mac) and describe what you want. The model chooses from the app's own functions, runs them in order and tells you what changed. Some examples:

Three days in Kyoto in April, temples and foodPlans the trip and maps every stop.
Move the castle to day 2 and add lunch near itMoves the stop and adds a new one nearby.
Sam paid 46 euros for dinner, split two waysLogs the expense and updates who owes whom.

Instructions you save in the same box, such as "keep it short" or "I'm a beginner", are added to every AI request the app makes.

Features

AI itinerary
With real places, coordinates, timing, costs and tips.
Leaflet map
With per-day colored routes, numbered pins and popups.
Leg timing
Haversine × detour factor, walk vs transit model, cascading arrival times.
Route optimization
Nearest neighbour + 2-opt per day, with kilometers saved.
Outlier detection
One-click location fix via OpenStreetMap Nominatim.
Totals
Distance, walking time, estimated steps, spend; budget by category.
Exports
GPX (waypoints + routes), iCalendar with GEO, Markdown with map links.
Opening hours
Stops can carry open/close times; the schedule waits for opening and warns when you would arrive too close to closing.
Edit the plan directly
Add a place by name (geocoded with OpenStreetMap), reorder stops, move them between days, change durations, delete.
Expenses page
Log spending in any currency with conversion to a home currency, split between travellers, see each person's balance and the fewest transfers to settle up, and compare spend against the itinerary estimates by category.

Runs in your browser

Geodesy, scheduling, route optimization, outlier checks, map rendering, exports. None of this needs a network connection or a model.

Uses a language model for

Structured itinerary generation constrained by pace, budget and interests.

Notes

Cost
Free. Each account has a daily allowance of AI requests.
Your data
What you make stays in this browser on this device. Your account is only used for signing in and for the built-in AI. You can export a backup or clear everything from Settings.
AI access
Signed-in users get the built-in AI with nothing to set up. You can also use your own Groq or OpenRouter key under Settings.
Source
The code and tests are on GitHub under the MIT license. The tests also run in your browser.