Skip to content

olegbrok/overhead

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overhead

Even G2 HUD app that shows the nearest aircraft over you, sourced from adsb.lol.

What it does

  • On launch, draws a "scanning..." page on the G2 HUD.
  • Asks the Even App webview for the phone's GPS (navigator.geolocation), falling back to the last cached coordinates in Even App local storage.
  • Queries https://api.adsb.lol/v2/lat/{lat}/lon/{lon}/dist/10 for aircraft within 10 nautical miles, picks the closest, and renders: FLIGHT / TYPE · ALT · SPEED / DISTANCE / tap to refresh.
  • Tapping the first text container (CLICK / DOUBLE_CLICK on the G2 touchpad) triggers a refresh.

Stack

  • TypeScript + Vite
  • @evenrealities/even_hub_sdk for the page-container bridge to the HUD
  • Plain fetch to api.adsb.lol (no API key)

Develop

npm install
npm run dev      # vite dev server on :5174
npm run build    # tsc + vite build to dist/
npm run typecheck

To run on glasses, point the Even App at the dev URL (or upload dist/).

Open questions / v0 limitations

  • Webview geolocation permission has not been verified on the Even App yet — if getCurrentPosition is denied, the app falls back to cached coords; no UI to set them yet (manual setLocalStorage('overhead.lastCoords', ...)).
  • No route lookup (origin → destination): adsb.lol doesn't carry it.
  • No auto-poll: tap to refresh only.
  • No image budget used: text-only HUD.

About

Even G2 HUD app: nearest aircraft overhead via ADS-B + flight routes

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors