Hadi 624a723b16 init
Signed-off-by: Hadi <[email protected]>
2026-08-27 00:05:08 +02:00
2026-08-27 00:05:08 +02:00
2026-08-27 00:05:08 +02:00
2026-08-27 00:05:08 +02:00
2026-08-27 00:05:08 +02:00
2026-08-27 00:05:08 +02:00
2026-08-27 00:05:08 +02:00
2026-08-27 00:05:08 +02:00
2026-08-27 00:05:08 +02:00
2026-08-27 00:05:08 +02:00

 ____        __             _ _      ____              _       _____ _   _ ___
|  _ \  ___ / _| __ _ _   _| | |_   / ___|_ __ ___  __| |___  |_   _| | | |_ _|
| | | |/ _ \ |_ / _` | | | | | __| | |   | '__/ _ \/ _` / __|   | | | | | || |
| |_| |  __/  _| (_| | |_| | | |_  | |___| | |  __/ (_| \__ \   | | | |_| || |
|____/ \___|_|  \__,_|\__,_|_|\__|  \____|_|  \___|\__,_|___/   |_|  \___/|___|

GitHub Stars Release CI Ko-fi

Default Creds TUI

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

Default-creds-tui demo

Built with bubbletea & Golang!

Colors and styles can be customized using ilovetui, which applies theme 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 [flags]

Flags:
      --add-default-config   copy the default config file to the config path and exit
  -c, --config string        path to config file (default "~/.config/default-creds-tui/config.yaml")
  -m, --mode string          credential source: auto, online or local (overrides the config file)
      --no-colors            disable colored output (used with --search)
      --print                pressing enter prints the selected result to stdout and exits, instead of copying the password
  -s, --search string        search from the CLI and print results directly, without launching the TUI
  -v, --version              version for default-creds-tui

Credentials come from one of three sources, controlled by --mode (or app.mode in the config file):

  • 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.

Run default-creds-tui --add-default-config to write out an editable config file with all options and keybindings.

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

--print (or app.print_on_enter: true in the config) turns enter itself into a picker: it prints the selected result to stdout and exits with status 0, instead of copying the password. Regardless of that setting, P always prints the selected result and quits.


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