Native C++ / Qt 6 Quick · Built for Omarchy

Geospatial clarity for the agentic desktop

NeedleEye is a suite of hardware-accelerated OpenGL geospatial viewers and live KML, KMZ & CZML situational displays — natively themed for Omarchy and scriptable from the terminal via Session D-Bus.

MIT License x86_64 & aarch64 OpenGL 3.3 Core Wayland Native
NeedleEye GLOBE
OpenGL 3.3 · Live KML/CZML · Terrarium DEM
24.00° N · 18.00° W
ALT 11,400 km
HUD hidden — press H to restore
The Monorepo Suite

Four focused native tools. One shared geospatial core.

Every viewer links the same C++ libraries (libs/geo and libs/app) for KML/KMZ/CZML parsing, disk-cached tile streaming, Omarchy theming, SpaceMouse input, and Session D-Bus introspection.

Explore Monorepo →
NeedleEye Globe icon

NeedleEye Globe

needleeye-globe
org.needleeye.App.globe

3D Earth globe and live KML/KMZ/CZML situational viewer rendered on Qt 6 Quick + OpenGL 3.3 Core.

  • Free public base maps: Dark Tactical, Esri Aerial, EOxCloudless Sentinel-2, OSM, Earth at Night, NASA Blue Marble, OpenTopoMap & Voyager
  • 3D terrain elevation via AWS Terrarium DEM tiles and persistent local disk caching
  • Preloaded live USGS Earthquake and GDACS Global Disaster feeds with timeline playback
apps/globe
NeedleEye 2D icon

NeedleEye 2D

needleeye-2d
org.needleeye.App.map2d

Flat Earth mission-control display designed for satellite ground tracks, sensor footprints, and global overlays.

  • Defaults to full-world Equirectangular (Plate Carrée) with one-key P toggling to Web Mercator
  • Exact GPU shader reprojection across single-image world maps and tiled XYZ/TMS servers with continuous east/west wrapping
  • Real-time per-pixel solar terminator wave, adaptive graticule, and antimeridian-safe ±180° tracks
apps/2d
NeedleEye Moon icon

NeedleEye Moon

needleeye-moon
org.needleeye.App.moon

3D lunar globe with real-time analytical Meeus phase shadowing, NASA LRO/LOLA imagery, and built-in landmarks.

  • Live selenographic subsolar ephemeris (~0.3° accuracy), sharp airless terminator, Lommel-Seeliger reflectance & cool Earthshine
  • Interactive phase stepping via [ / ] (±1 day, Shift ±3 hours) and CLI date/phase control
  • NASA Moon Trek LRO WAC Global Mosaic & LOLA relief tiles plus searchable Apollo, Luna, Chang'e, Chandrayaan-3, SLIM & Artemis landmarks
apps/moon

NeedleEye CLI

needleeye
org.needleeye.App.*

Standalone headless launcher, dynamic D-Bus controller, offline file inspector, and AI agent skill installer.

  • Auto-discovers every running NeedleEye window and its app-specific commands (projection, phase, etc.)
  • Structured --json output across camera control, feeds, feature queries, timelines, and atomic OpenGL screenshots
  • Offline KML/KMZ/CZML inspection (needleeye inspect) and bundled SKILL.md installer
Engine & Integration

Engineered for desktop craft, zero lock-in.

No Electron wrapper and no embedded AI daemon. Just fast C++, OpenGL shaders, standard geospatial formats, and first-class Linux desktop integration.

Geospatial Engine · libs/geo

Native KML, KMZ & CZML Pipeline

Built on QXmlStreamReader, libzip, and Qt JSON to stream recursive NetworkLink hierarchies, styled Placemark folders, polygon triangulation, and time-dynamic 3D orbital or flight trajectories directly from local files or live HTTP feeds.

KML / KMZ CZML Clock & Trajectories ECEF Cartesian Sensor Footprints / Ellipses TimeStamp & TimeSpan AWS Terrarium DEM Custom XYZ / TMS Single-Image World Maps
6-DoF Hardware · Wayland

3D SpaceMouse Support

Optional native 6-DoF camera navigation via spacenavd / libspnav over the AF_UNIX Wayland socket (no X11 required), paired with automatic Wayland idle inhibition (zwp_idle_inhibit_manager_v1) during SpaceMouse motion and fullscreen viewing.

Base Maps & Caching

Public & Custom Imagery

Stream Dark Tactical, Esri Aerial, EOxCloudless Sentinel-2, OpenStreetMap, NASA Blue Marble, Earth at Night, OpenTopoMap, Voyager, and NASA Moon Trek WMTS tiles — or add any custom tile server or local world map in Settings (,).

Keyboard-First UX

Familiar Orbital Shortcuts

Jump to features or Photon-geocoded cities with /, switch base maps 1–9, toggle HUD-free globe mode with H, reset orientation with N/U/R/0, and open files through xdg-desktop-portal.

Desktop Integration · libs/app

Omarchy & Hyprland Native

Watches ~/.local/state/omarchy/current/theme/colors.toml live, polls Hyprland's effective decoration:rounding via hyprctl, computes WCAG accent contrast automatically, and ships Arch Linux PKGBUILDs for every app.

Preview Omarchy Live Theme Watching

Just like NeedleEye's Theme watcher on colors.toml, switch accents and corner rounding across the page and viewport live.

Scriptable & Agent-Ready

Drive every window via CLI, Session D-Bus, or AI agents.

NeedleEye exposes clean primitive Session D-Bus interfaces without embedding any agent or MCP runtime into the GUI. Use the headless needleeye CLI, raw busctl, or install the bundled SKILL.md.

Full Reference →

Clean Separation of Concerns

Human / Shell Script / Hyprland / AI Agent
Reads bundled SKILL.md installed via needleeye skill install
↓ needleeye <cmd> ... --json
needleeye CLI (headless)
Auto-discovers apps & component commands; supports offline inspect
↓ Session D-Bus (org.needleeye.App.*)
Running NeedleEye GUI Windows
needleeye-globe · needleeye-2d · needleeye-moon
↑ Optional universal dbus-mcp bridge (zero NeedleEye code)
# Launch Globe and discover active apps on Session D-Bus
needleeye globe
needleeye apps --json

# Fly to Reykjavik, switch to Earth at Night, capture framebuffer
needleeye fly 64.1466 -21.9426 --alt 600 --pitch 35 --instant --json
needleeye map set earth-night --json
needleeye set --day-night on --hud off --json
needleeye screenshot /tmp/reykjavik.png --json

# Load a live USGS KML feed or inspect a CZML file offline
needleeye feed add /tmp/mission.czml --name "Mission" --json
needleeye inspect /tmp/mission.czml --json
# Launch 2D flat map and toggle Web Mercator / Equirectangular
needleeye 2d /tmp/orbit.czml
needleeye --app 2d projection mercator --json
needleeye --app 2d projection equirectangular --json

# Launch 3D Moon and step or jump lunar phase illumination
needleeye moon
needleeye --app moon phase --json
needleeye --app moon phase full --json
needleeye --app moon phase 2026-12-24T00:00:00Z --json
needleeye --app moon phase live --json
# Install the compiled-in SKILL.md for Gemini, Claude, or Agents
needleeye skill install

# Or target a specific directory / print to stdout
needleeye skill install --dir ~/.gemini/config/skills
needleeye skill show

# Inspect all dynamically advertised commands across running apps
needleeye commands --json
# Introspect any running NeedleEye service directly with busctl
busctl --user introspect org.needleeye.App.globe /org/needleeye/App

# Fly to Tokyo (lat, lon, altKm) and toggle 3D terrain
busctl --user call org.needleeye.App.globe /org/needleeye/App \
  org.needleeye.App FlyTo ddd 35.6762 139.6503 800

busctl --user call org.needleeye.App.globe /org/needleeye/App \
  org.needleeye.App SetTerrain b true
Getting Started

Build from source or install as Arch packages.

Clone the monorepo and target all four apps at once or pass specific app names (globe, 2d, moon, cli).

Arch Linux / Omarchy (makepkg)

git clone https://github.com/srmr-net/needleeye.git
cd needleeye

# Build & install all Arch packages (or pass specific apps)
./bin/install
./bin/install globe 2d moon cli
Installs binaries, desktop entries, scalable SVG icons, and MIT licenses via makepkg -fsi.

Local Build, Test & Dev Launch

# Build all apps (or target specific apps: ./bin/build 2d cli)
./bin/build

# Run all Qt Test suites offscreen
./bin/test

# Launch directly via the unified CLI
./apps/cli/build/needleeye globe
Dependencies: qt6-base, qt6-declarative, qt6-svg, qt6-wayland, wayland, libzip, xdg-desktop-portal. Optional: libspnav (SpaceMouse), qt6-imageformats (4K Moon TIFF).