E2DA GitHub - Risk-Group/sarif: Personal travel intelligence dashboard - points & miles, award search, US and Schengen presence limits, · GitHub
[go: up one dir, main page]

Skip to content

About

Personal travel intelligence dashboard - points & miles, award search, US and Schengen presence limits,

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

41 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sarif

Sarif

Travel intelligence dashboard for frequent flyers and digital nomads.
Award search, points tracking, US and Schengen stay counters. Runs locally.

Download the desktop app  ·  Run from source


Desktop app (recommended)

Easiest way to get started. One file, no terminal needed.

  1. Go to Releases
  2. Download the .dmg file (macOS Apple Silicon)
  3. Open the .dmg, drag Sarif to Applications, done

Windows support is coming soon.

Everything runs on your machine with no account, no cloud and no tracking.

macOS security warning: The app isn't notarized yet (standard for open-source apps outside the App Store). On first launch, macOS will block it. To open:

  1. Try open 8D6E ing Sarif (it will be blocked)
  2. Open System Settings > Privacy & Security
  3. Scroll down, you'll see "Sarif was blocked" with an Open Anyway button
  4. Click it, enter your password, and you're set

You only need to do this once. Notarization is on the roadmap.

Run with Docker

git clone https://github.com/jcdentonintheflesh/sarif.git
cd sarif/app
cp .env.example .env
docker compose up -d

Open localhost:3847. Done.

To stop: docker compose down. To update: git pull && docker compose up -d --build.

Run from source

If you'd rather run without Docker:

git clone https://github.com/jcdentonintheflesh/sarif.git
cd sarif/app
npm install
cp .env.example .env
npm run dev

Open localhost:5173. The app walks you through setup. Add ?demo to the URL to try it with sample data first.

No Git? Click the green Code button on the repo page, Download ZIP, unzip, then run the commands above starting from cd sarif/app.

API keys (optional)

Everything works without API keys. Award search and live prices light up once you add them.

Key What it powers Where to get it Cost
SEATS_API_KEY Award search seats.aero $9.99/mo
RAPIDAPI_KEY Business/PE cash prices Sky Scrapper on RapidAPI Free (100 req/mo) or $8.99/mo (10k req)
TRAVELPAYOUTS_TOKEN Economy cash baseline travelpayouts.com Free

Desktop app: Add keys from Settings (gear icon) in the app. No file editing needed.

Running from source: Either add keys in Settings, or put them in app/.env (copy .env.example) and restart npm run dev.

Overview

Sarif dashboard

Award Search pulls live award availability from seats.aero, which aggregates 30+ airline loyalty programs (United, Aeroplan, Flying Blue, etc.) into one API. Results show alongside cash prices from Sky Scrapper (business/premium economy) and Travelpayouts (economy) so you can compare points vs. cash on the same screen.

Points & Miles tracks balances across your programs and shows which transferable currencies (Amex MR, Chase UR, etc.) can move where.

US Presence Tracker counts rolling 180-day and 365-day totals, runs the IRS Substantial Presence Test (the 3-year weighted formula), and suggests exit dates to avoid triggering tax residency.

Schengen Tracker does the same for the 90/180-day rule.

Trip Planner lets you simulate future trips against both US and Schengen limits before booking.

Award Search

Your data

All data is stored locally on your device — trips, points, API keys, and settings. Nothing leaves your machine.

  • Docker: Data persists in a Docker volume (sarif_data). Survives container restarts and rebuilds.
  • Source: Data saved to server/data.json. Survives browser clears and restarts.
  • Desktop app: Data in your OS app data directory. Survives app updates.

API keys are stored in a separate file from trip data, so exporting a backup never leaks your keys.

Backing up: Settings (gear icon) > Export backup. Saves everything as a JSON file. Import backup to restore.

Things that will delete your data:

  • Clicking "Start fresh" in Settings
  • docker compose down -v (removes volumes — don't use -v unless you mean it)
  • Uninstalling the desktop app without exporting first

Affiliate links

Cash-fare results link out to Aviasales (via Travelpayouts). Bookings made through those links earn a small referral commission for the maintainer — at no extra cost to you, and it never changes the price you pay. This is what funds Sarif's development and API bills. The affiliate marker is a public attribution tag (you can see it in the link's ?marker= parameter) and ships in every build. If you're self-hosting and want bookings credited to your own account instead, set TRAVELPAYOUTS_MARKER in app/.env. No personal data is ever sent — these are plain outbound links you choose to click.

Stack

React 19, Vite, Tailwind CSS, Recharts, Express (API + data persistence), Electron (desktop), Docker

License

MIT


Built by @vxdenton

About

Personal travel intelligence dashboard - points & miles, award search, US and Schengen presence limits,

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0