{"id":8447,"date":"2019-01-22T03:30:47","date_gmt":"2019-01-22T03:30:47","guid":{"rendered":"https:\/\/www.appservgrid.com\/paw92\/?p=8447"},"modified":"2019-03-09T20:40:08","modified_gmt":"2019-03-09T20:40:08","slug":"get-started-with-wtf-a-dashboard-for-the-terminal","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/01\/22\/get-started-with-wtf-a-dashboard-for-the-terminal\/","title":{"rendered":"Get started with WTF, a dashboard for the terminal"},"content":{"rendered":"<div class=\"os-article__top\">\n<div class=\"os-article__top-inner\">\n<div class=\"panel-pane pane-entity-field pane-node-field-article-subhead\">\n<div class=\"field field-name-field-article-subhead field-type-text-long field-label-hidden\">\n<div class=\"field-items\">\n<h2>Keep key information in view with WTF, the sixth in our series on open source tools that will make you more productive in 2019.<\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"os-article__image\">\n<div class=\"panel-pane pane-entity-field pane-node-field-lead-image\">\n<div class=\"field field-name-field-lead-image field-type-image field-label-hidden\">\n<div class=\"field-items\">\n<div class=\"field-item even\"><img loading=\"lazy\" decoding=\"async\" class=\"image-full-size\" title=\"Person standing in front of a giant computer screen with numbers, data\" src=\"https:\/\/opensource.com\/sites\/default\/files\/styles\/image-full-size\/public\/lead-images\/data_metrics_analytics_desktop_laptop.png?itok=9QXd7AUr\" alt=\"Person standing in front of a giant computer screen with numbers, data\" width=\"518\" height=\"292\" \/><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"os-article__left\"><\/div>\n<div class=\"os-article__middle\">\n<div class=\"panel-pane pane-entity-field pane-node-body\">\n<div class=\"field field-name-body field-type-text-with-summary field-label-hidden\">\n<div class=\"field-items\">\n<div class=\"field-item even\">\n<p>There seems to be a mad rush at the beginning of every year to find ways to be more productive. New Year&#8217;s resolutions, the itch to start the year off right, and of course, an &#8220;out with the old, in with the new&#8221; attitude all contribute to this. And the usual round of recommendations is heavily biased towards closed source and proprietary software. It doesn&#8217;t have to be that way.<\/p>\n<p>Here&#8217;s the sixth of my picks for 19 new (or new-to-you) open source tools to help you be more productive in 2019.<\/p>\n<h2 id=\"wtf\">WTF<\/h2>\n<p>Once upon a time, I was doing some consulting at a firm that used\u00a0<a href=\"https:\/\/en.wikipedia.org\/wiki\/Bloomberg_Terminal\" target=\"_blank\" rel=\"noopener\">Bloomberg Terminals<\/a>. My reaction was, &#8220;Wow, that&#8217;s WAY too much information on one screen.&#8221; These days, however, it seems like I can&#8217;t get enough information on\u00a0a screen when I&#8217;m working and have multiple web pages, dashboards, and console apps open to try to keep track of things.<\/p>\n<p>While\u00a0<a href=\"https:\/\/github.com\/tmux\/tmux\" target=\"_blank\" rel=\"noopener\">tmux<\/a>\u00a0and\u00a0<a href=\"https:\/\/www.gnu.org\/software\/screen\/\" target=\"_blank\" rel=\"noopener\">Screen<\/a>\u00a0can do split screens and multiple windows, they are a pain to set up, and the keybindings can take a while to learn (and often conflict with other applications).<\/p>\n<p><a href=\"https:\/\/wtfutil.com\/\" target=\"_blank\" rel=\"noopener\">WTF<\/a>\u00a0is a simple, easily configured information dashboard for the terminal. It is written in\u00a0<a href=\"https:\/\/golang.org\/\" target=\"_blank\" rel=\"noopener\">Go<\/a>, uses a YAML configuration file, and can pull data from several different sources. All the data sources are contained in\u00a0<a href=\"https:\/\/wtfutil.com\/posts\/modules\/\" target=\"_blank\" rel=\"noopener\">modules<\/a>\u00a0and include things like weather, issue trackers, date and time, Google Sheets, and a whole lot more. Some panes are interactive, and some just update with the most recent information available.<\/p>\n<p>Setup is as easy as downloading the latest release for your operating system and running the command. Since it is written in Go, it is very portable and should run anywhere you can compile it (although the developer only builds for Linux and MacOS at this time).<\/p>\n<div class=\"media media-element-container media-default media-wysiwyg-align-center\">\n<div id=\"file-420386\" class=\"file file-image file-image-png\">\n<div class=\"content\"><img loading=\"lazy\" decoding=\"async\" class=\"media-element file-default\" title=\"WTF default screen\" src=\"https:\/\/opensource.com\/sites\/default\/files\/uploads\/wtf-1.png\" alt=\"WTF default screen\" width=\"650\" height=\"355\" data-delta=\"1\" \/><\/div>\n<\/div>\n<\/div>\n<p>When you run WTF for the first time, you&#8217;ll get the default screen, identical to the image above.<\/p>\n<div class=\"media media-element-container media-default media-wysiwyg-align-center\">\n<div id=\"file-420391\" class=\"file file-image file-image-png\">\n<div class=\"content\"><img loading=\"lazy\" decoding=\"async\" class=\"media-element file-default\" title=\"WTF's default config.yml\" src=\"https:\/\/opensource.com\/sites\/default\/files\/uploads\/wtf-2.png\" alt=\"WTF's default config.yml\" width=\"650\" height=\"263\" data-delta=\"2\" \/><\/div>\n<\/div>\n<\/div>\n<p>You also get the default configuration file in\u00a0<strong>~\/.wtf\/config.yml<\/strong>, and you can edit the file to suit your needs. The grid layout is configured in the top part of the file.<\/p>\n<div class=\"geshifilter\">\n<div class=\"text geshifilter-text\">grid:<br \/>\ncolumns: [45, 45]<br \/>\nrows: [7, 7, 7, 4]<\/div>\n<\/div>\n<p>The numbers in the grid settings represent the character dimensions of each block. The default configuration is two columns of 40 characters, two rows 13 characters tall, and one row 4 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 more widgets.<\/p>\n<div class=\"media media-element-container media-default media-wysiwyg-align-center\">\n<div id=\"file-420396\" class=\"file file-image file-image-png\">\n<div class=\"content\"><img loading=\"lazy\" decoding=\"async\" class=\"media-element file-default\" title=\"prettyweather on WTF\" src=\"https:\/\/opensource.com\/sites\/default\/files\/uploads\/wtf-3.png\" alt=\"prettyweather on WTF\" width=\"650\" height=\"408\" data-delta=\"3\" \/><\/div>\n<\/div>\n<\/div>\n<p>I like to see the day&#8217;s weather on my dashboard. There are two weather modules to chose from:\u00a0<a href=\"https:\/\/wtfutil.com\/posts\/modules\/weather\/\" target=\"_blank\" rel=\"noopener\">Weather<\/a>,\u00a0which shows just the text information, and\u00a0<a href=\"https:\/\/wtfutil.com\/posts\/modules\/prettyweather\/\" target=\"_blank\" rel=\"noopener\">Pretty Weather<\/a>,\u00a0which is colorful and uses text-based graphics in the display.<\/p>\n<div class=\"geshifilter\">\n<div class=\"text geshifilter-text\">prettyweather:<br \/>\nenabled: true<br \/>\nposition:<br \/>\ntop: 0<br \/>\nleft: 1<br \/>\nheight: 2<br \/>\nwidth: 1<\/div>\n<\/div>\n<p>This code creates a pane two blocks tall (height: 2) and one block wide (height: 1), positioned on the second column (left: 1) on the top row (top: 0) containing the Pretty Weather module.<\/p>\n<p>Some modules, like Jira, GitHub, and Todo, are interactive, and you can scroll, update, and save information in them. You can move\u00a0between the interactive panes using the Tab key. The \\ key brings up a help screen for the active pane\u00a0so you can see what you can do and how. The Todo module lets you add, edit, and delete to-do items, as well as check them off as you complete them.<\/p>\n<div class=\"media media-element-container media-default media-wysiwyg-align-center\">\n<div id=\"file-420411\" class=\"file file-image file-image-png\">\n<div class=\"content\"><img loading=\"lazy\" decoding=\"async\" class=\"media-element file-default\" title=\"WTF dashboard with GitHub, Todos, Power, and the weather\" src=\"https:\/\/opensource.com\/sites\/default\/files\/uploads\/wtf-4.png\" alt=\"WTF dashboard with GitHub, Todos, Power, and the weather\" width=\"650\" height=\"368\" data-delta=\"4\" \/><\/div>\n<\/div>\n<\/div>\n<p>There are also modules to execute commands and present the output, watch a text file, and monitor build and integration server output. All the documentation is very well done.<\/p>\n<p>WTF is a valuable tool for anyone who needs to see a lot of data on one screen from different sources.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><a href=\"http:\/\/lxer.com\/module\/newswire\/ext_link.php?rid=265148\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Keep key information in view with WTF, the sixth in our series on open source tools that will make you more productive in 2019. There seems to be a mad rush at the beginning of every year to find ways to be more productive. New Year&#8217;s resolutions, the itch to start the year off right, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/01\/22\/get-started-with-wtf-a-dashboard-for-the-terminal\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Get started with WTF, a dashboard for the terminal&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8447","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/8447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=8447"}],"version-history":[{"count":2,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/8447\/revisions"}],"predecessor-version":[{"id":11015,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/8447\/revisions\/11015"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=8447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=8447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=8447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}