Skip to main content

2 posts tagged with "architecture"

View All Tags

IPC Contracts and Static Guards: Keeping Main and Renderer in Sync

ยท 4 min read
Nick2bad4u
Project Maintainer

Electron IPC is a common place where apps quietly rot: ad-hoc channels, mismatched payloads, and copy-pasted handlers that drift over time.

Uptime Watcher takes a different route. IPC contracts are treated as shared types, and we have scripts that fail the build when main and renderer drift apart.

This post explains how the IPC layer is structured, how static guards work, and how that shows up in the git history.

Uptime Watcher 19.0: From Local Script to Deeply Tested Desktop App

ยท 8 min read
Nick2bad4u
Project Maintainer

Uptime Watcher started as a pragmatic way to watch a handful of URLs from a local machine. By the time we reached v19.0.0, it had grown into a heavily-tested, architecture-driven Electron app with a full documentation and tooling ecosystem around it.

This post walks through that journey using real commits from the git history, focusing on three themes:

  • How the architecture solidified around repositories, events, and IPC
  • How the testing strategy evolved into strict, property-based coverage
  • How documentation and tooling caught up with the rest of the stack

All examples and commit references are taken from the main branch as of 2025-11-25.