Skip to content

DougTrier/trier-os

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

149 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Read this in other languages: English | EspaΓ±ol | FranΓ§ais | Deutsch | δΈ­ζ–‡ | PortuguΓͺs | ζ—₯本θͺž | ν•œκ΅­μ–΄ | Ψ§Ω„ΨΉΨ±Ψ¨ΩŠΨ© | ΰ€Ήΰ€Ώΰ€¨ΰ₯ΰ€¦ΰ₯€ | TΓΌrkΓ§e |

Trier OS Banner

Trier OS

Industrial Operations Platform β€” Built for the Plant Floor

Version React Node.js SQLite Cesium Playwright

Features β€’ Installation β€’ Architecture β€’ Security β€’ Demo Data β€’ Quick Facts β€’ Docs


If this project creates value, please star the repo β€” it helps unlock funding to continue development.


How it works on the plant floor

A technician walks up to a machine and scans it. The system identifies the asset, finds any open work order, and surfaces tap-only action buttons β€” no typing, no navigation. They start work, complete it, and close it out. The next scan on the same asset shows the correct state to every device in the plant instantly.

If the server goes down or the network drops, nothing stops. Every scan queues locally on the device. When connectivity returns, the queue drains automatically and the record is complete. Supervisors see which devices are live on the plant LAN and which scans are waiting to sync. Work orders that were left open by a missed close-out scan are flagged automatically for supervisor review rather than left as ghost records.

This is what the system does on day one, before anyone configures an algorithm or reads a dashboard.


🎬 Demo

Trier OS β€” First-Time Onboarding

πŸ“Έ Screenshots

Mission Control Assets & Machinery
Mission Control Assets
Corporate Analytics Floor Plans
Analytics Floor Plans
Live Studio IDE

Live Studio β€” Embedded Monaco IDE with deploy pipeline, blast-radius mapper, and deterministic simulation engine

πŸ“± Mobile (iPhone / iOS)

Real-device screenshots from an iPhone running Trier OS v3.5.1 over a plant LAN:

Login Mission Control Safety Portal Fleet & Truck Shop
Login Mission Control Safety Fleet
Corporate Analytics OpEx Intelligence Enterprise Dashboard SOP Library
Analytics OpEx Dashboard SOP

Full set of 14 iPhone screenshots: docs/mobile/


πŸ“– Overview

Trier OS is an enterprise-grade, full-stack Plant Operations platform built to run heavy industrial facilities. It is not a lightweight SaaS widget β€” it is a complete, local-first operating system for the plant floor, designed to keep working when the network doesn't.

For plant managers and supervisors: Every work order, asset scan, safety permit, and inventory movement is tracked in real time. Supervisors see live operational state across all devices on the plant LAN. The system self-corrects missed actions and surfaces them for review rather than silently accumulating bad data.

For IT and engineering teams: Trier OS runs entirely on-premises β€” one SQLite database per plant, zero cloud dependency, full offline capability, and an embedded Monaco-based IDE for authorized in-app code modification. The architecture is documented to a 10% minimum contextual density standard across every logic file.

For executives: A corporate analytics layer aggregates KPIs, spend, OEE, and OpEx intelligence across every plant simultaneously β€” with 14 automated savings algorithms that identify hidden losses and generate phased action plans ranked by dollar value.


✨ The Advanced Engines

  • πŸ› οΈ The Live Studio Sandbox: An embedded Monaco-based IDE allowing authorized "Creators" to write, sandbox, and hot-reload source code directly inside the production app. No external servers required.
  • 🌌 The Parallel Universe Engine: Forget AI hallucinations. This deterministic simulation engine replays historical plant event logs against your sandboxed code changes, providing mathematical proof that a code change won't crash the factory floor.
  • πŸ“‘ Plant LAN Peer Sync: A WebSocket hub embedded in each plant's local area network synchronizes all floor devices in real time β€” Zebra scanners, tablets, and workstations β€” with no internet required. Supervisors see live device presence counts.
  • πŸ”„ Offline Queue & Auto-Recovery: Scans captured offline persist in a local IndexedDB queue. On reconnect, the queue drains automatically. If the session expires during an extended outage, the queue is preserved and drain resumes after re-auth β€” no scan is ever lost.
  • πŸ€– Silent Auto-Close Engine: An hourly server cron detects work segments left open by missed close-out scans, closes them with a TimedOut state, and flags the parent work order for supervisor review. Exempt holds (waiting-for-parts, locked-out) are never auto-closed.
  • πŸ›‘οΈ Human Airgap Security: The system mandates a hard security boundary. All AI-assistance is decoupled from the plant network and strictly human-mediated, avoiding liability nightmares.
  • 🌍 GIS Spatial Intelligence: Fully integrated 3D spatial intelligence maps (powered by Cesium) to pinpoint hardware across corporate campuses.
  • πŸ“± Mobile Hardware Scanning: Embedded WebRTC barcode scanning for real-time audit sweeps on iOS/Android or Zebra rugged devices.
  • πŸ”’ EDR-Safe Local Mode: Runs entirely disconnected from the cloud using a self-contained better-sqlite3 instance natively built for strictly firewalled Operational Technology (OT) networks.

βš™οΈ Installation & Quick Start

Because Trier OS requires its architectural source to power the Live Studio, you must clone the raw repository.

1. Requirements

  • Node.js (v22+)
  • Git

2. Clone & Build

git clone https://github.com/DougTrier/trier-os.git
cd trier-os
npm install

3. Start the Environment

Boot up the API and UI in the concurrent development environment.

npm run dev:full

The application will automatically ignite at http://localhost:5173.

Keeping Trier OS Updated

git pull origin main

🐧 Linux

The web application runs natively on Linux β€” no special configuration required:

git clone https://github.com/DougTrier/trier-os.git
cd trier-os
npm install
npm run dev:full

Open http://localhost:5173. Log in with the System Creator account β€” credentials are printed to the terminal on first run.

Desktop installer (Electron): The pre-built .exe / .msi installers in Releases are Windows-only. To compile a native Linux desktop app yourself:

# Install required system dependencies (Ubuntu/Debian/Mint)
sudo apt-get install -y libopenjp2-tools rpm fakeroot

npm run electron:build
# Output: electron-dist/TrierOS-Setup-*.AppImage (or .deb/.rpm depending on your config)

Note: electron-builder requires matching native modules for your distro. If the build fails, running the web app via npm run dev:full is the recommended Linux path and is fully functional.


πŸ“ Zero Obfuscation Architecture

Trier OS is built on extreme contextual transparency. We enforce a hard 10% minimum Contextual Density Ratio across 158,000+ lines of core application logic.

Every logic file contains the mandatory Trier OS Architecture Header Pattern, meaning over 15,800 lines of context documentation exist purely to bridge the gap between engineering scripts and physical Plant Floor Operations.

Notice to Contributors: Any pull request that drops the core contextual coverage below 100% will be rejected automatically. See CONTRIBUTING.md for our strict header templates.


πŸ›‘οΈ Security & Funding

Security Protocols

Because this software operates physical manufacturing assets, we handle vulnerabilities with extreme caution. Do not report exploits in the public GitHub issues. Please read SECURITY.md for our responsible disclosure email protocols.

Support the Project

Trier OS is completely free and open-source. If this software runs your warehouse or manufacturing facility, consider supporting our ongoing development!

Click the Sponsor button at the top of the repository to view our Funding Gateway (GitHub Sponsors, Open Collective for corporate B2B tax receipts, and Ko-Fi).


πŸ“œ Legal & License

Released openly under the MIT License. You are free to use, modify, and distribute this platform within your corporation.

About

A fully airgapped industrial OS built from 33 Years of plant-floor experience. 158k lines, 15 core modules, 142 React components, self-modifying IDE, deterministic sandbox, simulation engine, and zero-friction design. Built with a zero-compromise, no-shortcuts philosophy

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages