Skip to content

Instantly share code, notes, and snippets.

View Igloczek's full-sized avatar

Bartek Igielski Igloczek

View GitHub Profile
@Igloczek
Igloczek / readme.md
Last active December 1, 2025 15:23
local reverse proxy setup guide

Local Dev Proxy

Automated local development proxy using Caddy. Handles HTTPS (.test domains) and HMR automatically.

Setup (New Device)

1. Install Caddy

brew install caddy
@Igloczek
Igloczek / README.md
Created March 13, 2026 17:17
Electron IPC Bridge Wrapper (typed, invoke + event)

Electron IPC Bridge (less pain, more type safety)

Electron’s IPC is powerful, but the ergonomics are rough. You end up wiring:

  • ipcMain.handle + ipcRenderer.invoke for requests
  • ipcRenderer.on for push events
  • a bunch of duplicated string names and mismatched payloads

This bridge wraps that into one small, typed layer.

What this gives you