Index ¦ Archives ¦ Atom

The Wizard Anti-Pattern

AKA: the Installer Anti-Pattern

There’s a common user experience anti-pattern that pops up all over the place:

Interactive choices offered to the user during an install, creation or setup process are an anti-pattern. The negative consequences are in proportion to the number of configuration choices involved.

Or put another ...

Making REST calls from Javascript in Cockpit

Cockpit is a user interface for servers. In earlier tutorials there’s a guide on how to add components to Cockpit.

Not all of the system APIs use DBus. So sometimes we find ourselves in a situation where we have to use REST (which is often just treated as another ...

Cockpit’s Kubernetes Dashboard

Here’s a video showing what I’ve been working on together with some help from a couple Cockpit folks. It’s a Cockpit dashboard for Kubernetes.

If you haven’t heard about Kubernetes … it’s a way to schedule docker containers across a cluster of machines, and take care ...

The Ideals of Cockpit

Cockpit is an interactive server admin interface. For those helping contribute to Cockpit, these ideals help us remember what we’re trying to accomplish. For others, this page should answer the question: “Why Cockpit?”

These ideals are not a commentary about what is “right” and “wrong” in software in general ...

Protocol for Web access to System APIs

Note: This post has been updated for changes in Cockpit 0.48 and later.

A Linux system today has a lot of local system configuration APIs. I’m not talking about library APIs here, but things like DBus services, command/scripts to be executed, or files placed in various locations ...

Cockpit on RHEL Atomic Beta

If you’ve tried out the RHEL Atomic Host Beta you might notice that Cockpit is not included by default, like it is in the Fedora Atomic or CentOS Atomic. But there’s an easy work around:

$ sudo docker run --privileged -v /:/host -d stefwalter/cockpit-atomic:wip

This is an ...

Creating Plugins for the Cockpit User Interface

Note: This post has been updated for changes in Cockpit 0.41 and later.

Cockpit is a user interface for servers. And you can add stuff to that user interface. Cockpit is internally built of various components. Each component is HTML, with Javascript logic that makes it work, and CSS ...

Using DBus from Javascript in Cockpit

Note: This post has been updated for changes in Cockpit 0.41 and later.

Cockpit is a user interface for servers. As we covered in the last tutorial you can add user interface component to Cockpit, and build your own parts of the Server UI.

Much of Cockpit interacts with ...

Cockpit Multi-Server Dashboard

Andreas and Marius have been working on implementing a new multi-server dash board for Cockpit. It’s really looking great.

The goal here is that the dash board should work with either one server or several, and give you an overview of what’s going on. Problems that require attention ...

DBus is powerful IPC

D-Bus is powerful IPC Cockpit is heavily built around DBus. We send DBus over our WebSocket transport, and marshal them in JSON.

DBus is powerful, with lots of capabilities. Not all projects use all of these, but so many of these capabilities are what allow Cockpit to implement its UI ...

© Stef Walter. Built using Pelican. Theme by Giulio Fidente on github. .