Skip to content

void0x14/System-Hardening-Protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

124 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Void Dual Tux Mascot

English | TΓΌrkΓ§e

πŸ›‘οΈ System Hardening Protocol

Version License Zero Dependencies Offline First Single File

"Zero-dependency. Zero-leaks. Zero-weakness."
Operational Security (OPSEC) for your biological and mental capabilities.


⚑ What Is This?

System Hardening Protocol is a zero-dependency, offline-first personal command center that treats your body and mind as a high-value asset. It compiles into a single HTML file β€” no servers, no cloud, no data leaks. Everything runs locally in your browser.

This is not a fitness tracker. This is not a diet app. This is a command center for your biological existence.

Why Use It?

  • πŸ”’ 100% Private β€” All data stays in your browser's localStorage. No accounts, no tracking, no telemetry.
  • ⚑ Instant β€” Single HTML file, zero load time. Works offline.
  • 🎯 All-in-One β€” Training, nutrition, progress analytics, anatomy visualization, and mental conditioning in one place.
  • πŸ–₯️ Cyberpunk UI β€” Military-grade dark interface with neon accents. Not your average wellness app.
  • πŸ•΅οΈ Stealth Mode β€” Press Ctrl+Shift+H to instantly disguise the app in public.

πŸ–₯️ Command Center

πŸ“Š Dashboard (Situation Room)

Real-time diagnostics of your current status β€” weight tracking, uptime streaks, daily caloric breakdown, and mission completion status.

Dashboard

πŸ‹οΈ Training (Operations)

Full workout protocols with exercise databases, dynamic set management, volume tracking, and embedded video demonstrations.

Training

🍽️ Nutrition (Logistics)

Advanced macro tracking with protein/carb/fat/water monitoring, meal logging, custom food creation, and smart daily fuel calculations.

Nutrition

πŸ“ˆ Progress (Intelligence)

Data analysis engine β€” weekly calorie summaries, workout volume trends, weight history graphs, and body measurement tracking.

Progress

🧬 Anatomy Lab (Diagnostics)

Interactive visual body map for targeting specific muscle groups. Click on any muscle to view exercises, status, and diagnostic data.

Anatomy Lab

🧠 Mental Warfare (Psyops)

Psychological conditioning through 8 progressive phases, daily micro-actions, and perception management protocols.

Mental Warfare


πŸ› οΈ Tech Stack

Technology Purpose
HTML5 Single-file application structure
Vanilla JavaScript (ES6+) Zero-framework, pure ES6+ logic. No external libraries
CSS3 Local stylesheets. Zero external dependencies
localStorage Client-side data persistence

Architecture

State-Renderer-Actions Pattern

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Store   │────▢│ Renderers │────▢│ Actions  β”‚
β”‚ (State)  │◀────│   (View)  │◀────│ (Logic)  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
      β”‚                                  β”‚
      └──── localStorage β—€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

15 modular JS files are concatenated in dependency order and injected into a single HTML template at build time. No bundler overhead. No virtual DOM. Pure performance.


πŸš€ Quick Start

Download and Run (Simple)

  1. Download the latest release from GitHub
  2. Extract the folder anywhere
  3. Run one of these commands:

Option 1: Python (macOS/Linux/Windows)

cd System-Hardening
python3 -m http.server 8000

Option 2: Node.js (if installed)

cd System-Hardening
node server.js
  1. Open browser: http://localhost:8000

Why HTTP Server?

Browser security prevents file:// protocol from loading resources. Simple HTTP server fixes this.

Why Not Require Build Tools?

  • Zero npm packages β€” No supply chain risk
  • Pure Vanilla JavaScript β€” Code never breaks from external updates
  • Ship as-is β€” What you see in source is what you get
  • Terry Davis Philosophy β€” Build only what you need

Development (Optional)

To contribute or run the full test suite, switch to the workspace branch:

git checkout workspace
cd System-Hardening

# Run test suite
node tests/run-all.js

# Start dev server
node server.js

πŸ•΅οΈ Stealth Mode (OPSEC)

Press Ctrl + Shift + H to activate Sanitize Mode:

  • Hides all sensitive metrics and personal data
  • Changes branding to generic "Personal Tracker"
  • Safe for use in public environments (office, library, etc.)

πŸ“ Project Structure

System-Hardening/
β”œβ”€β”€ .gitignore
β”œβ”€β”€ AGENTS.md
β”œβ”€β”€ CONTRIBUTING.md
β”œβ”€β”€ LICENSE
β”œβ”€β”€ README.md
β”œβ”€β”€ index.html
β”œβ”€β”€ server.js
β”œβ”€β”€ docs/
β”‚   β”œβ”€β”€ assets/
β”‚   β”‚   └── void_tux_mascot.png
β”‚   └── screenshots/
β”‚       β”œβ”€β”€ anatomy_interactive.png
β”‚       β”œβ”€β”€ dashboard_full_hd.png
β”‚       β”œβ”€β”€ mental_full_hd.png
β”‚       β”œβ”€β”€ nutrition_full_hd.png
β”‚       β”œβ”€β”€ progress_full_hd.png
β”‚       └── training_full_hd.png
β”œβ”€β”€ memory-bank/
β”‚   β”œβ”€β”€ activeContext.md
β”‚   β”œβ”€β”€ productContext.md
β”‚   β”œβ”€β”€ projectbrief.md
β”‚   β”œβ”€β”€ progress.md
β”‚   β”œβ”€β”€ roadmap.md
β”‚   β”œβ”€β”€ systemPatterns.md
β”‚   └── techContext.md
└── src/
    β”œβ”€β”€ assets/
    β”‚   β”œβ”€β”€ fonts/
    β”‚   β”‚   β”œβ”€β”€ fa-brands-400.woff2
    β”‚   β”‚   β”œβ”€β”€ fa-regular-400.woff2
    β”‚   β”‚   └── fa-solid-900.woff2
    β”‚   └── icons/
    β”œβ”€β”€ css/
    β”‚   └── main.css
    β”œβ”€β”€ js/
    β”‚   β”œβ”€β”€ actions.js
    β”‚   β”œβ”€β”€ app.js
    β”‚   β”œβ”€β”€ components.js
    β”‚   β”œβ”€β”€ stealth.js
    β”‚   β”œβ”€β”€ store.js
    β”‚   β”œβ”€β”€ ui.js
    β”‚   β”œβ”€β”€ utils.js
    β”‚   β”œβ”€β”€ video-player.js
    β”‚   β”œβ”€β”€ components/
    β”‚   β”‚   β”œβ”€β”€ Card.js
    β”‚   β”‚   β”œβ”€β”€ MacroRing.js
    β”‚   β”‚   β”œβ”€β”€ MealCard.js
    β”‚   β”‚   β”œβ”€β”€ Modal.js
    β”‚   β”‚   β”œβ”€β”€ ProgressBar.js
    β”‚   β”‚   β”œβ”€β”€ SetRow.js
    β”‚   β”‚   β”œβ”€β”€ Toast.js
    β”‚   β”‚   └── index.js
    β”‚   β”œβ”€β”€ config/
    β”‚   β”‚   β”œβ”€β”€ db.js
    β”‚   β”‚   β”œβ”€β”€ index.js
    β”‚   β”‚   β”œβ”€β”€ keys.js
    β”‚   β”‚   β”œβ”€β”€ targets.js
    β”‚   β”‚   β”œβ”€β”€ theme.js
    β”‚   β”‚   └── validation.js
    β”‚   β”œβ”€β”€ core/
    β”‚   β”‚   β”œβ”€β”€ Container.js
    β”‚   β”‚   β”œβ”€β”€ EventBus.js
    β”‚   β”‚   └── index.js
    β”‚   β”œβ”€β”€ db/
    β”‚   β”‚   β”œβ”€β”€ anatomy.js
    β”‚   β”‚   β”œβ”€β”€ exercises.js
    β”‚   β”‚   β”œβ”€β”€ foods.js
    β”‚   β”‚   β”œβ”€β”€ mental-phases.js
    β”‚   β”‚   └── weekly-plan.js
    β”‚   β”œβ”€β”€ infrastructure/
    β”‚   β”‚   β”œβ”€β”€ LocalStorageAdapter.js
    β”‚   β”‚   β”œβ”€β”€ MemoryStorageAdapter.js
    β”‚   β”‚   β”œβ”€β”€ StorageAdapter.js
    β”‚   β”‚   └── index.js
    β”‚   β”œβ”€β”€ locales/
    β”‚   β”‚   β”œβ”€β”€ en.json
    β”‚   β”‚   └── tr.json
    β”‚   β”œβ”€β”€ performance/
    β”‚   β”‚   β”œβ”€β”€ CacheService.js
    β”‚   β”‚   β”œβ”€β”€ LazyLoader.js
    β”‚   β”‚   β”œβ”€β”€ Memoize.js
    β”‚   β”‚   β”œβ”€β”€ VirtualList.js
    β”‚   β”‚   └── index.js
    β”‚   β”œβ”€β”€ renderers/
    β”‚   β”‚   └── dashboard.js
    β”‚   β”œβ”€β”€ repositories/
    β”‚   β”‚   β”œβ”€β”€ BaseRepository.js
    β”‚   β”‚   β”œβ”€β”€ MealRepository.js
    β”‚   β”‚   β”œβ”€β”€ WeightRepository.js
    β”‚   β”‚   β”œβ”€β”€ WorkoutRepository.js
    β”‚   β”‚   └── index.js
    β”‚   β”œβ”€β”€ services/
    β”‚   β”‚   β”œβ”€β”€ BackupService.js
    β”‚   β”‚   β”œβ”€β”€ ExerciseHistoryService.js
    β”‚   β”‚   β”œβ”€β”€ StatisticsService.js
    β”‚   β”‚   β”œβ”€β”€ StreakService.js
    β”‚   β”‚   β”œβ”€β”€ ValidationService.js
    β”‚   β”‚   β”œβ”€β”€ i18nService.js
    β”‚   β”‚   └── index.js
    β”‚   β”œβ”€β”€ state/
    β”‚   β”‚   β”œβ”€β”€ StateManager.js
    β”‚   β”‚   β”œβ”€β”€ index.js
    β”‚   β”‚   β”œβ”€β”€ initialState.js
    β”‚   β”‚   β”œβ”€β”€ middleware.js
    β”‚   β”‚   └── reducers.js
    β”‚   β”œβ”€β”€ vendors/
    β”‚   β”‚   β”œβ”€β”€ fontawesome-local.css
    β”‚   β”‚   β”œβ”€β”€ fontawesome.min.css
    β”‚   β”‚   └── tailwindcss.min.js
    β”‚   └── views/
    β”‚       β”œβ”€β”€ AnatomyView.js
    β”‚       β”œβ”€β”€ DashboardView.js
    β”‚       β”œβ”€β”€ MentalView.js
    β”‚       β”œβ”€β”€ NutritionView.js
    β”‚       β”œβ”€β”€ ProgressView.js
    β”‚       β”œβ”€β”€ TrainingView.js
    β”‚       └── index.js
    └── styles/
        β”œβ”€β”€ animations.css
        β”œβ”€β”€ base.css
        β”œβ”€β”€ components.css
        └── overrides.css

πŸ—ΊοΈ Roadmap

  • Accessibility (A11Y) improvements
  • PWA support for mobile installation
  • In-depth maintenance regarding hardcode string expressions + route, target etc. everything will be changeable, not fixed.

See CONTRIBUTING.md for how to get involved.


πŸ“„ License

This project is licensed under the MIT License.


⭐ Support

If this project helps you on your journey, consider giving it a star ⭐ β€” it helps others discover it.


This is not a game. This is not a simulation. This is your life. Harden or perish.

About

πŸ›‘οΈ Military-grade personal tracking system β€” Fitness, nutrition, mental conditioning & progress analytics in a single offline HTML file. Cyberpunk UI. Zero dependencies. Your data stays local.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors