AI-powered flight debrief tool for paragliding pilots. Turn every flight into a bite-sized coaching session that builds skills and confidence.
Live Site: nextflightbetter.app
The landing page is a static site that can be served directly.
# Install Node.js dependencies
npm install
# Serve locally (using any static server)
npx serve frontend
# Or open directly in browser
open frontend/index.htmlForward Dev Port on windows to access WSL2 from e.g. your phone:
netsh interface portproxy add v4tov4 listenport=8000 listenaddress=0.0.0.0 connectport=8000 connectaddress=172.31.82.34
See backend/README.md for detailed setup instructions.
cd backend
# Install uv (if not already installed)
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install Python 3.14
uv python install 3.14
# Create virtual environment
uv venv --python 3.14 .venv
# Activate virtual environment
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install dependencies
uv pip install -e .
# Run analysis on sample file
python core/flight_debrief.py test/schauinsland_long_flight_many_thermals.igcThe API uses Vercel serverless functions for email subscriptions.
-
Copy
.env.exampleto.env:cp .env.example .env
-
Configure environment variables:
RESEND_API_KEY: Get from resend.com/api-keysNOTIFICATION_EMAIL: Your email to receive signup notificationsFROM_EMAIL: Verified sender in Resend (oronboarding@resend.devfor testing)RESEND_AUDIENCE_ID: Create an audience at resend.com/audiences and copy its ID
-
Install dependencies:
npm install
-
Test locally with Vercel CLI:
npx vercel dev
The project automatically deploys to Vercel when you push to the main branch.
Setup (one-time):
- Get your Vercel token from vercel.com/account/tokens
- Add
VERCEL_TOKENas a GitHub secret:- Go to your repo → Settings → Secrets and variables → Actions
- Click "New repository secret"
- Name:
VERCEL_TOKEN - Value: Your Vercel token
- Set environment variables in Vercel dashboard for the API:
RESEND_API_KEYNOTIFICATION_EMAILFROM_EMAILRESEND_AUDIENCE_ID
That's it! Every push to main will automatically deploy to production.
You can also deploy manually using Vercel CLI:
# Install Vercel CLI
npm i -g vercel
# Deploy to production
vercel --prodThe vercel.json configuration automatically:
- Serves static files from
frontend/ - Routes API requests to
api/serverless functions - Enables clean URLs and proper caching
This is currently a private project in early development. If you'd like to contribute or have feedback, please reach out.
Private - All Rights Reserved
For early access, visit nextflightbetter.app