Science and technology

Get began with WTF, a dashboard for the terminal

There appears to be a mad rush originally of yearly to search out methods to be extra productive. New Year’s resolutions, the itch to begin the 12 months off proper, and naturally, an “out with the old, in with the new” angle all contribute to this. And the standard spherical of suggestions is closely biased in direction of closed supply and proprietary software program. It would not should be that means.

Here’s the sixth of my picks for 19 new (or new-to-you) open supply instruments that will help you be extra productive in 2019.

WTF

Once upon a time, I used to be performing some consulting at a agency that used Bloomberg Terminals. My response was, “Wow, that’s WAY too much information on one screen.” These days, nevertheless, it looks as if I am unable to get sufficient data on a display screen once I’m working and have a number of net pages, dashboards, and console apps open to attempt to preserve observe of issues.

While tmux and Screen can do cut up screens and a number of home windows, they’re a ache to arrange, and the keybindings can take some time to be taught (and infrequently battle with different purposes).

WTF is a straightforward, simply configured data dashboard for the terminal. It is written in Go, makes use of a YAML configuration file, and might pull information from a number of totally different sources. All the info sources are contained in modules and embody issues like climate, challenge trackers, date and time, Google Sheets, and a complete lot extra. Some panes are interactive, and a few simply replace with the newest data out there.

Setup is as simple as downloading the most recent launch in your working system and operating the command. Since it’s written in Go, it is extremely moveable and may run anyplace you may compile it (though the developer solely builds for Linux and MacOS at the moment).

When you run WTF for the primary time, you may get the default display screen, similar to the picture above.

You additionally get the default configuration file in ~/.wtf/config.yml, and you may edit the file to fit your wants. The grid format is configured within the high a part of the file.

grid:
  columns: [45, 45]
  rows: [7, 7, 7, 4]

The numbers within the grid settings signify the character dimensions of every block. The default configuration is 2 columns of 40 characters, two rows 13 characters tall, and one row four characters tall. In the code above, I made the columns wider (45, 45), the rows smaller, and added a fourth row so I can have extra widgets.

I prefer to see the day’s climate on my dashboard. There are two climate modules to selected from: Weather, which reveals simply the textual content data, and Pretty Weather, which is colourful and makes use of text-based graphics within the show.

prettyweather:
  enabled: true
  place:
    high: zero
    left: 1
    peak: 2
    width: 1

This code creates a pane two blocks tall (peak: 2) and one block large (peak: 1), positioned on the second column (left: 1) on the highest row (high: zero) containing the Pretty Weather module.

Some modules, like Jira, GitHub, and Todo, are interactive, and you may scroll, replace, and save data in them. You can transfer between the interactive panes utilizing the Tab key. The key brings up a assist display screen for the energetic pane so you may see what you are able to do and the way. The Todo module enables you to add, edit, and delete to-do gadgets, in addition to test them off as you full them.

There are additionally modules to execute instructions and current the output, watch a textual content file, and monitor construct and integration server output. All the documentation may be very nicely accomplished.

WTF is a helpful device for anybody who must see lots of information on one display screen from totally different sources.

Most Popular

To Top