Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Life Structure

A quiet personal system for money, routines, wellness, and supplements. Built to reduce daily decision fatigue, not to demand perfect discipline. It is structure that still works when stress, fatigue, or emotions are high.

Current focus: Protect peace. Spend inside the plan.

Two views: tap Now (top-right) for a calm, minimal screen that shows only what's due at this time of day — your meds and movement as big tap-to-complete cards, everything else tucked into "Later today." Tap Full view to return to the complete app. Meds and fitness each have a time of day (set them in Health → Daily Schedule), and you can export those as daily reminders to your calendar (.ics).

What it is

A single-file progressive web app (PWA). No build step, no dependencies, no accounts. All data lives in your browser's localStorage on your own device. Open it, use it, install it to your home screen.

Project layout

life-structure/
├── life-structure.html      # the entire app: HTML + CSS + JS in one file
├── manifest.json            # PWA metadata (name, colors, icons)
├── service-worker.js        # offline caching (network-first + fallback)
├── icons/                   # app icons (192, 512, 512-maskable)
├── CLAUDE.md                # orientation for Claude Code
└── README.md

The app is deliberately kept in one HTML file. manifest.json, service-worker.js, and the icons sit around it so it behaves as a real installable PWA during development.

Run it locally

Opening life-structure.html directly (file://) works fully, including saving your data. To get the install prompt and the service worker, serve it over http:

# Python (no install needed)
python3 -m http.server 8000
# then open http://localhost:8000/life-structure.html

# or Node
npx serve .

Install to a device

  • iPhone / iPad (Safari): open the page, tap Share, then Add to Home Screen.
  • Desktop Chrome / Edge: click the install icon in the address bar.

Features

  • Dashboard — a "System" status (Level, Rank E→S, XP), a Today snapshot, auto-calculating money buckets (bills, suggested savings, flexible), starter emergency fund progress, a weekly treat budget, and daily anchors.
  • Planner — one priority, one money move, one wellness move per day (today highlighted), plus a real 20-minute "Before I Spend" wait timer that survives closing the app.
  • Finance — enter income and bills; the buckets and at-a-glance numbers update automatically. Savings rate defaults to 20%.
  • Net Worth — one number on the Dashboard combining your savings/emergency fund, property fund, and investments.
  • Ascension — your long game: a currency-aware stock portfolio (both Jamaica Stock Exchange and US tickers, with per-currency subtotals so JMD and USD are never blended), an offline trend sparkline, optional one-tap live prices, a property fund goal with an ETA that can auto-feed from your monthly suggested savings, and certifications you can track to "earned."
  • Health — an editable health profile (considerations, allergies, avoid-list), labs, an expected timeline, an editable daily Meds & Supplements checklist (ships with a generic starter set — add your own; your list lives only in your browser), a daily Fitness checklist, curated Fitness Plans (stretch, posture, calisthenic strength, Asian-style low-impact cardio, and gentle lymphatic drainage — all bodyweight, follow and log), and a Vitals tracker for blood pressure, weight, resting heart rate, and steps with trend lines.
  • Samsung Health import — pull blood pressure, weight, heart rate, and steps from your Galaxy Watch / Samsung Health. (Samsung has no live web connection, so you export your data from the Samsung Health app and import the CSV files here — it merges into your Vitals by date.)
  • Backup — export all your data to a JSON file you keep, or import it back. Everything stays on your device.

Truth, not feelings

The money and market sections are built to reflect reality, not mood. Stock prices come from the live market (JSE + US), JMD and USD are kept in separate columns and only combined with a real exchange rate, and net worth is one honest number — no blended currencies, no guesses.

The System (gentle gamification)

Inspired by Solo Leveling, a quiet "System" rewards consistency: completing daily anchors and supplements, adding to your property fund, and earning certifications grant XP that raises your Level and Rank. XP only ever goes up — no penalties, no shame. A subtle level-up notice appears when you rank up.

Smart resets

  • Supplement checkboxes and daily anchors clear each new day.
  • The treat budget resets every Monday.
  • Savings totals and weekly planner notes carry over.

Data and privacy

Everything is stored locally under the key lifeStructure.v1. The only time anything leaves your device is if you tap "Fetch live prices" on the Ascension tab — that reads current quotes through a public proxy (r.jina.ai) from the Jamaica Stock Exchange (jamstockex.com), Yahoo Finance (US tickers), and the USD/JMD rate. Only your ticker symbols are involved. Nothing else is ever transmitted; no accounts, no analytics. "Reset all saved data" lives at the bottom of the Health tab.

Disclaimer

The supplement and health sections are for tracking and general wellness only. They do not replace medical advice from your healthcare provider.

About

Life Structure — a calm personal PWA for money, routines, wellness, and long-term goals (Solo Leveling-inspired). Data stays on your device.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages