diff --git a/_site/content/posts/modules/twitter.md b/_site/content/posts/modules/twitter.md new file mode 100644 index 00000000..dc3e17de --- /dev/null +++ b/_site/content/posts/modules/twitter.md @@ -0,0 +1,48 @@ +--- +title: "Twitter" +date: 2018-07-31T20:21:37-07:00 +draft: false +--- + +Connects to the Twitter API and displays a single user's tweets +NOTE: This only works for single-application developer accounts for now + +## Source Code + +```bash +wtf/twitter/ +``` +## Required ENV Variables + +Key: `WTF_TWITTER_BEARER_TOKEN`
+Action: Your Twitter single-application Bearer Token
+ +## Keyboard Commands + +None. + +## Configuration + +```yaml +twitter: + enabled: true + position: + top: 0 + left: 1 + height: 1 + width: 1 + refreshInterval: 20000 +``` + +### Attributes + +`enabled`
+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: Any positive integer, `0..n`.