Skip to content

salimshre/21st

Repository files navigation

Routine OS

Offline habit, routine, and 21-day challenge tracker.

Run Locally

Use the XAMPP PHP binary from this project directory:

C:\xampp\php\php.exe -S localhost:8000

Then open:

http://localhost:8000/

Data Storage

All tracker data is stored in browser localStorage under routineos_unified_v1.

Use Backup JSON regularly. Restore JSON downloads a safety backup before replacing any data.

Project Structure

index.php
assets/
  css/
  js/
components/
data/
  backups/
archive/

Verify

PHP syntax:

C:\xampp\php\php.exe -l index.php

JavaScript syntax:

node --check assets/js/storage.js
node --check assets/js/theme.js
node --check assets/js/habits.js
node --check assets/js/challenge.js
node --check assets/js/analytics.js
node --check assets/js/app.js

Smoke test, while the PHP server is running:

node tests/smoke.js

About

habit-tracker routine-tracker 21-day-challenge localstorage-app offline-app productivity-tool daily-routine pomodoro-tracker challenges-app vanilla-js php-app

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors