Skip to content

Dogebox-WG/pups

Repository files navigation

Dogebox Logo

This repository contains DogeOrg maintained pups for the Dogebox

Caution

None of these pups have stable releases yet. Please only use them for testing. They may break when upgrading your Dogebox while we sort out stable interfaces.

Pups

Configurable settings

Pups can expose end-user settings through the config.sections array in their manifest. Each field only needs a name, label, type, and an optional default. Supported field types:

  • text – plain text input
  • password – password/secret input
  • number – numeric input (supports min, max, step)
  • toggle – toggle switch
  • email – email input with validation
  • textarea – multi-line text input
  • select – dropdown selection (requires options)
  • checkbox – checkbox input
  • radio – radio button group (requires options)
  • date – date picker
  • range – slider input (supports min, max, step)
  • color – color picker

Example (from the Core RPC pup):

"config": {
  "sections": [
    {
      "name": "rpc",
      "label": "RPC Authentication",
      "fields": [
        { "name": "RPC_USERNAME", "label": "RPC Username", "type": "text", "required": true },
        { "name": "RPC_PASSWORD", "label": "RPC Password", "type": "password", "required": true }
      ]
    }
  ]
}

Values are injected into the container as environment variables using the field name, making it easy for run scripts to consume them.

About

Dogecoin Foundation maintained Dogebox pups

Topics

Resources

License

Stars

Watchers

Forks

Contributors