diff --git a/.github/ISSUE_TEMPLATE/Bug.md b/.github/ISSUE_TEMPLATE/Bug.md
index 25eef495..adda2996 100644
--- a/.github/ISSUE_TEMPLATE/Bug.md
+++ b/.github/ISSUE_TEMPLATE/Bug.md
@@ -3,18 +3,8 @@ name: Bug Report
about: Something is broken?
---
-### Bug Report
+#### What's the problem?
-#### Summary
-
-##### What is the current behaviour?
-
+#### How did you expect it to behave?
-### How to reproduce
-
-##### If the current behaviour is a bug, please provide the steps to reproduce it.
-
-
-##### What do you think the expected behaviour should be?
-
diff --git a/.github/ISSUE_TEMPLATE/Feature.md b/.github/ISSUE_TEMPLATE/Feature.md
index 9adde8b4..3d6ed228 100644
--- a/.github/ISSUE_TEMPLATE/Feature.md
+++ b/.github/ISSUE_TEMPLATE/Feature.md
@@ -3,14 +3,9 @@ name: Feature Request
about: You have a neat idea that should be implemented?
---
-### Feature Request
-
+#### What problem does this solve?
+
+
+#### How do envision it working?
-| Q | A
-|------------ | ------
-| New Feature | yes
-| RFC | yes/no
-| BC Break | yes/no
-#### Summary
-
diff --git a/.github/ISSUE_TEMPLATE/Support.md b/.github/ISSUE_TEMPLATE/Support.md
index 8e127f00..35d66b97 100644
--- a/.github/ISSUE_TEMPLATE/Support.md
+++ b/.github/ISSUE_TEMPLATE/Support.md
@@ -3,9 +3,6 @@ name: ❓ Support Question
about: Have a problem that you can't figure out?
---
-| Q | A
-|------------ | -----
-| Version | 0.0.4
-#### Support Question
-
+#### What problem are you having and how can we help?
+
diff --git a/.github/PULL_REQUEST_TEMPLATE/Improvement.md b/.github/PULL_REQUEST_TEMPLATE/Improvement.md
index 8b616076..ef71c51d 100644
--- a/.github/PULL_REQUEST_TEMPLATE/Improvement.md
+++ b/.github/PULL_REQUEST_TEMPLATE/Improvement.md
@@ -3,14 +3,9 @@ name: Improvement
about: You have some improvement to make wtf better?
---
-### Improvement
-
+#### What problem does this solve?
+
+
+#### Is this related to an existing Issue? If so, which one?
-| Q | A
-|------------ | ------
-| New Feature | yes
-| RFC | yes/no
-| BC Break | yes/no
-#### Summary
-
diff --git a/.github/PULL_REQUEST_TEMPLATE/Other.md b/.github/PULL_REQUEST_TEMPLATE/Other.md
index 65da67ee..d6e0c64b 100644
--- a/.github/PULL_REQUEST_TEMPLATE/Other.md
+++ b/.github/PULL_REQUEST_TEMPLATE/Other.md
@@ -1,18 +1,11 @@
---
name: Other
-about: You have some other ideas you want to introduce?
+about: You have some other ideas you want to introduce?
---
-**What kind of change does this PR introduce?**
-
+#### What problem does this solve?
-**Summary**
-
-
-**Does this PR introduce a breaking change?**
-
-**Other information**
diff --git a/.gitignore b/.gitignore
index 7048d6ec..2d038a3c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,6 +15,7 @@
# Misc
.DS_Store
gcal/client_secret.json
+gspreadsheets/client_secret.json
#intellij idea
.idea/
diff --git a/.goreleaser.yml b/.goreleaser.yml
index fa4af340..e5ebdc42 100644
--- a/.goreleaser.yml
+++ b/.goreleaser.yml
@@ -9,3 +9,6 @@ builds:
- linux
goarch:
- amd64
+
+archive:
+ wrap_in_directory: true
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..b20b9c4a
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,12 @@
+language: go
+go:
+ - "1.10"
+sudo: false
+before_install:
+ # Make sure travis builds work for forks
+ - mkdir -p $TRAVIS_BUILD_DIR $GOPATH/src/github.com/senorprogrammer
+ - test ! -d $GOPATH/src/github.com/senorprogrammer/wtf && mv $TRAVIS_BUILD_DIR $GOPATH/src/github.com/senorprogrammer/wtf || true
+ - export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/senorprogrammer/wtf
+ - cd $HOME/gopath/src/github.com/senorprogrammer/wtf
+
+script: go get ./... && go get github.com/go-test/deep && go test -v github.com/senorprogrammer/wtf/wtf_tests
diff --git a/Gopkg.lock b/Gopkg.lock
index ef289b39..d59fa66b 100644
--- a/Gopkg.lock
+++ b/Gopkg.lock
@@ -88,6 +88,12 @@
packages = ["."]
revision = "71ecf1f4299c6d72b16d20da72405b7e85ac8720"
+[[projects]]
+ branch = "master"
+ name = "github.com/xanzy/go-gitlab"
+ packages = ["."]
+ revision = "73e9df58a3194b1256edae4d2e819603f06d428c"
+
[[projects]]
branch = "master"
name = "github.com/yfronto/newrelic"
@@ -164,6 +170,6 @@
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
- inputs-digest = "b0e632406212933c5f4d7652db7aa06e63f4ed94d38ceb823e5c51b865c20be0"
+ inputs-digest = "fd122eb7175ffd7db7cb197de13e0b850231ec9269a63a8ca9d117a8aa50d7e5"
solver-name = "gps-cdcl"
solver-version = 1
diff --git a/Gopkg.toml b/Gopkg.toml
index c18c9146..e64c4c7b 100644
--- a/Gopkg.toml
+++ b/Gopkg.toml
@@ -41,6 +41,10 @@
name = "github.com/google/go-github"
branch = "master"
+[[constraint]]
+ name = "github.com/xanzy/go-gitlab"
+ branch = "master"
+
[[constraint]]
name = "github.com/jessevdk/go-flags"
version = "1.4.0"
diff --git a/LICENSE.md b/LICENSE.md
index 7bbd1567..66214a8d 100644
--- a/LICENSE.md
+++ b/LICENSE.md
@@ -1,7 +1,109 @@
Copyright 2018, Chris Cummer
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+Mozilla Public License, version 2.0 1. Definitions 1.1. “Contributor” means each individual or legal entity that creates, contributes to the creation of, or owns Covered Software.
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+1.2. “Contributor Version” means the combination of the Contributions of others (if any) used by a Contributor and that particular Contributor’s Contribution.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+1.3. “Contribution” means Covered Software of a particular Contributor.
+
+1.4. “Covered Software” means Source Code Form to which the initial Contributor has attached the notice in Exhibit A, the Executable Form of such Source Code Form, and Modifications of such Source Code Form, in each case including portions thereof.
+
+1.5. “Incompatible With Secondary Licenses” means
+
+that the initial Contributor has attached the notice described in Exhibit B to the Covered Software; or
+
+that the Covered Software was made available under the terms of version 1.1 or earlier of the License, but not also under the terms of a Secondary License.
+
+1.6. “Executable Form” means any form of the work other than Source Code Form.
+
+1.7. “Larger Work” means a work that combines Covered Software with other material, in a separate file or files, that is not Covered Software.
+
+1.8. “License” means this document.
+
+1.9. “Licensable” means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently, any and all of the rights conveyed by this License.
+
+1.10. “Modifications” means any of the following:
+
+any file in Source Code Form that results from an addition to, deletion from, or modification of the contents of Covered Software; or
+
+any new file in Source Code Form that contains any Covered Software.
+
+1.11. “Patent Claims” of a Contributor means any patent claim(s), including without limitation, method, process, and apparatus claims, in any patent Licensable by such Contributor that would be infringed, but for the grant of the License, by the making, using, selling, offering for sale, having made, import, or transfer of either its Contributions or its Contributor Version.
+
+1.12. “Secondary License” means either the GNU General Public License, Version 2.0, the GNU Lesser General Public License, Version 2.1, the GNU Affero General Public License, Version 3.0, or any later versions of those licenses.
+
+1.13. “Source Code Form” means the form of the work preferred for making modifications.
+
+1.14. “You” (or “Your”) means an individual or a legal entity exercising rights under this License. For legal entities, “You” includes any entity that controls, is controlled by, or is under common control with You. For purposes of this definition, “control” means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity.
+
+2. License Grants and Conditions 2.1. Grants Each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license:
+
+under intellectual property rights (other than patent or trademark) Licensable by such Contributor to use, reproduce, make available, modify, display, perform, distribute, and otherwise exploit its Contributions, either on an unmodified basis, with Modifications, or as part of a Larger Work; and
+
+under Patent Claims of such Contributor to make, use, sell, offer for sale, have made, import, and otherwise transfer either its Contributions or its Contributor Version.
+
+2.2. Effective Date The licenses granted in Section 2.1 with respect to any Contribution become effective for each Contribution on the date the Contributor first distributes such Contribution.
+
+2.3. Limitations on Grant Scope The licenses granted in this Section 2 are the only rights granted under this License. No additional rights or licenses will be implied from the distribution or licensing of Covered Software under this License. Notwithstanding Section 2.1(b) above, no patent license is granted by a Contributor:
+
+for any code that a Contributor has removed from Covered Software; or
+
+for infringements caused by: (i) Your and any other third party’s modifications of Covered Software, or (ii) the combination of its Contributions with other software (except as part of its Contributor Version); or
+
+under Patent Claims infringed by Covered Software in the absence of its Contributions.
+
+This License does not grant any rights in the trademarks, service marks, or logos of any Contributor (except as may be necessary to comply with the notice requirements in Section 3.4).
+
+2.4. Subsequent Licenses No Contributor makes additional grants as a result of Your choice to distribute the Covered Software under a subsequent version of this License (see Section 10.2) or under the terms of a Secondary License (if permitted under the terms of Section 3.3).
+
+2.5. Representation Each Contributor represents that the Contributor believes its Contributions are its original creation(s) or it has sufficient rights to grant the rights to its Contributions conveyed by this License.
+
+2.6. Fair Use This License is not intended to limit any rights You have under applicable copyright doctrines of fair use, fair dealing, or other equivalents.
+
+2.7. Conditions Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in Section 2.1.
+
+3. Responsibilities 3.1. Distribution of Source Form All distribution of Covered Software in Source Code Form, including any Modifications that You create or to which You contribute, must be under the terms of this License. You must inform recipients that the Source Code Form of the Covered Software is governed by the terms of this License, and how they can obtain a copy of this License. You may not attempt to alter or restrict the recipients’ rights in the Source Code Form.
+
+3.2. Distribution of Executable Form If You distribute Covered Software in Executable Form then:
+
+such Covered Software must also be made available in Source Code Form, as described in Section 3.1, and You must inform recipients of the Executable Form how they can obtain a copy of such Source Code Form by reasonable means in a timely manner, at a charge no more than the cost of distribution to the recipient; and
+
+You may distribute such Executable Form under the terms of this License, or sublicense it under different terms, provided that the license for the Executable Form does not attempt to limit or alter the recipients’ rights in the Source Code Form under this License.
+
+3.3. Distribution of a Larger Work You may create and distribute a Larger Work under terms of Your choice, provided that You also comply with the requirements of this License for the Covered Software. If the Larger Work is a combination of Covered Software with a work governed by one or more Secondary Licenses, and the Covered Software is not Incompatible With Secondary Licenses, this License permits You to additionally distribute such Covered Software under the terms of such Secondary License(s), so that the recipient of the Larger Work may, at their option, further distribute the Covered Software under the terms of either this License or such Secondary License(s).
+
+3.4. Notices You may not remove or alter the substance of any license notices (including copyright notices, patent notices, disclaimers of warranty, or limitations of liability) contained within the Source Code Form of the Covered Software, except that You may alter any license notices to the extent required to remedy known factual inaccuracies.
+
+3.5. Application of Additional Terms You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Software. However, You may do so only on Your own behalf, and not on behalf of any Contributor. You must make it absolutely clear that any such warranty, support, indemnity, or liability obligation is offered by You alone, and You hereby agree to indemnify every Contributor for any liability incurred by such Contributor as a result of warranty, support, indemnity or liability terms You offer. You may include additional disclaimers of warranty and limitations of liability specific to any jurisdiction.
+
+4. Inability to Comply Due to Statute or Regulation If it is impossible for You to comply with any of the terms of this License with respect to some or all of the Covered Software due to statute, judicial order, or regulation then You must: (a) comply with the terms of this License to the maximum extent possible; and (b) describe the limitations and the code they affect. Such description must be placed in a text file included with all distributions of the Covered Software under this License. Except to the extent prohibited by statute or regulation, such description must be sufficiently detailed for a recipient of ordinary skill to be able to understand it.
+
+5. Termination 5.1. The rights granted under this License will terminate automatically if You fail to comply with any of its terms. However, if You become compliant, then the rights granted under this License from a particular Contributor are reinstated (a) provisionally, unless and until such Contributor explicitly and finally terminates Your grants, and (b) on an ongoing basis, if such Contributor fails to notify You of the non-compliance by some reasonable means prior to 60 days after You have come back into compliance. Moreover, Your grants from a particular Contributor are reinstated on an ongoing basis if such Contributor notifies You of the non-compliance by some reasonable means, this is the first time You have received notice of non-compliance with this License from such Contributor, and You become compliant prior to 30 days after Your receipt of the notice.
+
+5.2. If You initiate litigation against any entity by asserting a patent infringement claim (excluding declaratory judgment actions, counter-claims, and cross-claims) alleging that a Contributor Version directly or indirectly infringes any patent, then the rights granted to You by any and all Contributors for the Covered Software under Section 2.1 of this License shall terminate.
+
+5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user license agreements (excluding distributors and resellers) which have been validly granted by You or Your distributors under this License prior to termination shall survive termination.
+
+6. Disclaimer of Warranty Covered Software is provided under this License on an “as is” basis, without warranty of any kind, either expressed, implied, or statutory, including, without limitation, warranties that the Covered Software is free of defects, merchantable, fit for a particular purpose or non-infringing. The entire risk as to the quality and performance of the Covered Software is with You. Should any Covered Software prove defective in any respect, You (not any Contributor) assume the cost of any necessary servicing, repair, or correction. This disclaimer of warranty constitutes an essential part of this License. No use of any Covered Software is authorized under this License except under this disclaimer.
+
+7. Limitation of Liability Under no circumstances and under no legal theory, whether tort (including negligence), contract, or otherwise, shall any Contributor, or anyone who distributes Covered Software as permitted above, be liable to You for any direct, indirect, special, incidental, or consequential damages of any character including, without limitation, damages for lost profits, loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses, even if such party shall have been informed of the possibility of such damages. This limitation of liability shall not apply to liability for death or personal injury resulting from such party’s negligence to the extent applicable law prohibits such limitation. Some jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, so this exclusion and limitation may not apply to You.
+
+8. Litigation Any litigation relating to this License may be brought only in the courts of a jurisdiction where the defendant maintains its principal place of business and such litigation shall be governed by laws of that jurisdiction, without reference to its conflict-of-law provisions. Nothing in this Section shall prevent a party’s ability to bring cross-claims or counter-claims.
+
+9. Miscellaneous This License represents the complete agreement concerning the subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not be used to construe this License against a Contributor.
+
+10. Versions of the License 10.1. New Versions Mozilla Foundation is the license steward. Except as provided in Section 10.3, no one other than the license steward has the right to modify or publish new versions of this License. Each version will be given a distinguishing version number.
+
+10.2. Effect of New Versions You may distribute the Covered Software under the terms of the version of the License under which You originally received the Covered Software, or under the terms of any subsequent version published by the license steward.
+
+10.3. Modified Versions If you create software not governed by this License, and you want to create a new license for such software, you may create and use a modified version of this License if you rename the license and remove any references to the name of the license steward (except to note that such modified license differs from this License).
+
+10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses If You choose to distribute Source Code Form that is Incompatible With Secondary Licenses under the terms of this version of the License, the notice described in Exhibit B of this License must be attached.
+
+Exhibit A - Source Code Form License Notice This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+If it is not possible or desirable to put the notice in a particular file, then You may include the notice in a location (such as a LICENSE file in a relevant directory) where a recipient would be likely to look for such a notice.
+
+You may add additional accurate notices of copyright ownership.
+
+Exhibit B - “Incompatible With Secondary Licenses” Notice This Source Code Form is “Incompatible With Secondary Licenses”, as defined by the Mozilla Public License, v. 2.0.
diff --git a/README.md b/README.md
index 6ed53242..d9a53bd7 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,9 @@
+
+
+
+
-
+
A personal terminal-based dashboard utility, designed for
@@ -13,8 +17,7 @@ displaying infrequently-needed, but very important, daily data.
### Installation from Source
-*Note:* This has only been tested to build against Go 1.9.2. It won't
-work with Go versions < 1.7, and only _may_ work on other versions.
+**Note:** WTF is _only_ compatible with Go versions **1.9.2** or later. It currently _does not_ compile with `gccgo`.
```bash
go get -u github.com/senorprogrammer/wtf
@@ -27,7 +30,7 @@ Or [download the latest binary](https://github.com/senorprogrammer/wtf/releases)
## Support
-Chat on Gitter:
+Chat on Gitter
[](https://gitter.im/wtfutil/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
## Documentation
@@ -39,27 +42,6 @@ documentation. Here's some short-cuts:
* [Configuration](http://wtfutil.com/posts/configuration/)
* [Module Documentation](http://wtfutil.com/posts/modules/)
-And a "probably up-to-date" list of currently-implemented modules:
-
-* [BambooHR](http://wtfutil.com/posts/modules/bamboohr/)
-* [World Clocks](http://wtfutil.com/posts/modules/clocks/)
-* [Command Runner](http://wtfutil.com/posts/modules/cmdrunner/)
-* [Google Calendar](http://wtfutil.com/posts/modules/gcal/)
-* [Git](http://wtfutil.com/posts/modules/git/)
-* [GitHub](http://wtfutil.com/posts/modules/github/)
-* [IPInfo](http://wtfutil.com/posts/modules/ipinfo/)
-* [Jira](http://wtfutil.com/posts/modules/jira/)
-* [New Relic](http://wtfutil.com/posts/modules/newrelic/)
-* [OpsGenie](http://wtfutil.com/posts/modules/opsgenie)
-* [Power](http://wtfutil.com/posts/modules/power/)
-* [PrettyWeather](http://wtfutil.com/posts/modules/prettyweather/)*
-* [Security](http://wtfutil.com/posts/modules/security/)
-* [Textfile](http://wtfutil.com/posts/modules/textfile/)
-* [Todo List](http://wtfutil.com/posts/modules/todo/)
-* [Weather](http://wtfutil.com/posts/modules/weather/)
-
-*experimental
-
## Contributing
Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests.
@@ -95,3 +77,4 @@ Many thanks to all these developers.
+
diff --git a/_sample_configs/bargraph_config.yml b/_sample_configs/bargraph_config.yml
new file mode 100644
index 00000000..577771ee
--- /dev/null
+++ b/_sample_configs/bargraph_config.yml
@@ -0,0 +1,27 @@
+wtf:
+ colors:
+ border:
+ focusable: darkslateblue
+ focused: orange
+ normal: gray
+ grid:
+ columns: [40, 40]
+ rows: [13, 13, 4]
+ refreshInterval: 1
+ mods:
+ bargraph:
+ colors:
+ from:
+ name: coral
+ displayName: grey
+ to:
+ name: white
+ price: green
+ enabled: true
+ position:
+ top: 2
+ left: 0
+ height: 2
+ width: 2
+ refreshInterval: 30
+ updateInterval: 15
\ No newline at end of file
diff --git a/_sample_configs/complex_config.yml b/_sample_configs/complex_config.yml
index c21bdb72..57e3f41c 100644
--- a/_sample_configs/complex_config.yml
+++ b/_sample_configs/complex_config.yml
@@ -79,6 +79,25 @@ wtf:
refreshInterval: 300
secretFile: "~/.wtf/gcal/client_secret.json"
withLocation: true
+ gspreadsheets:
+ enabled: true
+ secretFile: "~/.wtf/gspreadsheets/client_secret.json"
+ refreshInterval: "300"
+ sheetId: "id_of_google_spreadsheet"
+ colors:
+ values: "green"
+ cells:
+ names:
+ - "Cell 1 name"
+ - "Cell 2 name"
+ addresses:
+ - "A1"
+ - "A2"
+ position:
+ top: 0
+ left: 0
+ width: 1
+ height: 1
git:
commitCount: 5
enabled: true
@@ -199,3 +218,17 @@ wtf:
width: 1
refreshInterval: 90
tempUnit: "C"
+ blockfolio:
+ enabled: true
+ displayHoldings: true
+ refreshInterval: 400
+ device_token: "device token here, you can find how to get it here https://github.com/bob6664569/blockfolio-api-client"
+ colors:
+ name: blue
+ grows: green
+ drop: red
+ position:
+ top: 3
+ left: 1
+ width: 1
+ height: 1
\ No newline at end of file
diff --git a/_site/content/posts/modules/circleci.md b/_site/content/posts/modules/circleci.md
new file mode 100644
index 00000000..4a2df2d9
--- /dev/null
+++ b/_site/content/posts/modules/circleci.md
@@ -0,0 +1,53 @@
+---
+title: "CircleCI"
+date: 2018-06-10T19:26:08-04:00
+draft: false
+---
+
+Added in `v0.0.7`.
+
+Displays build information for your CircleCI account.
+
+
+
+## Source Code
+
+```bash
+wtf/circleci/
+```
+
+## Required ENV Variables
+
+Key: `WTF_CIRCLE_API_KEY`
+Value: Your CircleCI API
+token.
+
+## Keyboard Commands
+
+None.
+
+## Configuration
+
+```yaml
+circleci:
+ enabled: true
+ position:
+ top: 4
+ left: 1
+ height: 1
+ width: 2
+ refreshInterval: 900
+```
+
+### Attributes
+
+`enabled`
+Determines whether or not this module is executed and if its data displayed onscreen.
+Values: `true`, `false`.
+
+`position`
+Defines where in the grid this module's widget will be displayed.
+
+`refreshInterval`
+How often, in seconds, this module will update its data.
+Values: A positive integer, `0..n`.
diff --git a/_site/content/posts/modules/cryptocurrencies/bittrex.md b/_site/content/posts/modules/cryptocurrencies/bittrex.md
index df5fc610..8ee4ad37 100644
--- a/_site/content/posts/modules/cryptocurrencies/bittrex.md
+++ b/_site/content/posts/modules/cryptocurrencies/bittrex.md
@@ -16,7 +16,7 @@ Get the last 24 hour summary of cryptocurrencies market using [Bittrex](https://
wtf/cryptoexchanges/bittrex/
```
-## Required ENV Vars
+## Required ENV Variables
None.
diff --git a/_site/content/posts/modules/cryptocurrencies/blockfolio.md b/_site/content/posts/modules/cryptocurrencies/blockfolio.md
new file mode 100644
index 00000000..06df64cc
--- /dev/null
+++ b/_site/content/posts/modules/cryptocurrencies/blockfolio.md
@@ -0,0 +1,75 @@
+---
+title: "Blockfolio"
+date: 2018-06-13T09:29:59-07:00
+draft: false
+---
+
+Added in `v0.0.8`.
+
+Display your Blockfolio crypto holdings.
+
+
+
+## Source
+
+```bash
+wtf/blockfolio/
+```
+
+## Required ENV Variables
+
+None.
+
+## Keyboard Commands
+
+None.
+
+## Configuration
+
+```yaml
+blockfolio:
+ colors:
+ name: blue
+ grows: green
+ drop: red
+ device_token: "device token"
+ displayHoldings: true
+ enabled: true
+ position:
+ top: 3
+ left: 1
+ width: 1
+ height: 1
+ refreshInterval: 400
+```
+
+### Attributes
+
+`colors.name`
+Values: Any X11
+color name.
+
+`colors.grows`
+Values: Any X11
+color name.
+
+`colors.drop`
+Values: Any X11
+color name.
+
+`device_token`
+Value: See [this gist](https://github.com/bob6664569/blockfolio-api-client) for
+details on how to get your Blockfolio API token.
+
+`displayHoldings`
+
+`enabled`
+Determines whether or not this module is executed and if its data displayed onscreen.
+Values: `true`, `false`.
+
+`position`
+Defines where in the grid this module's widget will be displayed.
+
+`refreshInterval`
+How often, in seconds, this module will update its data.
+Values: A positive integer, `0..n`.
diff --git a/_site/content/posts/modules/gcal.md b/_site/content/posts/modules/gcal.md
index ef6a70dd..03593431 100644
--- a/_site/content/posts/modules/gcal.md
+++ b/_site/content/posts/modules/gcal.md
@@ -19,11 +19,7 @@ wtf/gcal/
## Required ENV Variables
-Key: `WTF_GOOGLE_CAL_CLIENT_ID`
-Value: Your Google API client ID.
-
-Key: `WTF_GOOGLE_CAL_CLIENT_SECRET`
-Value: Your Google API client secret.
+None.
## Keyboard Commands
diff --git a/_site/content/posts/modules/gitlab.md b/_site/content/posts/modules/gitlab.md
new file mode 100644
index 00000000..df9f744f
--- /dev/null
+++ b/_site/content/posts/modules/gitlab.md
@@ -0,0 +1,90 @@
+---
+title: "Gitlab"
+date: 2018-06-08T13:14:11-07:00
+draft: false
+---
+
+Added in `v0.0.8`.
+
+
+
+Displays information about your projects hosted on Gitlab:
+
+#### Open Approval Requests
+
+All open merge requests that are requesting your approval.
+
+#### Open Merge Requests
+
+All open merge requests created by you.
+
+## Source Code
+
+```bash
+wtf/gitlab/
+```
+
+## Required ENV Variables
+
+Key: `WTF_GITLAB_TOKEN`
+Action: A Gitlab personal access token. Requires at least `api` access.
+
+## Keyboard Commands
+
+Key: `/`
+Action: Open/close the widget's help window.
+
+Key: `h`
+Action: Show the previous project.
+
+Key: `l`
+Action: Show the next project.
+
+Key: `←`
+Action: Show the previous project.
+
+Key: `→`
+Action: Show the next project.
+
+## Configuration
+
+```yaml
+gitlab:
+ enabled: true
+ position:
+ top: 2
+ left: 3
+ height: 2
+ width: 2
+ refreshInterval: 300
+ projects:
+ tasks: "gitlab-org/release"
+ gitlab-ce: "gitlab-org"
+ username: "senorprogrammer"
+```
+
+### Attributes
+
+`enabled`
+Determines whether or not this module is executed and if its data displayed onscreen.
+Values: `true`, `false`.
+
+`position`
+Defines where in the grid this module's widget will be displayed.
+
+`refreshInterval`
+How often, in seconds, this module will update its data.
+Values: A positive integer, `0..n`.
+
+`domain`
+_Optional_. Your Gitlab corporate domain.
+Values: A valid URI.
+
+`projects`
+A list of key/value pairs each describing a Gitlab project to fetch data
+for.
+Key: The name of the project.
+Value: The namespace of the project.
+
+`username`
+Your Gitlab username. Used to figure out which requests require your approval
diff --git a/_site/content/posts/modules/gspreadsheet.md b/_site/content/posts/modules/gspreadsheet.md
new file mode 100644
index 00000000..0d3e5a94
--- /dev/null
+++ b/_site/content/posts/modules/gspreadsheet.md
@@ -0,0 +1,70 @@
+---
+title: "Google Spreadsheets"
+date: 2018-06-10T18:26:26-04:00
+draft: false
+---
+
+Added in `v0.0.7`.
+
+Display information from cells in a Google Spreadsheet.
+
+```bash
+wtf/gspreadsheets/
+```
+
+## Required ENV Variables
+
+None.
+
+## Keyboard Commands
+
+None.
+
+## Configuration
+
+```yaml
+gspreadsheets:
+ colors:
+ values: "green"
+ cells:
+ names:
+ - "Cell 1 name"
+ - "Cell 2 name"
+ addresses:
+ - "A1"
+ - "A2"
+ enabled: true
+ position:
+ top: 0
+ left: 0
+ width: 1
+ height: 1
+ refreshInterval: "300"
+ secretFile: "~/.wtf/gspreadsheets/client_secret.json"
+ sheetId: "id_of_google_spreadsheet"
+```
+
+### Attributes
+
+`colors.values`
+The color to display the cell values in.
+Values: Any X11 color name.
+
+`cells.names`
+
+`cells.addresses`
+
+`enabled`
+Whether or not this module is executed and if its data displayed onscreen.
+Values: `true`, `false`.
+
+`position`
+Where in the grid this module's widget will be displayed.
+
+`refreshInterval`
+How often, in seconds, this module will update its data.
+Values: A positive integer, `0..n`.
+
+`secretFile`
+Your Google client secret JSON file.
+Values: A string representing a file path to the JSON secret file.
diff --git a/_site/content/posts/modules/ipapi.md b/_site/content/posts/modules/ipapi.md
new file mode 100644
index 00000000..986aa172
--- /dev/null
+++ b/_site/content/posts/modules/ipapi.md
@@ -0,0 +1,62 @@
+---
+title: "IP-API"
+date: 2018-06-10T19:41:52-04:00
+draft: false
+---
+
+Added in `v0.0.7`.
+
+Displays your current IP address information, from [IP-APIcom](http://ip-api.com).
+
+**Note:** IP-API.com has a free-plan rate limit of 120 requests per
+minute.
+
+## Source Code
+
+```bash
+wtf/ipapi/
+```
+
+## Required ENV Variables
+
+None.
+
+## Keyboard Commands
+
+None.
+
+## Configuration
+
+```yaml
+ipinfo:
+ colors:
+ name: red
+ value: white
+ enabled: true
+ position:
+ top: 1
+ left: 2
+ height: 1
+ width: 1
+ refreshInterval: 150
+```
+### Attributes
+
+`colors.name`
+The default colour for the row names.
+Values: Any X11 color name.
+
+`colors.value`
+The default colour for the row values.
+Values: Any X11 color name.
+
+`enabled`
+Determines whether or not this module is executed and if its data displayed onscreen.
+Values: `true`, `false`.
+
+`position`
+Defines where in the grid this module's widget will be displayed.
+
+`refreshInterval`
+How often, in seconds, this module will update its data.
+Values: A positive integer, `0..n`.
diff --git a/_site/content/posts/modules/ipinfo.md b/_site/content/posts/modules/ipinfo.md
index b6e2663a..93b8edb2 100644
--- a/_site/content/posts/modules/ipinfo.md
+++ b/_site/content/posts/modules/ipinfo.md
@@ -6,6 +6,8 @@ draft: false
Displays your current IP address information, from ipinfo.io.
+**Note:** IPInfo.io has a free-plan rate limit of 1000 requests per day.
+
## Source Code
@@ -35,7 +37,7 @@ ipinfo:
left: 2
height: 1
width: 1
- refreshInterval: 15
+ refreshInterval: 150
```
### Attributes
diff --git a/_site/content/posts/modules/jenkins.md b/_site/content/posts/modules/jenkins.md
new file mode 100644
index 00000000..c556998e
--- /dev/null
+++ b/_site/content/posts/modules/jenkins.md
@@ -0,0 +1,63 @@
+---
+title: "Modules: Jenkins"
+date: 2018-06-09T20:53:35-07:00
+draft: false
+---
+
+Added in `v0.0.8`.
+
+Displays jenkins status of given builds in a project or view
+
+
+
+## Source Code
+
+```bash
+wtf/jenkins/
+```
+
+## Required ENV Variables
+
+Key: `WTF_JENKINS_API_KEY`
+Value: Your Jenkins API key.
+
+## Keyboard Commands
+
+None.
+
+## Configuration
+
+```yaml
+jenkins:
+ enabled: true
+ position:
+ top: 2
+ left: 3
+ height: 2
+ width: 3
+ refreshInterval: 300
+ url: "https://jenkins.domain.com/jenkins/view_url"
+ user: "username"
+```
+
+### Attributes
+
+`enabled`
+Determines whether or not this module is executed and if its data displayed onscreen.
+Values: `true`, `false`.
+
+`position`
+Defines where in the grid this module's widget will be displayed.
+
+`refreshInterval`
+How often, in seconds, this module will update its data.
+Values: A positive integer, `0..n`.
+
+`user`
+Your Jenkins username.
+
+`url`
+The url to your Jenkins project or view.
+Values: A valid URI.
+
diff --git a/_site/content/posts/modules/jira.md b/_site/content/posts/modules/jira.md
index d1cf2752..81f2fc9a 100644
--- a/_site/content/posts/modules/jira.md
+++ b/_site/content/posts/modules/jira.md
@@ -25,6 +25,8 @@ None.
## Configuration
+### Single Jira Project
+
```yaml
jira:
colors:
@@ -40,7 +42,32 @@ jira:
left: 1
height: 1
width: 2
- project: "JIRA"
+ project: "ProjectA"
+ refreshInterval: 900
+ username: "chris.cummer"
+```
+
+### Multiple Jira Projects
+
+If you want to monitor multiple Jira projects, use the following
+configuration (note the difference in `project`):
+
+```yaml
+jira:
+ colors:
+ rows:
+ even: "lightblue"
+ odd: "white"
+ domain: "https://umbrellacorp.atlassian.net"
+ email: "chriscummer@me.com"
+ enabled: true
+ jql: "issueType = Story"
+ position:
+ top: 4
+ left: 1
+ height: 1
+ width: 2
+ project: ["ProjectA", "ProjectB"]
refreshInterval: 900
username: "chris.cummer"
verifyServerCertificate: true
diff --git a/_site/content/posts/modules/prettyweather.md b/_site/content/posts/modules/prettyweather.md
index 39a08e4b..66a78c1e 100644
--- a/_site/content/posts/modules/prettyweather.md
+++ b/_site/content/posts/modules/prettyweather.md
@@ -4,8 +4,6 @@ date: 2018-06-02T05:32:04-07:00
draft: false
---
-**🔬 Experimental**
-
Displays weather information as ASCII art from
[Wttr.in](http://wttr.in).
@@ -38,6 +36,7 @@ None.
width: 1
refreshInterval: 300
unit: "c"
+ view: 0
```
### Attributes
@@ -62,3 +61,7 @@ Values: A positive integer, `0..n`.
_Optional_. It will use metric if you are out of US and imperial for US.
The temperature scale in which to display temperature values.
Values: `F` for Fahrenheit, `C` for Celcius.
+
+`view`
+_Optional_ Wttr.in view configuration.
+Values: See `curl wttr.in/:help` for more details.
diff --git a/_site/static/imgs/modules/blockfolio.png b/_site/static/imgs/modules/blockfolio.png
new file mode 100644
index 00000000..1a820c07
Binary files /dev/null and b/_site/static/imgs/modules/blockfolio.png differ
diff --git a/_site/static/imgs/modules/circleci.png b/_site/static/imgs/modules/circleci.png
new file mode 100644
index 00000000..e2447b41
Binary files /dev/null and b/_site/static/imgs/modules/circleci.png differ
diff --git a/_site/static/imgs/modules/gitlab.png b/_site/static/imgs/modules/gitlab.png
new file mode 100644
index 00000000..6e806a41
Binary files /dev/null and b/_site/static/imgs/modules/gitlab.png differ
diff --git a/_site/static/imgs/modules/jenkins.png b/_site/static/imgs/modules/jenkins.png
new file mode 100644
index 00000000..5074eca1
Binary files /dev/null and b/_site/static/imgs/modules/jenkins.png differ
diff --git a/_site/themes/hyde-hyde/layouts/index.html b/_site/themes/hyde-hyde/layouts/index.html
index 888abc24..d6fed31f 100644
--- a/_site/themes/hyde-hyde/layouts/index.html
+++ b/_site/themes/hyde-hyde/layouts/index.html
@@ -15,7 +15,7 @@
- Keep an eye on your OpsGenie schedules, Google Calendar, Git
+ Keep an eye on your OpsGenie schedules, Google Calendar, Git
and Github repositories, and New Relic deployments.
- Keep an eye on your OpsGenie schedules, Google Calendar, Git
+ Keep an eye on your OpsGenie schedules, Google Calendar, Git
and Github repositories, and New Relic deployments.
diff --git a/docs/index.xml b/docs/index.xml
index 99f00e72..06220520 100644
--- a/docs/index.xml
+++ b/docs/index.xml
@@ -6,11 +6,103 @@
Recent content on WTF - A Terminal DashboardHugo -- gohugo.ioen-us
- Mon, 04 Jun 2018 20:06:40 -0700
+ Wed, 13 Jun 2018 09:29:59 -0700
+
+ Blockfolio
+ https://wtfutil.com/posts/modules/cryptocurrencies/blockfolio/
+ Wed, 13 Jun 2018 09:29:59 -0700
+
+ https://wtfutil.com/posts/modules/cryptocurrencies/blockfolio/
+ Added in v0.0.8.
+Display your Blockfolio crypto holdings.
+Source wtf/blockfolio/ Required ENV Variables None.
+Keyboard Commands None.
+Configuration blockfolio:colors:name:bluegrows:greendrop:reddevice_token:"device token"displayHoldings:trueenabled:trueposition:top:3left:1width:1height:1refreshInterval:400 Attributes colors.name Values: Any X11 color name.
+colors.grows Values: Any X11 color name.
+colors.drop Values: Any X11 color name.
+device_token Value: See this gist for details on how to get your Blockfolio API token.
+displayHoldings enabled Determines whether or not this module is executed and if its data displayed onscreen.
+
+
+
+ IP-API
+ https://wtfutil.com/posts/modules/ipapi/
+ Sun, 10 Jun 2018 19:41:52 -0400
+
+ https://wtfutil.com/posts/modules/ipapi/
+ Added in v0.0.7.
+Displays your current IP address information, from IP-APIcom.
+Note: IP-API.com has a free-plan rate limit of 120 requests per minute.
+Source Code wtf/ipapi/ Required ENV Variables None.
+Keyboard Commands None.
+Configuration ipinfo:colors:name:redvalue:whiteenabled:trueposition:top:1left:2height:1width:1refreshInterval:150 Attributes colors.name The default colour for the row names. Values: Any X11 color name.
+colors.value The default colour for the row values. Values: Any X11 color name.
+enabled Determines whether or not this module is executed and if its data displayed onscreen.
+
+
+
+ CircleCI
+ https://wtfutil.com/posts/modules/circleci/
+ Sun, 10 Jun 2018 19:26:08 -0400
+
+ https://wtfutil.com/posts/modules/circleci/
+ Added in v0.0.7.
+Displays build information for your CircleCI account.
+Source Code wtf/circleci/ Required ENV Variables Key: WTF_CIRCLE_API_KEY Value: Your CircleCI API token.
+Keyboard Commands None.
+Configuration circleci:enabled:trueposition:top:4left:1height:1width:2refreshInterval:900 Attributes enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
+position Defines where in the grid this module’s widget will be displayed. refreshInterval How often, in seconds, this module will update its data.
+
+
+
+ Google Spreadsheets
+ https://wtfutil.com/posts/modules/gspreadsheet/
+ Sun, 10 Jun 2018 18:26:26 -0400
+
+ https://wtfutil.com/posts/modules/gspreadsheet/
+ Added in v0.0.7.
+Display information from cells in a Google Spreadsheet.
+wtf/gspreadsheets/ Required ENV Variables None.
+Keyboard Commands None.
+Configuration gspreadsheets:colors:values:"green"cells:names:-"Cell 1 name"-"Cell 2 name"addresses:-"A1"-"A2"enabled:trueposition:top:0left:0width:1height:1refreshInterval:"300"secretFile:"~/.wtf/gspreadsheets/client_secret.json"sheetId:"id_of_google_spreadsheet" Attributes colors.values The color to display the cell values in. Values: Any X11 color name.
+cells.names cells.addresses enabled Whether or not this module is executed and if its data displayed onscreen. Values: true, false.
+position Where in the grid this module’s widget will be displayed.
+
+
+
+ Modules: Jenkins
+ https://wtfutil.com/posts/modules/jenkins/
+ Sat, 09 Jun 2018 20:53:35 -0700
+
+ https://wtfutil.com/posts/modules/jenkins/
+ Added in v0.0.8.
+Displays jenkins status of given builds in a project or view
+Source Code wtf/jenkins/ Required ENV Variables Key: WTF_JENKINS_API_KEY Value: Your Jenkins API key.
+Keyboard Commands None.
+Configuration jenkins:enabled:trueposition:top:2left:3height:2width:3refreshInterval:300url:"https://jenkins.domain.com/jenkins/view_url"user:"username" Attributes enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
+position Defines where in the grid this module’s widget will be displayed.
+refreshInterval How often, in seconds, this module will update its data.
+
+
+
+ Gitlab
+ https://wtfutil.com/posts/modules/gitlab/
+ Fri, 08 Jun 2018 13:14:11 -0700
+
+ https://wtfutil.com/posts/modules/gitlab/
+ Added in v0.0.8.
+Displays information about your projects hosted on Gitlab:
+Open Approval Requests All open merge requests that are requesting your approval.
+Open Merge Requests All open merge requests created by you.
+Source Code wtf/gitlab/ Required ENV Variables Key: WTF_GITLAB_TOKEN Action: A Gitlab personal access token. Requires at least api access.
+Keyboard Commands Key: / Action: Open/close the widget’s help window.
+Key: h Action: Show the previous project.
+
+
Bittrex
https://wtfutil.com/posts/modules/cryptocurrencies/bittrex/
@@ -19,7 +111,7 @@
https://wtfutil.com/posts/modules/cryptocurrencies/bittrex/Added in v0.0.5.
Get the last 24 hour summary of cryptocurrencies market using Bittrex.
-Source Code wtf/cryptoexchanges/bittrex/ Required ENV Vars None.
+Source Code wtf/cryptoexchanges/bittrex/ Required ENV Variables None.
Keyboard Commands None.
Configuration bittrex:enabled:trueposition:top:1left:2height:3width:1refreshInterval:5summary:BTC:displayName:Bitcoinmarket:-LTC-ETHcolors:base:name:orangedisplayName:redmarket:name:redfield:whitevalue:green Attributes colors.base.name Values: Any X11 color name.
colors.base.dispayName Values: Any X11 color name.
@@ -53,11 +145,10 @@ position Defines where in the grid this module’s widget will be displa
Sat, 02 Jun 2018 05:32:04 -0700https://wtfutil.com/posts/modules/prettyweather/
- 🔬 Experimental
-Displays weather information as ASCII art from Wttr.in.
+ Displays weather information as ASCII art from Wttr.in.
Source Code wtf/prettyweather/ Required ENV Variables None.
Keyboard Commands None.
-Configuration prettyweather:enabled:truecity:"tehran"position:top:3left:5height:1width:1refreshInterval:300unit:"c" Attributes city Optional. It will grab the current location from your IP address if omitted.
+Configuration prettyweather:enabled:truecity:"tehran"position:top:3left:5height:1width:1refreshInterval:300unit:"c"view:0 Attributes city Optional. It will grab the current location from your IP address if omitted.
Values: The name of any city supported by Wttr.in.
enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
position Defines where in the grid this module’s widget will be displayed.
@@ -70,12 +161,12 @@ position Defines where in the grid this module’s widget will be displa
https://wtfutil.com/posts/modules/ipinfo/Displays your current IP address information, from ipinfo.io.
+Note: IPInfo.io has a free-plan rate limit of 1000 requests per day.
Source Code wtf/ipinfo/ Required ENV Variables None.
Keyboard Commands None.
-Configuration ipinfo:colors:name:redvalue:whiteenabled:trueposition:top:1left:2height:1width:1refreshInterval:15 Attributes colors.name The default colour for the row names. Values: Any X11 color name.
+Configuration ipinfo:colors:name:redvalue:whiteenabled:trueposition:top:1left:2height:1width:1refreshInterval:150 Attributes colors.name The default colour for the row names. Values: Any X11 color name.
colors.value The default colour for the row values. Values: Any X11 color name.
-enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
-position Defines where in the grid this module’s widget will be displayed.
+enabled Determines whether or not this module is executed and if its data displayed onscreen.
@@ -175,10 +266,8 @@ Key: j Action: Select the next item in the list.
Displays all Jira issues assigned to you for the specified project.
Source Code wtf/jira/ Required ENV Variables Key: WTF_JIRA_API_KEY Value: Your Jira API key.
Keyboard Commands None.
-Configuration jira:colors:rows:even:"lightblue"odd:"white"domain:"https://umbrellacorp.atlassian.net"email:"chriscummer@me.com"enabled:truejql:"issueType = Story"position:top:4left:1height:1width:2project:"JIRA"refreshInterval:900username:"chris.cummer" Attributes colors.rows.even Define the foreground color for even-numbered rows. Values: Any X11 color name.
-colors.rows.odd Define the foreground color for odd-numbered rows. Values: Any X11 color name.
-domain Your Jira corporate domain. Values: A valid URI.
-email The email address associated with your Jira account.
+Configuration Single Jira Project jira:colors:rows:even:"lightblue"odd:"white"domain:"https://umbrellacorp.atlassian.net"email:"chriscummer@me.com"enabled:truejql:"issueType = Story"position:top:4left:1height:1width:2project:"ProjectA"refreshInterval:900username:"chris.cummer" Multiple Jira Projects If you want to monitor multiple Jira projects, use the following configuration (note the difference in project):
+jira:colors:rows:even:"lightblue"odd:"white"domain:"https://umbrellacorp.atlassian.net"email:"chriscummer@me.com"enabled:truejql:"issueType = Story"position:top:4left:1height:1width:2project:["ProjectA","ProjectB"]refreshInterval:900username:"chris.cummer" Attributes colors.rows.even Define the foreground color for even-numbered rows. Values: Any X11 color name.
@@ -189,9 +278,9 @@ email The email address associated with your Jira account.
https://wtfutil.com/posts/modules/gcal/Displays your upcoming Google calendar events.
Not: Setting up access to Google Calendars for Go is a bit unobvious. Check out Google’s Go Quickstart first and if you have problems, then take a look at this comment by WesleydeSouza which offers a slightly different approach.
-Source Code wtf/gcal/ Required ENV Variables Key: WTF_GOOGLE_CAL_CLIENT_ID Value: Your Google API client ID.
-Key: WTF_GOOGLE_CAL_CLIENT_SECRET Value: Your Google API client secret.
-Keyboard Commands None.
+Source Code wtf/gcal/ Required ENV Variables None.
+Keyboard Commands None.
+Configuration gcal:colors:title:"red"description:"lightblue"highlights:-['1on1|1\/11','green']-['apple|google|aws','blue']-['interview|meet','magenta']-['lunch','yellow']past:"gray"conflictIcon:"🚨"currentIcon:"💥"displayResponseStatus:trueemail:"chriscummer@me.com"enabled:trueeventCount:12position:top:0left:0height:4width:1refreshInterval:300secretFile:"~/.wtf/gcal/client_secret.json"withLocation:true Attributes colors.title The default colour for calendar event titles. Values: Any X11 color name.
diff --git a/docs/posts/configuration/attributes/index.html b/docs/posts/configuration/attributes/index.html
index a5354fce..a7513494 100644
--- a/docs/posts/configuration/attributes/index.html
+++ b/docs/posts/configuration/attributes/index.html
@@ -65,18 +65,24 @@
Bittrex
diff --git a/docs/posts/index.xml b/docs/posts/index.xml
index 8cf746a8..f35cc613 100644
--- a/docs/posts/index.xml
+++ b/docs/posts/index.xml
@@ -6,11 +6,103 @@
Recent content in Posts on WTF - A Terminal DashboardHugo -- gohugo.ioen-us
- Mon, 04 Jun 2018 20:06:40 -0700
+ Wed, 13 Jun 2018 09:29:59 -0700
+
+ Blockfolio
+ https://wtfutil.com/posts/modules/cryptocurrencies/blockfolio/
+ Wed, 13 Jun 2018 09:29:59 -0700
+
+ https://wtfutil.com/posts/modules/cryptocurrencies/blockfolio/
+ Added in v0.0.8.
+Display your Blockfolio crypto holdings.
+Source wtf/blockfolio/ Required ENV Variables None.
+Keyboard Commands None.
+Configuration blockfolio:colors:name:bluegrows:greendrop:reddevice_token:"device token"displayHoldings:trueenabled:trueposition:top:3left:1width:1height:1refreshInterval:400 Attributes colors.name Values: Any X11 color name.
+colors.grows Values: Any X11 color name.
+colors.drop Values: Any X11 color name.
+device_token Value: See this gist for details on how to get your Blockfolio API token.
+displayHoldings enabled Determines whether or not this module is executed and if its data displayed onscreen.
+
+
+
+ IP-API
+ https://wtfutil.com/posts/modules/ipapi/
+ Sun, 10 Jun 2018 19:41:52 -0400
+
+ https://wtfutil.com/posts/modules/ipapi/
+ Added in v0.0.7.
+Displays your current IP address information, from IP-APIcom.
+Note: IP-API.com has a free-plan rate limit of 120 requests per minute.
+Source Code wtf/ipapi/ Required ENV Variables None.
+Keyboard Commands None.
+Configuration ipinfo:colors:name:redvalue:whiteenabled:trueposition:top:1left:2height:1width:1refreshInterval:150 Attributes colors.name The default colour for the row names. Values: Any X11 color name.
+colors.value The default colour for the row values. Values: Any X11 color name.
+enabled Determines whether or not this module is executed and if its data displayed onscreen.
+
+
+
+ CircleCI
+ https://wtfutil.com/posts/modules/circleci/
+ Sun, 10 Jun 2018 19:26:08 -0400
+
+ https://wtfutil.com/posts/modules/circleci/
+ Added in v0.0.7.
+Displays build information for your CircleCI account.
+Source Code wtf/circleci/ Required ENV Variables Key: WTF_CIRCLE_API_KEY Value: Your CircleCI API token.
+Keyboard Commands None.
+Configuration circleci:enabled:trueposition:top:4left:1height:1width:2refreshInterval:900 Attributes enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
+position Defines where in the grid this module’s widget will be displayed. refreshInterval How often, in seconds, this module will update its data.
+
+
+
+ Google Spreadsheets
+ https://wtfutil.com/posts/modules/gspreadsheet/
+ Sun, 10 Jun 2018 18:26:26 -0400
+
+ https://wtfutil.com/posts/modules/gspreadsheet/
+ Added in v0.0.7.
+Display information from cells in a Google Spreadsheet.
+wtf/gspreadsheets/ Required ENV Variables None.
+Keyboard Commands None.
+Configuration gspreadsheets:colors:values:"green"cells:names:-"Cell 1 name"-"Cell 2 name"addresses:-"A1"-"A2"enabled:trueposition:top:0left:0width:1height:1refreshInterval:"300"secretFile:"~/.wtf/gspreadsheets/client_secret.json"sheetId:"id_of_google_spreadsheet" Attributes colors.values The color to display the cell values in. Values: Any X11 color name.
+cells.names cells.addresses enabled Whether or not this module is executed and if its data displayed onscreen. Values: true, false.
+position Where in the grid this module’s widget will be displayed.
+
+
+
+ Modules: Jenkins
+ https://wtfutil.com/posts/modules/jenkins/
+ Sat, 09 Jun 2018 20:53:35 -0700
+
+ https://wtfutil.com/posts/modules/jenkins/
+ Added in v0.0.8.
+Displays jenkins status of given builds in a project or view
+Source Code wtf/jenkins/ Required ENV Variables Key: WTF_JENKINS_API_KEY Value: Your Jenkins API key.
+Keyboard Commands None.
+Configuration jenkins:enabled:trueposition:top:2left:3height:2width:3refreshInterval:300url:"https://jenkins.domain.com/jenkins/view_url"user:"username" Attributes enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
+position Defines where in the grid this module’s widget will be displayed.
+refreshInterval How often, in seconds, this module will update its data.
+
+
+
+ Gitlab
+ https://wtfutil.com/posts/modules/gitlab/
+ Fri, 08 Jun 2018 13:14:11 -0700
+
+ https://wtfutil.com/posts/modules/gitlab/
+ Added in v0.0.8.
+Displays information about your projects hosted on Gitlab:
+Open Approval Requests All open merge requests that are requesting your approval.
+Open Merge Requests All open merge requests created by you.
+Source Code wtf/gitlab/ Required ENV Variables Key: WTF_GITLAB_TOKEN Action: A Gitlab personal access token. Requires at least api access.
+Keyboard Commands Key: / Action: Open/close the widget’s help window.
+Key: h Action: Show the previous project.
+
+
Bittrex
https://wtfutil.com/posts/modules/cryptocurrencies/bittrex/
@@ -19,7 +111,7 @@
https://wtfutil.com/posts/modules/cryptocurrencies/bittrex/Added in v0.0.5.
Get the last 24 hour summary of cryptocurrencies market using Bittrex.
-Source Code wtf/cryptoexchanges/bittrex/ Required ENV Vars None.
+Source Code wtf/cryptoexchanges/bittrex/ Required ENV Variables None.
Keyboard Commands None.
Configuration bittrex:enabled:trueposition:top:1left:2height:3width:1refreshInterval:5summary:BTC:displayName:Bitcoinmarket:-LTC-ETHcolors:base:name:orangedisplayName:redmarket:name:redfield:whitevalue:green Attributes colors.base.name Values: Any X11 color name.
colors.base.dispayName Values: Any X11 color name.
@@ -53,11 +145,10 @@ position Defines where in the grid this module’s widget will be displa
Sat, 02 Jun 2018 05:32:04 -0700https://wtfutil.com/posts/modules/prettyweather/
- 🔬 Experimental
-Displays weather information as ASCII art from Wttr.in.
+ Displays weather information as ASCII art from Wttr.in.
Source Code wtf/prettyweather/ Required ENV Variables None.
Keyboard Commands None.
-Configuration prettyweather:enabled:truecity:"tehran"position:top:3left:5height:1width:1refreshInterval:300unit:"c" Attributes city Optional. It will grab the current location from your IP address if omitted.
+Configuration prettyweather:enabled:truecity:"tehran"position:top:3left:5height:1width:1refreshInterval:300unit:"c"view:0 Attributes city Optional. It will grab the current location from your IP address if omitted.
Values: The name of any city supported by Wttr.in.
enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
position Defines where in the grid this module’s widget will be displayed.
@@ -70,12 +161,12 @@ position Defines where in the grid this module’s widget will be displa
https://wtfutil.com/posts/modules/ipinfo/Displays your current IP address information, from ipinfo.io.
+Note: IPInfo.io has a free-plan rate limit of 1000 requests per day.
Source Code wtf/ipinfo/ Required ENV Variables None.
Keyboard Commands None.
-Configuration ipinfo:colors:name:redvalue:whiteenabled:trueposition:top:1left:2height:1width:1refreshInterval:15 Attributes colors.name The default colour for the row names. Values: Any X11 color name.
+Configuration ipinfo:colors:name:redvalue:whiteenabled:trueposition:top:1left:2height:1width:1refreshInterval:150 Attributes colors.name The default colour for the row names. Values: Any X11 color name.
colors.value The default colour for the row values. Values: Any X11 color name.
-enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
-position Defines where in the grid this module’s widget will be displayed.
+enabled Determines whether or not this module is executed and if its data displayed onscreen.
@@ -175,10 +266,8 @@ Key: j Action: Select the next item in the list.
Displays all Jira issues assigned to you for the specified project.
Source Code wtf/jira/ Required ENV Variables Key: WTF_JIRA_API_KEY Value: Your Jira API key.
Keyboard Commands None.
-Configuration jira:colors:rows:even:"lightblue"odd:"white"domain:"https://umbrellacorp.atlassian.net"email:"chriscummer@me.com"enabled:truejql:"issueType = Story"position:top:4left:1height:1width:2project:"JIRA"refreshInterval:900username:"chris.cummer" Attributes colors.rows.even Define the foreground color for even-numbered rows. Values: Any X11 color name.
-colors.rows.odd Define the foreground color for odd-numbered rows. Values: Any X11 color name.
-domain Your Jira corporate domain. Values: A valid URI.
-email The email address associated with your Jira account.
+Configuration Single Jira Project jira:colors:rows:even:"lightblue"odd:"white"domain:"https://umbrellacorp.atlassian.net"email:"chriscummer@me.com"enabled:truejql:"issueType = Story"position:top:4left:1height:1width:2project:"ProjectA"refreshInterval:900username:"chris.cummer" Multiple Jira Projects If you want to monitor multiple Jira projects, use the following configuration (note the difference in project):
+jira:colors:rows:even:"lightblue"odd:"white"domain:"https://umbrellacorp.atlassian.net"email:"chriscummer@me.com"enabled:truejql:"issueType = Story"position:top:4left:1height:1width:2project:["ProjectA","ProjectB"]refreshInterval:900username:"chris.cummer" Attributes colors.rows.even Define the foreground color for even-numbered rows. Values: Any X11 color name.
@@ -189,9 +278,9 @@ email The email address associated with your Jira account.
https://wtfutil.com/posts/modules/gcal/Displays your upcoming Google calendar events.
Not: Setting up access to Google Calendars for Go is a bit unobvious. Check out Google’s Go Quickstart first and if you have problems, then take a look at this comment by WesleydeSouza which offers a slightly different approach.
-Source Code wtf/gcal/ Required ENV Variables Key: WTF_GOOGLE_CAL_CLIENT_ID Value: Your Google API client ID.
-Key: WTF_GOOGLE_CAL_CLIENT_SECRET Value: Your Google API client secret.
-Keyboard Commands None.
+Source Code wtf/gcal/ Required ENV Variables None.
+Keyboard Commands None.
+Configuration gcal:colors:title:"red"description:"lightblue"highlights:-['1on1|1\/11','green']-['apple|google|aws','blue']-['interview|meet','magenta']-['lunch','yellow']past:"gray"conflictIcon:"🚨"currentIcon:"💥"displayResponseStatus:trueemail:"chriscummer@me.com"enabled:trueeventCount:12position:top:0left:0height:4width:1refreshInterval:300secretFile:"~/.wtf/gcal/client_secret.json"withLocation:true Attributes colors.title The default colour for calendar event titles. Values: Any X11 color name.
diff --git a/docs/posts/installation/index.html b/docs/posts/installation/index.html
index 1237a416..7f06e343 100644
--- a/docs/posts/installation/index.html
+++ b/docs/posts/installation/index.html
@@ -65,18 +65,24 @@
enabled
+Determines whether or not this module is executed and if its data displayed onscreen.
+Values: true, false.
+
+
position
+Defines where in the grid this module’s widget will be displayed.
+
+
refreshInterval
+How often, in seconds, this module will update its data.
+Values: A positive integer, 0..n.
+
+
domain
+Optional. Your Gitlab corporate domain.
+Values: A valid URI.
+
+
projects
+A list of key/value pairs each describing a Gitlab project to fetch data
+for.
+Key: The name of the project.
+Value: The namespace of the project.
+
+
username
+Your Gitlab username. Used to figure out which requests require your approval