Skip to content

About

OpenPLC Editor - IDE capable of creating programs for the OpenPLC Runtime.

Resources

Contributing

Stars

450 stars

Watchers

5 watching

Forks

Latest commit

 

History

7,281 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open PLC Editor - IDE

GitHub stars GitHub issues

draft-cover

Running a preview version

In order to run the development version, clone the repository, and install dependencies via npm, you need network access.

You'll need the following tools:

Step by step

  • Clone the repository locally and go to the project folder.
git clone https://github.com/Autonomy-Logic/openplc-editor.git

cd openplc-editor
  • Install the dependencies
npm install

npm install also fetches the pinned tools named in binary-versions.json: STruC++ (into node_modules/strucpp) and the HMI widget libraries from openplc-hmi-widgets (into vendor/hmi-widgets/, checked against the pinned SHA-256). npm run setup:strucpp and npm run setup:hmi-widgets fetch each one again. To try a local build of openplc-hmi-widgets instead of the pinned release, point the setup at it: OPENPLC_HMI_WIDGETS_DIR=<openplc-hmi-widgets>/dist npm run setup:hmi-widgets.

  • Run the development script
npm run dev

Running tests

npm run test         # Unit tests (Jest, with coverage)
npm run test:watch   # Unit tests in watch mode (no coverage)
npm run test:e2e     # End-to-end tests (Playwright, builds the app first)

Releasing a New Version

The project uses GitHub Actions to automatically build and release new versions for all supported platforms (macOS, Windows, and Linux) in both x64 and ARM64 architectures.

Creating a Release

To create a new release, simply create and push a new tag with the version number:

git tag v4.2.0
git push origin v4.2.0

This will automatically:

  1. Build the application for all platforms (macOS, Windows, Linux) and architectures (x64, ARM64)
  2. Sign and notarize the macOS builds
  3. Create a GitHub Release with all artifacts attached
  4. Generate release notes based on commits since the last release

Version Naming

  • Use semantic versioning: vMAJOR.MINOR.PATCH (e.g., v4.2.0)
  • For pre-releases, add a suffix: v4.2.0-beta, v4.2.0-alpha, or v4.2.0-rc1
  • Pre-release tags will be marked as pre-releases on GitHub

Manual Workflow Trigger

You can also trigger the build workflow manually from the GitHub Actions tab without creating a release. This is useful for testing builds:

  1. Go to Actions > Build and Release
  2. Click "Run workflow"
  3. Optionally specify a version number
  4. Click "Run workflow"

Note: Manual triggers will build all artifacts but won't create a GitHub Release (releases are only created when pushing a tag).

Documentation

Please go to the repository wiki page to get instruction about the project.

Project Management

Go to project management page to see the current state of the project.

Issues

Go to issues page to view the current state of issues in the project.

License

The OpenPLC Editor is licensed under the GPLv3 (see LICENSE).

The baremetal runtime the editor builds into microcontroller firmware is dual-licensed: GPLv3 or a commercial licence. If you are using it in a commercial setting, you may need a commercial licence. Licences can be bought from the OpenPLC Editor (desktop or web) when you upload a program to the device.

Contributions require agreeing to the Contributor License Agreement by ticking its checkbox on the pull request; see CONTRIBUTING.md.

About

OpenPLC Editor - IDE capable of creating programs for the OpenPLC Runtime.

Resources

Contributing

Stars

450 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages