DigitalOcean

DigitalOcean module displays a list of your DigitalOcean droplets and Kubernetes clusters and allows you to interact with them in these ways:

  • Destroy a droplet
  • Enable private networking on a droplet
  • Reboot a droplet
  • Shut down a droplet
  • Show info about a droplet

Configuration


digitalocean:
  apiKey: "p0d13*********************************************c3"
  enabled: true
  position:
    top: 4
    left: 2
    width: 2
    height: 2
  refreshInterval: 15
  title: "🦈 DigitalOcean"

Screenshots

digitalocean screenshot digitalocean screenshot

Attributes

Name Description Value
apiKey Your DigitalOcean API token. Your API key or leave it empty to use the WTF_DIGITALOCEAN_API_KEY environment variable.
border Optional Whether or not to draw this widget with a border. Default: true. true, false
enabled Optional Whether or not this module is executed and if its data displayed onscreen. Default: false. true, false
position Defines where in the grid this module's widget will be displayed.
refreshInterval Optional How often, in seconds, this module will update its data. Default: 300. Any positive integer
title Optional The title to display in the widget's onscreen box.

Keyboard Controls

Key Action
`/` Open/close the widget's help modal
`?` Displays information about a droplet
`[esc]` Close the modal dialog
`[return]` Display information about a droplet
`b` Reboot a droplet
`j` Select the next item in the list
`k` Select the previous item in the list
`p` Enable private networking on a droplet
`s` Shut down a droplet
`u` Clear selection
`↓` Select the next item in the list
`↑` Select the previous item in the list
`Ctrl-d` Delete the selected item

Source Code

https://github.com/wtfutil/wtf/tree/master/modules/digitalocean/