F-O-R-G-E
Web App · Self · 1 Day
FORGE is a no-nonsense daily discipline tracker built around spiritual practice, physical conditioning, and focused work. It gives you a brutally honest look at your consistency day after day, week after week, all year long.
FORGE is a personal discipline operating system. Not a productivity app. Not a wellness journal. A system built around one question asked every single day: did you actually do what you said you would?
Every day you either win or you don't. FORGE tracks six core protocols across spiritual, physical, and mental dimensions and gives you a visual record of your performance. No streaks designed to feel good. No badges. No dopamine tricks. Just the truth about how you're living, laid out in a grid you have to look at.
The Protocols Six daily disciplines that together represent a complete person:
NO BS — Your priority lock. Did you eliminate the distractions and self-destructive patterns today? This is the foundation everything else is built on. SALAT — All five daily prayers tracked individually: Fajr, Dhuhr, Asr, Maghrib, and Isha. Plus optional Tahajjud for those going further. Prayer is the scaffolding. QURAN — Daily engagement with the Quran. A spiritual anchor that grounds the rest of the day's effort. DEEP WORK — Focused, meaningful output. Not busy work. Not consumption. Real work that moves something forward. GYM — Strength training. The physical counterpart to mental discipline. Showing up when you don't feel like it. RUN / WALK 10K — Cardiovascular conditioning and daily movement. Running pushes the ceiling. Walking 10,000 steps is the floor. All protocols are fully customizable — rename labels and categories to fit your life without changing the underlying structure.
How It Works Each day you open FORGE and log what you did. One tap per protocol. The salat section expands to show each prayer individually so nothing is bundled or hidden. Your logs build into three visual layers:
Week Matrix — The current week at a glance. Instant feedback on the last seven days. Month Matrix — A calendar heatmap of the current month. Shows your rhythm and your gaps side by side. Year Matrix — A full-year contribution-style heatmap, every day from January 2nd forward, colored by daily score. This is the one that matters. This is the one you look at when you want to know who you really are. Tracking starts on January 2nd. New Year's Day is for rest. The 2nd is when the work begins.
Statistics & Reports The Stats view is where accountability lives. It calculates your efficiency score — total points earned against the maximum possible (12 per day: 5 salat + 6 habits + Tahajjud) — across every tracked day. Per-protocol totals, monthly trend charts, and a full written yearly report give you an honest audit of your year. Any past day can be edited directly from the month calendar when logs need correcting.
AI Coaching & Daily Goals When you want a reality check, FORGE generates a short, blunt motivational paragraph via Google Gemini based on your actual stats — how many gym days, salat days, deep work sessions — and gives you a coach's response. Not gentle. Not vague. Direct. Alongside tracking, a simple date-stamped goals list lets you write what needs to get done today, check it off, and start tomorrow clean.
Cloud Sync & Offline FORGE works entirely offline, storing data in localStorage. Signing in with Google syncs logs and protocol settings to Firestore across all devices. The app is a PWA with a service worker, so it installs on mobile and runs without a connection.
Technical Overview FORGE is a React 19 + TypeScript SPA bundled with Vite 6, styled with Tailwind CSS using a dark-first design language — deep blacks, sharp borders, gold accents. State is kept simple: React useState with localStorage as the persistence layer, log data keyed by YYYY-MM-DD strings, no Redux or Zustand. The backend is Firebase 12 — Google Sign-In for auth, Firestore for per-user document storage. An additive merge function resolves conflicts between local and cloud data on sign-in. AI responses come from Google Gemini via @google/genai, called client-side with a VITE_GEMINI_API_KEY env variable. Date math uses date-fns 4 throughout.
Stack: React 19 · TypeScript 5.8 · Vite 6 · Tailwind CSS 3 · Firebase 12 · Gemini AI · date-fns 4 · Lucide React · PWA service worker
Challenges The hardest part wasn't the features — it was the design philosophy. Most habit trackers are built to feel good. FORGE is built to be honest, which creates real tension: a year heatmap full of empty days has to feel like a call to action, not a reason to quit. Every visual decision — dark backgrounds, no softening, gold on black — exists to hold that line.
The Firestore merge logic required an additive approach that maximizes logged habits without silently overwriting intentional unchecks, with no versioning system to rely on. The protocol customization system required a strict separation between the cosmetic config layer and the structural data layer, so that a renamed protocol still writes to the original data key and that mapping survives serialization across both localStorage and Firestore.
Technologies
React, Vite, Firebase
Services
Ui/UX, Development