Skip to content
radasanuflorinPublic

About

Offline-first personal planner: calendar, to-dos, projects, journal, linked notes and fitness. Showcase – source is private.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

🗓️ RITM · personal planner

This is a showcase repository. The source code is kept in a private repository.

An offline-first personal planner that brings the whole day into one place: calendar, to-dos, projects, a journal, linked notes and fitness tracking. It installs on a phone or desktop as a PWA, works without internet, and syncs across devices through Cloudflare's edge.

RITM in use

Features

  • Home page with live tiles and a global + button to add a task, an event, a note or a weigh-in from anywhere.
  • Calendar by month or by week, with swipe navigation, coloured events and per-day task progress.
  • "Today" page with an hourly schedule, the current or next event, and the day's to-dos.
  • Events and tasks that can repeat (daily, weekdays, weekly, every N weeks, monthly, yearly or custom), with a choice to edit only this day or the whole series.
  • Overlap detection between events, with a suggestion for the next free time slot.
  • Projects with a single list of steps, a status, ready-made templates, and step planning over the days until a deadline, with the pace you need to keep.
  • Journal with the mood of the day and full-text search.
  • Notes: folders, a rich-text editor with Markdown shortcuts, [[wiki links]] with autocomplete, aliases, backlinks, unlinked mentions, merging, and a link graph (global and local) rendered with WebGL. Notes can be imported from an Obsidian vault.
  • Fitness: a weight log with a trend chart, and goals for weight, running pace or anything else.

Calendar and day panel

Calendar with the day panel, with demo data.

Under the hood

  • Own recurrence engine, with no rrule library. It handles the edge cases: the 31st on shorter months, 29 February, and week intervals that start on Monday.
  • Offline-first sync: every item has an id, an updatedAt and a soft-delete tombstone, and local and server data are merged item by item. Notes sync one by one, with server-side versions and conflict rules, and are stored in IndexedDB.
  • Own state store on useSyncExternalStore, with no Redux or Zustand, and debounced saves that are flushed when the app is closed on a phone.
  • Cloudflare Worker backend: the whole app sits behind an owner-only login, with rate-limited sign-in, short sessions, strict security headers (CSP, frame blocking) and data stored in D1.
  • Link graph laid out in a Web Worker so the interface stays smooth.
  • Tests with Vitest for the planning logic and for the Worker's login, data and notes API.
  • Dates handled as YYYY-MM-DD strings, anchored at noon, to avoid time-zone and daylight-saving bugs.

Tech stack

React 19 · TypeScript · Vite · Cloudflare Workers · D1 · IndexedDB · Tiptap · d3-force · graphology · Service Worker · Vitest

Source code

The code is private. If you would like to see it, contact me through my GitHub profile.

About

Offline-first personal planner: calendar, to-dos, projects, journal, linked notes and fitness. Showcase – source is private.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors