pj 661100dfdc Margin Calendar: a Google Calendar client for desktop and phone
Tauri 2, React 19 and zustand on the front, Rust behind. Rust owns auth,
all HTTP to Google, the SQLite store, the sync loop, recurrence expansion
and timezone maths. TypeScript owns rendering and never talks to Google,
which keeps the content security policy locked to ipc:.

Week, day and agenda views, and no month view: it would be a second layout
engine, and the fit and fold logic that makes a day fit the window without
scrolling is the whole point of the app.

Runs on macOS, Linux, Android and iOS. Desktop catches Google's OAuth
redirect on a loopback port. A phone cannot, and Google rejects loopback
for mobile client types anyway, so it redirects to a custom URI scheme and
needs its own public OAuth clients, which docs/mobile.md covers. Refresh
tokens are sealed with XChaCha20-Poly1305 in the app data directory on
every platform, with no OS credential store in the picture.

On a phone the chrome becomes a top bar and a bottom tab bar, overlays
become sheets, hover affordances become taps, and dragging out an event
waits for a long press. Navigation moves one day at a time everywhere,
a swipe included.
2026-08-12 17:09:21 +05:30

Margin Calendar

A calendar for Google Calendar on macOS, Linux, Android and iOS. The grid owns the window, the day fits without scrolling, and on a desktop the whole thing is drivable from the keyboard.

It is a sibling to margin and shares its stack and its visual language.

Setup and the Google OAuth client it needs are in docs/setup.md, and the extra clients a phone build needs are in docs/mobile.md. The product decisions are in docs/design.md, how it is built is in docs/architecture.md, and the conventions it follows are in docs/conventions.md.

S
Description
No description provided
Readme MIT
2.1 MiB
0 Stars 1 Watchers 0 Forks
Languages
TypeScript 54.8%
Rust 32.5%
CSS 10.2%
Kotlin 1.2%
Just 0.6%
Other 0.6%