mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
More work on the new site theme
This commit is contained in:
76
_site/content/modules/gitter.md
Normal file
76
_site/content/modules/gitter.md
Normal file
@@ -0,0 +1,76 @@
|
||||
---
|
||||
title: "Gitter"
|
||||
date: 2018-08-02T12:36:08-04:00
|
||||
draft: false
|
||||
weight: 110
|
||||
---
|
||||
|
||||
Added in `v0.2.1`.
|
||||
|
||||
Displays chat messages from Gitter.
|
||||
|
||||
<img src="/imgs/modules/gitter.png" width="847" height="160" alt="gitter screenshot" />
|
||||
|
||||
## Source Code
|
||||
|
||||
```bash
|
||||
wtf/gitter/
|
||||
```
|
||||
|
||||
## Keyboard Commands
|
||||
|
||||
<span class="caption">Key:</span> `j` <br />
|
||||
<span class="caption">Action:</span> Select the next message in the list.
|
||||
|
||||
<span class="caption">Key:</span> `k` <br />
|
||||
<span class="caption">Action:</span> Select the previous message in the list.
|
||||
|
||||
<span class="caption">Key:</span> `r` <br />
|
||||
<span class="caption">Action:</span> Refresh the data.
|
||||
|
||||
<span class="caption">Key:</span> `↓` <br />
|
||||
<span class="caption">Action:</span> Select the next message in the list.
|
||||
|
||||
<span class="caption">Key:</span> `↑` <br />
|
||||
<span class="caption">Action:</span> Select the previous message in the list.
|
||||
|
||||
## Configuration
|
||||
|
||||
```yaml
|
||||
gitter:
|
||||
apiToken: "ab345546asdfasb465234fgjgh068f39a35c3e4139ee383f7"
|
||||
enabled: true
|
||||
numberOfMessages: 10
|
||||
position:
|
||||
top: 4
|
||||
left: 1
|
||||
height: 1
|
||||
width: 4
|
||||
roomUri: wtfutil/Lobby
|
||||
refreshInterval: 300
|
||||
```
|
||||
|
||||
### Attributes
|
||||
|
||||
`apiToken` <br />
|
||||
Value: Your <a href="https://developer.gitter.im/apps">Gitter</a>Personal Access Token.
|
||||
|
||||
`enabled` <br />
|
||||
Determines whether or not this module is executed and if its data displayed onscreen. <br />
|
||||
Values: `true`, `false`.
|
||||
|
||||
`numberOfMessages` <br />
|
||||
_Optional_ <br />
|
||||
Maximum number of _(newest)_ messages to be displayed. Default is `10`<br />
|
||||
|
||||
`position` <br />
|
||||
Defines where in the grid this module's widget will be displayed. <br />
|
||||
|
||||
`roomUri` <br />
|
||||
_Optional_ <br /
|
||||
URI of the room you would like to see the chat messages from. Default is `wtfutil/Lobby`<br />
|
||||
Values: `new`, `top`, `job`, `ask`
|
||||
|
||||
`refreshInterval` <br />
|
||||
How often, in seconds, this module will update its data. <br />
|
||||
Values: A positive integer, `0..n`.
|
||||
10
_site/content/modules/google/_index.md
Normal file
10
_site/content/modules/google/_index.md
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
title: "Google Apps"
|
||||
date: 2018-08-14T01:39:58-07:00
|
||||
draft: false
|
||||
weight: 120
|
||||
---
|
||||
|
||||
Google Apps.
|
||||
|
||||
{{% children %}}
|
||||
@@ -2,7 +2,7 @@
|
||||
title: "Google Calendar"
|
||||
date: 2018-05-10T08:25:33-07:00
|
||||
draft: false
|
||||
weight: 60
|
||||
weight: 10
|
||||
---
|
||||
|
||||
<img class="screenshot" src="/imgs/modules/gcal.png" width="320" height="389" alt="gcal screenshot" />
|
||||
@@ -2,7 +2,7 @@
|
||||
title: "Google Spreadsheets"
|
||||
date: 2018-06-10T18:26:26-04:00
|
||||
draft: false
|
||||
weight: 110
|
||||
weight: 50
|
||||
---
|
||||
|
||||
Added in `v0.0.7`.
|
||||
75
_site/content/modules/hackernews.md
Normal file
75
_site/content/modules/hackernews.md
Normal file
@@ -0,0 +1,75 @@
|
||||
---
|
||||
title: "Hacker News"
|
||||
date: 2018-08-02T16:36:08-04:00
|
||||
draft: false
|
||||
weight: 123
|
||||
---
|
||||
|
||||
Added in `v0.1.2`.
|
||||
|
||||
Displays stories from Hacker News.
|
||||
|
||||
<img src="/imgs/modules/hackernews.png" width="843" height="201" alt="hackernews screenshot" />
|
||||
|
||||
## Source Code
|
||||
|
||||
```bash
|
||||
wtf/hackernews/
|
||||
```
|
||||
|
||||
## Keyboard Commands
|
||||
|
||||
<span class="caption">Key:</span> `[return]` <br />
|
||||
<span class="caption">Action:</span> Open the selected story in the browser.
|
||||
|
||||
<span class="caption">Key:</span> `j` <br />
|
||||
<span class="caption">Action:</span> Select the next story in the list.
|
||||
|
||||
<span class="caption">Key:</span> `k` <br />
|
||||
<span class="caption">Action:</span> Select the previous story in the list.
|
||||
|
||||
<span class="caption">Key:</span> `r` <br />
|
||||
<span class="caption">Action:</span> Refresh the data.
|
||||
|
||||
<span class="caption">Key:</span> `↓` <br />
|
||||
<span class="caption">Action:</span> Select the next story in the list.
|
||||
|
||||
<span class="caption">Key:</span> `↑` <br />
|
||||
<span class="caption">Action:</span> Select the previous story in the list.
|
||||
|
||||
## Configuration
|
||||
|
||||
```yaml
|
||||
hackernews:
|
||||
enabled: true
|
||||
numberOfStories: 10
|
||||
position:
|
||||
top: 4
|
||||
left: 1
|
||||
height: 1
|
||||
width: 2
|
||||
storyType: top
|
||||
refreshInterval: 900
|
||||
```
|
||||
|
||||
### Attributes
|
||||
|
||||
`enabled` <br />
|
||||
Determines whether or not this module is executed and if its data displayed onscreen. <br />
|
||||
Values: `true`, `false`.
|
||||
|
||||
`numberOfStories` <br />
|
||||
_Optional_ <br />
|
||||
Defines number of stories to be displayed. Default is `10`<br />
|
||||
|
||||
`position` <br />
|
||||
Defines where in the grid this module's widget will be displayed. <br />
|
||||
|
||||
`storyType` <br />
|
||||
_Optional_ <br /
|
||||
Defines type of stories to be displayed. Default is `top` stories<br />
|
||||
Values: `new`, `top`, `job`, `ask`
|
||||
|
||||
`refreshInterval` <br />
|
||||
How often, in seconds, this module will update its data. <br />
|
||||
Values: A positive integer, `0..n`.
|
||||
@@ -1,9 +1,10 @@
|
||||
---
|
||||
title: "IP Address"
|
||||
title: "IP Addresses"
|
||||
date: 2018-05-07T18:04:58-07:00
|
||||
draft: false
|
||||
weight: 120
|
||||
weight: 125
|
||||
---
|
||||
|
||||
For all modules IP address-related.
|
||||
|
||||
{{% children %}}
|
||||
|
||||
@@ -6,3 +6,5 @@ weight: 270
|
||||
---
|
||||
|
||||
For all modules weather-related.
|
||||
|
||||
{{% children %}}
|
||||
|
||||
Reference in New Issue
Block a user