2026-11-12 17:20:31 +01:00
2026-11-12 17:20:31 +01:00
2026-11-12 17:20:31 +01:00
2026-11-12 17:20:31 +01:00
2026-08-27 00:05:08 +02:00
2026-11-12 17:20:31 +01:00
2026-11-12 17:20:31 +01:00
2026-08-27 00:05:08 +02:00
2026-11-12 17:20:31 +01:00

 █▀▄ █▀▀ █▀▀ ▄▀█ █ █ █   ▀█▀ ▄▄ █▀▀ █▀█ █▀▀ █▀▄ █▀▀ ▄▄ ▀█▀ █ █ █
 █▄▀ ██▄ █▀  █▀█ █▄█ █▄▄  █     █▄▄ █▀▄ ██▄ █▄▀ ▄▄█     █  █▄█ █

GitHub Stars Release CI

Default Creds TUI

Find default credentials for many devices and software, without leaving the terminal

Default-creds-tui demo

Built with bubbletea & Golang!

Colors, keybindings and styles can be customized using foam, which applies theme and keybinding changes across all compatible TUI applications at once.

Installation

Go install
go install github.com/anotherhadi/default-creds-tui@latest
Build from source
git clone https://github.com/anotherhadi/default-creds-tui
cd default-creds-tui
go build -o default-creds-tui ./cmd/default-creds-tui
NUR (Nix/NixOS)

Available via NUR, under the anotherhadi repo:

# configuration.nix / home.nix
environment.systemPackages = [ nur.repos.anotherhadi.default-creds-tui ];

Usage

default-creds-tui [options]

Options:
  -m, --mode string       credential source: auto, online or local
      --no-colors         disable colored output (used with --search)
      --print             pressing enter prints the selected result to stdout and exits, instead of copying the password
      --print-config      print the merged config, then exit
  -s, --search string     search from the CLI and print results directly, without launching the TUI
  -c, --set stringArray   set a config key: -c key=value (repeatable, comma-separated lists)
  -v, --version           show the version

Credentials come from two sources, controlled by --mode:

  • local: reads YAML files from ~/.cache/default-creds/data (e.g. a git clone of default-creds into ~/.cache/default-creds).
  • online: queries the default-creds.hadi.icu API.
  • auto (default): uses the local data directory if present, otherwise falls back to the API.

Configuration

default-creds-tui --print-config prints every setting, and internal/config/default.yaml lists the defaults. default-creds-tui reads, in order: ~/.config/foam/config.yaml (shared by every foam tool: theme, keybindings), ~/.config/default-creds-tui/config.yaml, DEFAULTCREDSTUI_* environment variables, then command-line flags.

Keybindings, theme and the command palette all follow foam's conventions; see the keys: section of the defaults above to rebind anything.

CLI mode

Pass --search to print results straight to the terminal instead of launching the TUI, handy for scripting or piping:

default-creds-tui --search "d-link"
default-creds-tui --search "cisco" --no-colors

S
Description
Find default credentials for many devices and software, without leaving the terminal
Readme MIT
448 KiB
Languages
Go 100%