keel

module
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2026 License: Apache-2.0

README

Keel

Small shared Go libraries for self-hosted Go tools: secrets, subprocesses, Docker hosts, SSH keys, Proxmox and notifications. Domain-free plumbing only.

Package Purpose
secret Concurrency-safe redaction set so secrets never reach logs, errors or API responses
runner Runs external commands with pipefail semantics, SIGPIPE handling, cancellation, and redacted stderr tails; no shell is ever invoked
dockerhost Models local, SSH and TLS Docker daemons and builds docker CLI commands carrying each host's connection flags; compose project and volume listing
sshkey Validates unencrypted SSH private keys for unattended use
proxmox Talks to one Proxmox VE host's REST API with an API token: lists VMs and LXCs and reads or changes the Proxmox firewall
notify Notification channels (ntfy, generic webhook, Discord, Slack, email) and a per-service Notifier; channel secrets are never logged

See CHANGELOG for the history of each package.

Install

go get github.com/springledev/keel@latest

Import only the packages you need:

import (
    "github.com/springledev/keel/proxmox"
    "github.com/springledev/keel/runner"
    "github.com/springledev/keel/secret"
)

Developing keel alongside a consumer: from the consumer's checkout, run go work init . ../keel to build it against your local copy of keel. The go.work file is gitignored.

Support the project

Support the project: https://github.com/sponsors/springledev

License

Apache-2.0. See LICENSE.

Directories

Path Synopsis
Package dockerhost models the Docker daemons a program talks to: the local socket, a remote daemon over SSH, or a remote daemon over TCP with TLS client certificates.
Package dockerhost models the Docker daemons a program talks to: the local socket, a remote daemon over SSH, or a remote daemon over TCP with TLS client certificates.
Package notify is the domain-free notification half shared by programs that need alerts: the Channel interface, a per-service Notifier, and ntfy, generic webhook, Discord, Slack and email channels.
Package notify is the domain-free notification half shared by programs that need alerts: the Channel interface, a per-service Notifier, and ntfy, generic webhook, Discord, Slack and email channels.
Package proxmox talks to one Proxmox VE host's REST API: callers authenticate with an API token — never SSH — list the host's guests (VMs and LXCs) and read or change the Proxmox firewall.
Package proxmox talks to one Proxmox VE host's REST API: callers authenticate with an API token — never SSH — list the host's guests (VMs and LXCs) and read or change the Proxmox firewall.
Package runner executes external commands — docker, pg_dump, rsync — with the subprocess semantics that long-running programs need:
Package runner executes external commands — docker, pg_dump, rsync — with the subprocess semantics that long-running programs need:
Package secret holds the one list of secret strings (repository passwords, notification URLs, API tokens) that must never reach a log line, an error message, or an API response (secrets must never leak).
Package secret holds the one list of secret strings (repository passwords, notification URLs, API tokens) that must never reach a log line, an error message, or an API response (secrets must never leak).
Package sshkey validates SSH private keys that a program will use unattended.
Package sshkey validates SSH private keys that a program will use unattended.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL