User Guide
You’re signed in, the dashboard is staring back at you, and now you want to actually log some travel. This page walks through what TravStats does, how its pieces fit, and which sub-page covers each.
The web interface and the Companion share one design system: the same colours, spacing and typography, one page heading per screen, and dark-mode surfaces drawn from the same colour tokens. The web interface can also be installed as TravStats from a supported browser, giving it a home-screen icon and a standalone window without the normal browser frame.
The data model in one paragraph
Section titled “The data model in one paragraph”TravStats has domains for flights, cruises, lodging and places. A flight is one hop; a cruise has an itinerary; a lodging holds stays; a place holds visits. The 2.7 beta domains add roadtrips and tours, rail, coach rides, rentals and ferries. Enable only the modules you use.
A trip groups entries into one journey across domains. It can also hold a journal, photos, documents and expenses. Standalone notes record a dated moment without requiring a booking or a trip. Tags provide cross-cutting labels; achievements and statistics are derived from your recorded travel.
See Beta features for the current gates.
Everything you log lives in your own Postgres. Statistics, maps, achievements — all derived from those tables. There’s no premium tier that hides features; if it’s in the code it’s yours.
Getting travel in
Section titled “Getting travel in”Ranked by how much typing they save:
- Drop a document (seconds) — a confirmation mail (
.eml,.msg, pasted text), a booking PDF, or a photographed hotel bill. The server decides on its own whether it is looking at a flight, a cruise or a hotel; the detection works without a language model. You always see a review screen before anything saves. Parsers covers the pipeline. - Scan a boarding pass (~10 seconds) — photograph the pass or upload an image. The barcode is read first and wins every field it carries; text recognition fills in what the barcode does not hold. The flight-lookup API fills in the rest.
- Spreadsheet round trip (seconds for thousands) — supported travel tables export to one workbook, a sheet per table, and comes back in Add only, Merge or Replace mode. Flights, cruises, lodging and places all travel this way. Spreadsheet has the rules.
- List imports (migration) — a Flightradar24 or generic logbook CSV for flights, a hotel CSV for lodging, a Google Maps saved-places list. Every run is one batch that can be reverted whole. Import & Export.
- Manual entry (~30 seconds) — the form for anything nobody has a document for. Airports autocomplete from the seeded catalogue; distance computes from the coordinates.
Whichever method you use, the result is the same row. You can edit any field after the fact, and re-importing the same flight (a boarding pass after you’d already entered it manually, for example) fills gaps without overwriting what you’ve curated.
Where you’ll spend your time
Section titled “Where you’ll spend your time”The dashboard is multi-domain: an All view that overlays everything, plus one tab per enabled domain — Flights, Cruises, Lodging and Places, with additional domains when their beta and personal module settings allow them. Flights offer Routes, Globe, Heatmap, an airport-frequency map and animated Trips; cruises draw their itineraries as sea routes; lodging shows one pin per house. Every tab carries the same activity list beside the map, and picking an entry focuses it on the map instead of navigating away. The Maps page has the details.
Below the map sit the headline figures for the active tab. The deeper Statistics page has a tab per domain, a cross-domain overview, and a strip of headline tiles including days away — the one measure the domains can be compared on.
A second row covers achievements — 270+ badges in eight categories across flights, cruises, lodging and places. New ones unlock with each save and surface as a toast on the dashboard.
Countries are counted by evidence, not by where an aeroplane touched down: a completed stay, a recorded place, a port call, a day on the ground. A change of planes is kept but greyed out. The rules, the strictness setting and the passport page are on Countries & passport.
When two sources inside one record disagree — an address whose country differs from the stored one, a check-out before its check-in — nothing is corrected silently. The question lands in the Inbox, beside the flight proposals the enrichment APIs make.
Multi-user is built in, even if you’re alone
Section titled “Multi-user is built in, even if you’re alone”TravStats handles 1–10 users on one instance. Each user has their own travel, their own tags, their own statistics page. Admins can manage accounts. You can choose to share linked copies of a trip with another account; this does not make your entire logbook shared.
Set the user cap and registration mode (open vs invite-only) during
the setup wizard or later under Admin. Every account can turn on
two-factor authentication or a passkey.
Even single-user instances benefit from
Personal Access Tokens: mint a
read-scoped token, point a script at the API, build whatever you
want on top.
Backups, exports, and “what if I want to leave”
Section titled “Backups, exports, and “what if I want to leave””Three paths, depending on what you want out:
- Spreadsheet export (Settings → Backup) — one workbook with a sheet per table, column A the row’s id. Readable in any spreadsheet program and re-importable through Settings → Import. The everyday “give me my data” answer.
- Admin JSON export — a readable export across the instance’s accounts. Credential material is excluded; this is not the database restore format.
- Database backup (Admin → Backups) — full Postgres
pg_dumpplus the registered upload directories, including documents and note photos. Disabled until enabled; weekly is the default interval, with retention by age and optional WebDAV sync.
Even if TravStats the project goes quiet, your data lives in a Postgres database in a Docker volume on hardware you own. Lock-in is the opposite of self-hosted, and we know it.
Where the rest of this section goes
Section titled “Where the rest of this section goes”-
Flights — the add flow in detail, the flight detail page, bulk edits, the merge-on-re-import behaviour.
-
Trips — group flights, cruises and stays into a journey with its own page, timeline, map and gallery. Tags vs trips.
-
Maps & visualisations — modes per tab, the globe, the legend, what a click opens.
-
Statistics — the domain tabs, the KPI strip, which entries count, and where the numbers come from.
-
Achievements — the catalogue of 270+ badges, how each kind of badge is detected, hidden ones.
-
Cruises — the port-call model, importing a booking, the editable sea route, cruise money.
-
Lodging — hotels and stays: houses, stays, chains, loyalty programmes, photographs, what counts as a night.
-
Places — points of interest, lists, curated checklists, the Google Maps import.
-
Tours (beta) — road, hike, bike and ferry sections on a trip and their editor.
-
Countries & passport — how a country is counted, the strictness setting, the passport page.
-
Inbox — flight proposals and data-quality questions, and what each answer does.
-
Money & currencies — 155 currencies, ECB rates, what a total leaves out and says so.
-
Spreadsheet — supported travel tables as one workbook, and the three import modes.
-
Import & Export — the import hub, list imports, batches and reverting them, JSON export, database backups.
-
Security — two-factor authentication, recovery codes, passkeys, what an admin can reset.
-
Settings — searchable, linkable preferences; the admin area is separate.
-
Companion app (beta) — pairing a phone, reading and capturing travel, offline use and build requirements.
-
Notes — dated moments, privacy and the trip timeline.
-
Documents and expenses — originals, receipts, costs and deadlines.
-
Sharing — linked trips, trip files and public links.
-
Rail, coach rides, rentals and ferries — the new beta domains.