TimeStudy is a 100% client-side web application built for Lean manufacturing engineers to turn shop-floor videos into repeatable time studies, Muda Pareto charts, Standard Work Combination Tables (SWCT), Yamazumi line-balancing boards, Spaghetti walking diagrams, Mini-VSM WIP analyses, and multi-shift capacity plans.
100% Local & Private — Videos and study files never leave your computer. There is no backend server, no cloud upload, and no external runtime dependency.
Open directly in Google Chrome or Microsoft Edge:
- https://sgsmcfe.github.io/TimeStudy/
- Works completely offline after first load; local videos are played directly from disk via browser object URLs, and Autosave to a local folder works natively over
https://via the File System Access API.
If you cloned or downloaded this repository on a Windows PC with Node.js (v18+):
- Double-click
start-timestudy.bat. - It installs dependencies (first run only), builds the app, starts a local preview server on
http://localhost:4173, and opens your browser.
npm install
npm run dev # development server (http://localhost:5173)
# or production build + preview:
npm run build
npm run preview # http://localhost:4173Build dist/ once (npm run build), then serve dist/ with any static server:
python3 -m http.server 8080 --directory dist- 3 switchable layouts: Top/Bottom resizable split (default), Left/Right split, and Cinema Focus with slide-over inspector drawer.
- Live Stopwatch Gemba Mode + Dual Video Comparison: Capture directly on the shop floor without a video file, or synchronize two videos side-by-side (
BeforevsAfterKaizen). - Non-blocking rapid capture: Click any operation lane (or press
1–9) to mark start/stop while the video plays, with optional Auto-Chain (scoped per operator) and Auto-Pause on Stop. - Full context & methodology parameters: Active Operator, Station, Location, per-operation Performance Rating % / PFD % overrides, TMU / Basic MOST formula calculator, REBA/RULA ergonomic scoring, and 1-click SOP frame snapshot capture.
- One-piece, Batch & Off-cycle operations: Automatic unit-time normalization (
raw / batchSize) and 3 off-cycle frequency modes (every X pieces,per time interval,per changeover) plus CSV/Excel matrix bulk import. - Multi-track timeline: Group by Operation, Operator, or Station; automatic sub-lanes for overlapping observations; drag bar edges to fine-tune timestamps; full Undo/Redo (
Ctrl+Z/Ctrl+Y). - Built-in Demo Project: Realistic 15-cycle assembly study with a synthetic animated shop-floor video so you can test every feature immediately without uploading a file.
- Executive Overview: 2×2 management summary (KPI strip with simulated Kaizen ROI, Yamazumi, Muda Pareto, Shift Capacity, Top Kaizen actions).
-
Variations & Mudas: Automatic Lowest Repeatable Time (LRT) calculation, ILO/Student required sample size (
$N_{\text{req}}$ & achieved margin$\pm%$ ), Tukey IQR + Grubbs outlier detection, Muda Pareto (8 TIMWOODS + custom tags), unexplained spike detection, and floating Picture-in-Picture (PiP) clip replay. - Dual Gantt & SWCT: Observed real-time Gantt (Operator / Station / Operator@Station) + Standard Work Combination Table (SWCT) with masked machine time, PERT blocking, and Takt reference line.
-
Yamazumi & Kaizen Simulation: Operator or Station view, Mixed-Model Product Variants (weighted mix, worst-case peak, min–max whiskers), RPW + PERT constraint-aware Auto-Balance, REBA ergonomic color overlay & exposure table, 1-click Water Spider, Shojinka staffing (
1 → N), and PDCA actions with CapEx tracking. -
Standard Work SOP & SWS: TWI Job Instruction SOP cards (How / Why / Safety / Quality / Tools), document governance (
Draft / Reviewed / Approved), client-side irreversible mosaic privacy blur on operator photos, and Printable Standardized Work Sheet (SWS). - SMED & Kaizen Financial ROI: Dedicated 4-stage SMED workshop (IED vs OED separation, Multi-Crew Pit-Crew Gantt, EPEI lot-size reduction) and annualized Direct Labor + SMED Downtime savings with CapEx payback months.
- Spaghetti Diagram & Layout Editor: Interactive 25 cm / 1 ft grid layout editor (drag/resize stations, locations, obstacles; optional floorplan image overlay), A* aisle routing vs. straight line, aggregated flow vs. classic spaghetti, frequency-weighted dashed off-cycle trips, and walking KPIs (m/piece, km/shift).
- Mini-VSM & WIP: Automatic process boxes from timed operations, WIP buffers with overflow alerts, Little's Law lead time, Process Cycle Efficiency (PCE), and What-If scenarios (50% WIP / One-Piece Flow).
- Takt & Shift Capacity Planner: Direct or demand-calculated Takt, net shift time & OEE, per-shift scenario modulation, and automatic extrapolation across 1×8, 2×8, 3×8 (5d), 4×8 (6d / 18 shifts), and 5×8 (7d / 21 shifts).
-
Study Baseline Diff (T0 vs T1): Compare any exported baseline
.timestudy.jsonagainst a follow-up study (or Measured vs Active Simulation) with operation realization % and KPI deltas.
- Local Folder Autosave (Chrome/Edge): Pick a local folder once; TimeStudy debounces and writes
<study-name>.timestudy.jsonautomatically (~1 s after each edit), mirrored in browser IndexedDB. - JSON Backup & Relink Video: Export/import
.timestudy.jsonfiles with automatic schema sanitization (SCHEMA_VERSION = 1) and 1-click local video relinking. - 12-Sheet Excel Workbook (
.xlsx):Summary & KPIs,Raw Observations,Operation Stats,Muda Pareto,Yamazumi Data,Spaghetti & Travel,WIP & Mini-VSM,Capacity & Shifts,Kaizen Action Plan,PERT & Methodology,Standard Work SOP,SMED & Ergonomics. - High-DPI PNG & A3 PDF Print: 1-click 2× PNG export on every chart + print-optimized A3 landscape report.
| Shortcut | Action |
|---|---|
Enter |
Next step for active operator (stops current & starts next, looping) |
S |
Stop current step without chaining |
/ |
Open Quick-Jump search palette (ideal for 20–30+ operations) |
O / Alt + 1–9 |
Switch active operator |
Space |
Play / Pause |
← / → |
Previous / Next frame (1/30 s) |
Shift + ← / Shift + → |
Skip backward / forward 5 s |
1 – 9 |
Start / Stop visible operation #1–9 |
M |
Toggle Motion Muda tag on selected observation |
Esc |
Cancel all open captures |
Delete / Backspace |
Delete selected observation |
Ctrl+Z / Ctrl+Y |
Undo / Redo |
TimeStudy is validated across 5 test layers:
npm run typecheck # Strict TypeScript (noUncheckedIndexedAccess)
npm run test # Unit, edge-case, 1,000-factory Monte Carlo, & React integration tests
npm run test:coverage # V8 coverage report on engines, storage, and export
npm run build # Production bundle verification
npm run test:e2e # Real headless Chrome E2E across all views & downloads
npm run verify:all # typecheck + test + build- Benchmark & Roadmap Kaizen (FR) — Méthodologie de benchmark marché (AVIX, Timer Pro, OTRS10, Tulip, Yamazumi/SMED), matrice des écarts et roadmap RICE-Lean.
-
Mémoire Technique (FR) — Référentiel complet des méthodologies de calcul, équations, hypothèses industrielles, limites, architecture et protocole de validation (LRT,
$N_{\text{req}}$ Student, Outliers, Basic MOST, Allure/PFD, Yamazumi Mixed-Model & RPW, SMED/ROI, REBA/RULA, PERT/CPM, Spaghetti A*, Mini-VSM, Capacitaire). - User Guide — Step-by-step operational handbook for shop-floor time studies.
- Formulas & Lean Methodology — Exact equations for LRT, Muda conservation, Yamazumi, A* Spaghetti, Little's Law VSM, and Shift Capacity.
- Architecture & Testing — Codebase design, JSON sanitizer, persistence architecture, 5-layer testing, and V2 extension roadmap.
Copyright © 2026 Simon Guimas
- Software source code (
src/,scripts/, and build configuration): licensed under the GNU General Public License v3.0 or later (GPL-3.0-or-later) — seeLICENSE.- You are free to use, run (including locally or on an internal factory intranet such as IIS/SharePoint), study, and modify TimeStudy.
- Any redistribution of modified versions or derivative works must also be released under
GPL-3.0-or-laterwith its corresponding source code.
- Documentation (
docs/, including the Mémoire Technique, Lean methodology reference, and User Guide): licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) — seedocs/LICENSE. - Third-party dependencies: runtime attributions (
ReactMIT,xlsx/ SheetJS Apache-2.0) are listed inTHIRD_PARTY_NOTICES.md.
If you wish to integrate TimeStudy into a proprietary/closed-source product, obtain an exception to the GPLv3 copyleft requirements, or use the documentation in commercial training or consulting engagements, a commercial license is available upon request:
- GitHub: github.com/sgsmcfe
- LinkedIn: fr.linkedin.com/in/simon-guimas