Yoke
Yoke is a runtime for applications whose logic is split across several programs on one machine, and that are used through more than one interface at once. You write the programs that hold the logic, in Go, Rust, Python, C or C++. Yoke launches them, admits them, supervises them, carries their traffic and keeps their state. Every interface reaches them through one published contract: a panel on the device's screen, a browser on its network port, a desktop application, or a command-line tool.
It is built for the software in front of a piece of hardware or a site: an instrument's front end, a machine's dashboard, an appliance, an edge gateway. Applications like these reassemble the same plumbing every time, and Yoke provides it once. It runs as a system service a device boots into, or as a self-contained application any user installs and runs, with the same programs in both.
Where to start
| If you want to | Read |
|---|---|
| understand what Yoke is and how it fits together | Understanding Yoke: what it is for, the architecture, the ideas it rests on, and the vocabulary |
| know what you will build | Plugins and applications: what a Plugin is, what an application is, and the application in the service form — two different things, and why |
| get Yoke onto a machine or into a device's image | Setting up Yoke: one path per way of setting it up — a release on this Linux machine, a build from source, or an image built with the Yocto Project — each from its first step to its last |
| write a Plugin | Building a Plugin: one Plugin from an empty directory to the two files it is handed on as, in each of the five languages, tried under a local Core |
| write an application | Building an application: one worked example, from Plugins that exist to a package and an image, with the released programs and libraries |
| look something up exactly | The reference: what each surface and program does, what a party sends and receives, and what is refused |
| work on Yoke itself | Contributing: the repositories, the commands each answers to, what checks a change, and the path a feature takes |
About this set
This set documents the release of the programs it is labelled with, and what it says holds for that release only. Earlier releases keep their own set, under the menu at the top right. It is still being written: a page that is missing has not been written yet, and its absence means nothing more.