Presentation: Talking to systemd from a Web Browser
systemd built a D-Bus API that represents the integrated state of a system, its services, resources, logins, and (hopefully soon) networking.
D-Bus is powerful and complete, but unfortunately presents barriers for modern development, as apparent from the lack of clients and callers.
We think that systemd's API should be trivial to access with web technologies, so we'll show you how to talk to that API directly from a web browser. You'll see how we do this in the Cockpit admin interface, including things like talking to file descriptors, proxying interfaces, watching signals, and authorization.
We'll take a look at how we could broaden the work that we've spearheaded in Cockpit to make the systemd API accessible to a larger audience.
Lastly, we'll present some of the challenges we encountered when interacting with systemd from a remote system.