selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
OpenPLC Runtime v4 logo

Self-host OpenPLC Runtime v4

v4.3.1

Headless IEC 61131-3 PLC runtime controlled via REST API

ReleaseOpen SourceMIT
Updated5 days ago
LanguagePython
Setup difficultyModerate
Stars
415
CPU
1 GHz single-core
RAM
512 MB
Storage
500 MB free space
Port
8443 (HTTPS REST API and WebSocket debug interface)
Docker
ghcr.io/autonomy-logic/openplc-runtime
Install with Docker

What is OpenPLC Runtime v4?

This project provides a headless industrial PLC runtime that executes IEC 61131-3 programs on ordinary Linux hardware. It splits into a Python Flask REST API server and a C/C++ real-time engine that runs with SCHED_FIFO priority for deterministic scan cycles. The OpenPLC Editor desktop application compiles programs locally, uploads them via HTTPS, and controls execution through the API. A WebSocket interface enables live variable monitoring and forcing. The system supports a plugin architecture for hardware I/O drivers, with both Python and C/C++ plugins running in isolated virtual environments. Prebuilt container images target x86_64, ARM64, and ARM32. Installation options include Docker, Docker Compose, a one-line Linux installer that sets up Docker automatically, or a native source build. Minimum hardware is a 1 GHz CPU, 512 MB RAM, and 500 MB disk. The codebase is MIT-licensed and maintained by Autonomy Logic.

Should you self-host OpenPLC Runtime v4?

OpenPLC Runtime v4 scores 52/100 on selfhost.directory (how scoring works) and ranks #6 of 10 in IoT. It has 415 GitHub stars.

It shipped 10 stable releases in the past year. The latest, v4.3.1, came out on 13 October 2026. New versions land roughly every 2 weeks.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is MIT-licensed and written mostly in Python.

Its closest alternative on selfhost.directory is Mosquitto (76/100, 11 306 stars). It scores higher overall, so compare the two before you pick. See OpenPLC Runtime v4 vs Mosquitto side by side.

Features

  • File Upload Security Validation
  • Headless Service
  • IEC 61131-3 Program Execution
  • Plugin System for I/O Drivers
  • Real-Time Deterministic Execution
  • REST API for Editor Control
  • TLS Encryption
  • Unix Domain Socket IPC
  • WebSocket Debug Interface

OpenPLC Runtime v4 README

How to install OpenPLC Runtime v4

Install OpenPLC Runtime v4 with Docker

Docker

docker pull ghcr.io/autonomy-logic/openplc-runtime:latest

docker run -d --name openplc-runtime -p 8443:8443 --cap-add=SYS_NICE --cap-add=SYS_RESOURCE -v openplc-runtime-data:/var/run/runtime ghcr.io/autonomy-logic/openplc-runtime:latest

Recommended method. Prebuilt multi-arch images for amd64, arm64, armv7.

OpenPLC Runtime v4 releases & version history

More in IoT

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…