Skip to content

johannesPettersson80/trust-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

342 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

truST — open IEC 61131-3 control workspace

truST logo

Docs Marketplace Release CI License Rust

Documentation: https://johannespettersson80.github.io/trust-platform/

truST is an open IEC 61131-3 control workspace: one project edited in VS Code, run by trust-runtime, observed through browser HMI, automated through CLI and Agent APIs, connected through truST Mesh, and assisted by AI tools that can read diagnostics and use typed truST surfaces.

Runs on Linux, including PREEMPT_RT soft-real-time deployments, macOS, Windows, and Raspberry Pi.

One project across VS Code, diagnostics, debug, Browser IDE, and Browser HMI

The same runtime also serves a browser IDE at /ide and an operator HMI at /hmi, so one project drives engineering, automation, and operation without separate project copies to reconcile.

Read One Project, Every Surface for the surface map and AI/tooling boundaries. Runtimes connect to each other and to plant systems through truST Mesh: one runtime, the right wire for each job.

Start

Features

  • IEC-aware diagnostics, formatting, rename, navigation, and refactors
  • Editor AI tools for typed diagnostics, navigation, file edits, HMI work, telemetry, settings, and debug actions
  • Runtime panel with live values, memory, and I/O inspection
  • Debugger with breakpoints, stepping, locals, and call stack
  • Browser IDE and operator HMI backed by the same project/runtime
  • CLI, Agent API, deterministic test, and harness workflows
  • truST Mesh for runtime-to-runtime and plant connectivity
  • PLCopen XML import/export and visual editor support

Install

  1. Install truST LSP from the VS Code Marketplace.
  2. Download released binaries from the latest GitHub release if you need the runtime and debugger locally.
  3. Open the docs site for guided setup, examples, and target-host instructions.

Command-line extension install:

code --install-extension trust-platform.trust-lsp

Components

Component Binary Purpose
Language Server trust-lsp Diagnostics, navigation, formatting, refactors
Runtime trust-runtime Runtime execution engine, CLI workflows, web UI
Debug Adapter trust-debug DAP debugging
Bundle Tool trust-bundle-gen STBC bundle generation

Status

  • VS Code Marketplace: live
  • GitHub Releases: live
  • Supported platforms: Linux, Linux PREEMPT_RT, macOS, Windows, Raspberry Pi
  • Runtime + debugger: pre-1.0, behavior-locked by tests
  • Rust MSRV: 1.85+

Help

License

Licensed under MIT OR Apache-2.0. See LICENSE-MIT and LICENSE-APACHE.

Sponsor this project

 

Packages

 
 
 

Contributors