← All docs

Flyaway docs

Sharing and people

How shared links and traveler profiles work.

Sharing

From a flight’s Share… menu, the share button on the Stats tab, or a person’s profile, pick Link to publish a page friends can open in any browser:

  • Trips (/t/:id) cover the outbound and return flights together. Flights are grouped into a trip when each one leaves from where the last landed (or flies home from elsewhere) within 60 days, until the trip is back where it started. You can also share a single flight. The page shows live progress, the aircraft on the map and pickup details (terminal, gate, baggage belt).
  • Profiles (/p/:id) show every route one person flew and their stats, without any dates, plus their home airport if set.

A share is a snapshot stored by the backend (POST/GET/PUT/DELETE /shares). Only the fields the page shows are sent; seats, booking references, boarding passes, notes and aircraft addresses never leave the phone, and the backend validates every snapshot against that whitelist. The app keeps the snapshot up to date while it is open, deletes a trip’s link when its flights are removed, and Settings → Shared links can stop any link. The secret that allows changes is only ever stored on the phone that created the link (the backend keeps a hash).

Set PUBLIC_WEB_URL on the backend to the address of the web app (for example https://flyaway.day) so the app can hand out full links. Shared pages are noindex and are not listed anywhere.

People

Everyone your flights are for gets a profile: you, plus each traveler named on a flight (a person is their name and relationship). Open one from Settings → People, the person button on the Stats tab, or a row under Travelers. A profile shows that person’s stats and lets you edit their name, relationship and home airport, or share their profile. Renaming someone updates all of their flights; renaming them to match someone else merges the two. Your own name also fills in the default traveler when it’s set to you.

Edit this page on GitHub