Web and Mobile AppsWeb application
DevJourneys: a Gamified Self-Development App with a Public Portfolio
A local-first web app that turns tasks, study, money and wellbeing into XP on a skill tree, syncs between PC and phone through an encrypted relay, and publishes this portfolio.
- TypeWeb application
- RoleSolo project
- WhenNov 2026
- 21,000lines of TypeScript
- 99automated tests
- 19screens
- 2languages: English and Arabic

Highlights
- Local-first web app with 19 screens: tasks and habits, a focus timer, notes, spaced-repetition review with 14 question types (including runnable SQL), finance, wellbeing, a CV builder and site publishing
- One TypeScript codebase on PC and phone that works offline and syncs through an end-to-end encrypted relay on Cloudflare Workers
- Builds and publishes a bilingual (English and Arabic) portfolio site with Astro, and exports CVs as PDF and LaTeX
- About 21,000 lines of TypeScript with 99 automated tests on the rules and the server, checked on every push by GitHub Actions
The problem
I wanted one place to plan my learning, track habits, money and wellbeing, and keep an up-to-date CV and portfolio, without handing personal data to a third party or paying for hosting. My first version, a Laravel app, had become hard to maintain, so I started again from the data model up.
Approach
The rebuild is a TypeScript monorepo in five packages: a core of pure rules (XP, tasks, spaced repetition, finance, sync), a hub that runs on my PC (Node, Hono, SQLite), a React app that works offline, a static-site generator for the public portfolio (Astro), and a small Cloudflare Worker that relays encrypted changes to my phone.
Data is local first. Every field carries a hybrid-logical-clock stamp and the newer stamp wins per field, so two devices can edit the same record and still agree. The relay only ever stores AES-256-GCM ciphertext; the key stays on my devices.
Everything is private by default. The public site is built from a snapshot that includes only records marked public; finance, wellbeing and private skills are never read by it, and tests enforce that.
GitHub Actions runs the type checks and the tests on every push and deploys the relay.
Results
- Nineteen screens: tasks and habits, a focus timer, notes, spaced-repetition review with 14 question types (including runnable SQL), finance, wellbeing, journeys, achievements, skills, a CV builder and site publishing
- About 21,000 lines of TypeScript, with 99 automated tests on the rules and the server
- One codebase on PC and phone, working offline, with end-to-end encrypted sync
- Publishes this site in English and Arabic and exports CVs as PDF and LaTeX
- No hosting cost: GitHub Pages for the site and Cloudflare’s free plan for the relay
What this means for you
Keeping the rules in a pure core, with no browser or server code in it, made every feature testable and let the same logic run on the PC, in the browser and in the cloud worker.
Tools
- TypeScript
- React
- Vite
- Tailwind CSS
- Node.js
- Hono
- SQLite
- Astro
- Cloudflare Workers
- GitHub Actions
Figures
Select a figure to enlarge it.

The project at a glance
Log, level up, publish: what goes into the app, how it becomes progress, and what comes out.

Today
The start page: level, XP, streak, the day’s tasks and habits, cards due and active journeys. Demo data.

A runnable SQL question
One of 14 question types: the query runs in the browser against sample tables and the result is checked against the model answer.

The skill tree as a sunburst
Each ring is a level of the tree and each slice is sized by the XP earned. Skills are private unless made public.

Journeys
Goals with stages that fill themselves from what is logged, plus ready-made templates.

Character sheet and badges
Where the XP has gone by life area, the badges earned and personal records, all computed from the ledger.

Finance: the 90-day forecast
Balances projected from bills, regular income and everyday spending. This module is private and never published; the figures here are demo data.

Wellbeing trends
Sleep, mood, energy and weight over time, with patterns found in the user’s own records. Demo data.

Notes
Markdown pages that nest, link to each other and can hold review cards inline.

CV builder
Several CVs from one career record, with a live preview and export to PDF and LaTeX. The person shown is fictional.

On a phone
The same app installed on a phone: it works offline and syncs through the encrypted relay.

Architecture and sync
The five parts and how they talk, how two devices agree on one record, and where the code is.

How effort becomes XP
The four ways to earn, the rules applied in the ledger, and what is computed from it.