
Hog Watch
PostHog analytics companion app that lives in your menu bar. View key metrics at a glance without leaving your workflow.
Project Overview
Hog Watch is an Electron-based menu bar application that connects to PostHog to display key analytics metrics. It shows 7-day trends for page views and unique visitors with sparkline charts, plus top events, pages, and referrers. The app integrates with Polar for license gating and features a PostHog-inspired dark theme.
Knowledge Gained
Building this app deepened my understanding of Electron tray applications, including window positioning, IPC communication, and system tray integration patterns. I explored PostHog query API with HogQL for fetching analytics data and implemented Chart.js sparklines for compact data visualization. The Polar license integration taught me software licensing patterns for desktop applications.
The Impact
This project demonstrates my ability to build polished desktop utilities that solve real workflow problems. It showcases Electron development skills, API integration with analytics platforms, and attention to user experience with a minimal, always-accessible interface.