Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VeriLatch Logo

VeriLatch

The 10-Second Departure Ritual & Peace-of-Mind Anchor

Eliminate "Wait... did I lock the door / turn off the stove?" anxiety before you step out.

Build Status Live Demo License Offline First Privacy


🧐 The Daily Life Problem

Every single day, millions of people leave their home—walking to their car, boarding the subway, or arriving at their workplace—only to be struck by a sudden, sickening wave of panic:

"Did I lock the front door deadbolt?"
"Is the gas stove really turned off?"
"Did I unplug my hair straightener or clothes iron?"
"Did I close the balcony window?"

Why Does Your Brain Do This? (The Cognitive Science)

Routine physical actions (turning keys, flipping dials, unplugging sockets) are performed hundreds of times a year. Consequently, your brain assigns them to cognitive automaticity via the basal ganglia (procedural habit memory), effectively bypassing conscious episodic memory encoding in the hippocampus.

You literally have no conscious episodic memory of performing the action today, even though you did it 10 minutes ago! This lack of conscious memory triggers an obsessive doubt loop, leading to ruined commutes, lost productivity, or driving back home in panic.


💡 The Solution: VeriLatch

VeriLatch is a lightweight, zero-friction web application and PWA designed to ground subconscious habits into conscious, timestamped anchors in just 10 seconds before you exit your door.

🔑 Core Capabilities

  1. Tactile Hold-to-Latch Mechanism

    • Traditional checkboxes take 50 milliseconds and are forgotten immediately.
    • VeriLatch requires a deliberate 650ms press-and-hold with real-time radial progress fill, haptic vibration, and a crisp procedural deadbolt sound. This physical delay forces the conscious mind to engage.
  2. Vocal Anchor Mantras

    • Research in behavioral psychology shows that speaking an action aloud reduces memory doubt by over 80%.
    • VeriLatch displays immediate vocal prompts: “Speak out loud: 'The stove is OFF and cold!'”
  3. Private Local Photo Evidence

    • Snap a 1-second camera photo of your stove dials or front door deadbolt directly inside the app.
    • Stored 100% locally in your browser's IndexedDB. Zero cloud uploads, zero external servers, complete privacy.
  4. The "Doubt Buster" Remote Reassurance Dashboard

    • When anxiety hits you at 11:30 AM at your office desk, open VeriLatch.
    • Instant green status shield: "100% Sealed & Verified at 8:14 AM (3 hours ago)".
    • Type stove in the quick filter to immediately view the exact second it was latched and view your photo proof! Cortisol drops to zero.
  5. Curated & Custom Departure Rituals

    • Morning Commute (Front door, stove dials, heat appliances, windows, wallet & keys, pet water)
    • 🌙 Night Lockdown (Exterior deadbolts, garage door, kitchen shutdown, ground windows, morning alarm)
    • ✈️ Vacation & Long Away (Main water valve, thermostat away mode, perishables, power strips, perimeter lock)
    • Quick Errand (10-second front door, stove, keys check)
    • Custom Builder: Add your own items, personalized vocal phrases, and custom routines.
  6. Procedural Web Audio Engine

    • Zero external MP3 downloads. Synthesizes mechanical deadbolt clicks, hold ticks, and pentatonic completion chimes in real-time using the HTML5 Web Audio API.
  7. 100% Offline Progressive Web App (PWA)

    • Service Worker caching ensures VeriLatch works anywhere—even in basement elevators or with zero cellular data.
    • Installable to your iOS or Android home screen with a single tap.

🛠️ Architecture & Tech Stack

VeriLatch is deliberately built with zero heavy framework bloat for instantaneous sub-50ms boot times:

  • Frontend: Semantic HTML5, Modular Modern CSS (CSS Custom Properties, Glassmorphism, Responsive Grid/Flexbox), ES6+ JavaScript.
  • Audio Engine: Native Web Audio API (OscillatorNode, GainNode, exponential ramps).
  • Storage Layer: Dual-tier storage (localStorage for active session state, IndexedDB for high-resolution photo blobs and historical audit logs).
  • Offline / PWA: Native Service Worker (sw.js) and Web App Manifest (manifest.json).
  • Tests: Zero-dependency automated Node.js test runner (tests/app.test.js).

🚀 Getting Started

Run Locally

  1. Clone this repository:

    git clone https://github.com/Pkkarthik12/VeriLatch.git
    cd VeriLatch
  2. Open index.html in any modern web browser, or start a local web server:

    # Using Python
    python -m http.server 3000
    
    # Or using Node.js
    npx serve -l 3000 .
  3. Visit http://localhost:3000 in your browser.

Run Automated Tests

npm test
# or: node tests/app.test.js

🔒 100% Privacy Guarantee

  • No Analytics or Trackers: VeriLatch does not include Google Analytics, telemetry, or tracking pixels.
  • Local Storage Only: All verification photos, departure timestamps, and custom checklists remain exclusively on your device within browser sandbox storage (IndexedDB & localStorage).

📄 License

Distributed under the MIT License. See LICENSE for details.

Developed with ❤️ by Pkkarthik12.

About

The 10-second departure ritual & peace-of-mind anchor app to eliminate 'Did I lock the door / turn off the stove?' anxiety.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages