Openfront Tour Guide
Tours, scheduled departures, guides, fleet, bookings, waivers, reseller channels, refunds, and payouts.
Source · Live site · Catalog
Openfront Tour Guide is a self-hostable app for a tour or activity operator. It sells scheduled departures with limited seats. It tracks which guides and vehicles each departure needs, collects waivers, and settles money with guests, guides, and resellers.
It is built on Next.js 16, React 19, Keystone 6 (GraphQL), Prisma, and PostgreSQL. Start with Getting started.
Status
- The source is public under the MIT license. The live site at tour-guide.openship.org runs the full onboarding seed.
- Card payments use Stripe.
- Tours, waivers, promo codes and resources are generic list screens; the other dashboard pages are purpose-built. External dashboards says which.
Who uses what
| User | Surface | Typical jobs |
|---|---|---|
| Guest | Storefront | Pick a tour and date, hold seats, pay (card and gift card), find a booking, sign waivers, move, change the party or cancel from the manage link, join a waitlist |
| Reservations staff | Bookings, Waitlist, Today | Phone and walk-up sales, moves, party changes, waitlist, refunds |
| Operations manager | Calendar, Guides, Resources, Weather | Put departures on sale, staff them, cancel for weather and rebook |
| Guide | My departures, Check-in, Pickup sheets | See their own departures, check guests in (also offline), print pickup sheets |
| Finance | Bookings, Gift cards, Channels, Sales report | Refunds, gift cards, reseller statements, sales |
Surfaces
- Storefront at
/: tours, a tour page, checkout, booking page, lookup, manage link, waitlist, and waiver. See External storefronts. - Dashboard at
/dashboard: operator pages under/dashboard/platform/*plus the generic Keystone list screens at/dashboard/[listKey]. See External dashboards. - GraphQL at
/api/graphql. - Payment webhook at
/api/webhooks/payment/[provider]. - Dashboard assistant at
/api/completion, with an MCP endpoint at/api/mcp-transport/[transport]and OAuth routes under/oauthand/.well-known.
Models
The schema has 45 lists in features/keystone/models. See Data model.
| Area | Lists |
|---|---|
| Identity | User, Role, OAuthApp, OAuthToken |
| Catalog | Tour, TicketType, AddOn, MeetingPoint, CancellationPolicy, PricingRule, Schedule |
| Capacity and staffing | Departure, Guide, GuideCertification, GuideAvailability, GuideAssignment, Resource, ResourceAssignment, GuidePayout |
| Booking | Booking, BookingLine, InventoryHold, PartyChange, Participant, WaiverTemplate, WaiverSignature, PromoCode, PromoRedemption |
| Operations | Channel, ChannelStatement, OperationalTask, NotificationPreference, WaitlistEntry, StoreSettings, AuditEvent, ManagerApproval |
| Payments | PaymentProvider, PaymentCollection, PaymentSession, Payment, Refund, PaymentWebhookEvent, IdempotencyKey |
| Gift cards | GiftCard, GiftCardEntry |
Bookings, holds, departures, participants, assignments, payouts, and audit events cannot be created or edited through generated GraphQL. They change only through custom operations.
One operator per deployment
There is one operator per deployment. There is no organization or tenant list. Access comes from boolean flags on Role. See Roles and permissions.
Main workflow
- Set up the operator: settings, payment provider, meeting points, cancellation policies, waiver, guides, fleet, and tours with ticket types and a schedule.
- Put the next 60 days of scheduled departures on sale from the Calendar.
- Offer guides to departures and assign a vehicle or boat. The vehicle sets the seat limit.
- Guests hold seats for 10 minutes, then pay by card or gift card. Seasonal pricing rules apply to the quote. Staff can also book by phone or walk-up, or for a reseller. A full departure takes a waitlist.
- Each guest signs a waiver through a link.
- On the day, guides check guests in from the manifest.
- Close the finished departure. Draft guide payouts are created.
- Refund or cancel by policy. Guests can move or cancel from their manage link. Weather cancellations wait for a rebook or a full refund per booking.
- Generate reseller statements.
Onboarding
The sidebar shows a setup card to a user with canManageOnboarding while there are no tours. The dialog offers two templates: a complete operator setup and a minimal one. Both create records through allow-listed setup operations and report each step. See Getting started.
What the code does not do
- No live connection to resale marketplaces. Resellers are channels with a commission rate you enter.
- No SMS, demand-based pricing, or multi-day lodging.
- No automatic move of a departure to
in_progress. The status exists but no operation sets it. - No email is sent for bookings, waitlist offers or weather cancellations. Password reset email needs SMTP settings.
- No scheduler. Run daily check on Today does the departure check.