Repository navigation
v0.0.1
twgps v0.0.1
twgps is a lightweight, cross-platform desktop application that turns your computer into a Stratum 1 NTP server using a USB/serial GPS receiver. Built with Wails (Go + Svelte), it features a real-time satellite visualization dashboard and a high-precision NTP server daemon.
๐ Key Features
- Embedded Stratum 1 NTP Server: Serves precise time synced with GPS satellite clocks. Automatically falls back to system time if GPS 3D fix is lost.
- Automatic GPS Detection: Automatically scans serial/USB ports at common baud rates (115200 and 9600 bps) to find connected NMEA GPS receivers.
- Satellite Tracking Dashboard: Tracks and visualizes active satellites (GPS, GLONASS, Galileo, BeiDou, QZSS/Michibiki, and SBAS/MSAS).
๐ ๏ธ Key Enhancements & Bug Fixes in v0.0.1
- 3D Globe Optimization: Throttled WebGL updates to once every 10 seconds to reduce CPU consumption and prevent GUI freezing under software rendering.
- 2D Skyplot Fallback: Added a robust 2D Skyplot fallback to ensure uninterrupted GUI rendering if WebGL hardware acceleration crashes or is unavailable.
- Serial Port Robustness: Fixed serial port scanning deadlocks and resolved a Linux driver race condition.
- macOS Installer Fix: Prevented bundle relocation in the macOS installer package to ensure proper visibility in the Launchpad.
- Linux Compatibility: Built with WebKit2GTK 4.1 tags for compatibility with modern distributions like Ubuntu 24.04.
- Testing & CI/CD: Integrated Go unit tests for internal services, established a Playwright-based E2E automated testing environment, and configured a full GitHub Actions automated release pipeline.