{"id":18918553,"url":"https://github.com/daxartio/kdbx","last_synced_at":"2025-04-15T10:33:02.425Z","repository":{"id":196206080,"uuid":"695308613","full_name":"daxartio/kdbx","owner":"daxartio","description":"A secure hole for your passwords (Keepass CLI)","archived":false,"fork":false,"pushed_at":"2025-03-24T21:39:32.000Z","size":519,"stargazers_count":13,"open_issues_count":4,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-28T20:11:13.283Z","etag":null,"topics":["cli","command-line","command-line-tool","kdbx","keepass","otpauth","rust","totp"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/kdbx","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daxartio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-22T20:30:53.000Z","updated_at":"2025-03-14T13:06:29.000Z","dependencies_parsed_at":"2024-03-08T20:37:22.499Z","dependency_job_id":"3ed76594-2f08-4188-8f8e-d72b5d7c7bcc","html_url":"https://github.com/daxartio/kdbx","commit_stats":null,"previous_names":["daxartio/kdbx"],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daxartio%2Fkdbx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daxartio%2Fkdbx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daxartio%2Fkdbx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daxartio%2Fkdbx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daxartio","download_url":"https://codeload.github.com/daxartio/kdbx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249051872,"owners_count":21204910,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","command-line","command-line-tool","kdbx","keepass","otpauth","rust","totp"],"created_at":"2024-11-08T10:32:28.779Z","updated_at":"2025-04-15T10:33:02.418Z","avatar_url":"https://github.com/daxartio.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Keepass CLI\n\n[![Crates.io](https://img.shields.io/crates/v/kdbx.svg)](https://crates.io/crates/kdbx)\n\nA secure hole for your passwords (Keepass CLI)\n\n## Features\n\n- MacOS, Linux\n- master password is stored in OS's keyring\n\n## Install\n\n### Manual\n\n[Download](https://github.com/daxartio/kdbx/releases)\n\n### Cargo\n\n```\ncargo install kdbx\n```\n\n[cargo-binstall](https://github.com/cargo-bins/cargo-binstall)\n\n```\ncargo binstall kdbx\n```\n\n### Script\n\n```\ncurl -fsSL https://raw.githubusercontent.com/daxartio/kdbx/master/install.sh | sh -s\n```\n\n### Homebrew\n\n```\nbrew install daxartio/tap/kdbx\n```\n\n**Please take a backup of your database before updating the application.**\n\n## Usage\n\n### Examples\n\nDisplay selector and then print entry's info:\n\n```\nkdbx show\n```\n\nCopy password/totp if only single entry found otherwise display selector:\n\n```\nkdbx pwd /root/emails/gmail\nkdbx totp /root/emails/gmail\n```\n\nPrint password/totp to STDOUT:\n\n```\nkdbx pwd github.com | cat\nkdbx totp github.com | cat\n```\n\nRead password from STDIN:\n\n```\ncat /mnt/usb/key | kdbx pwd\n```\n\nGenerate shell completions:\n\n```\nkdbx completion --shell=zsh \u003e /usr/local/share/zsh/site-functions/_kdbx\n```\n\n```\nkdbx completion --shell=fish \u003e ~/.config/fish/completions/kdbx.fish\n```\n\n\u003c!-- CLI START --\u003e\n\n### commands\n\n```\nA secure hole for your passwords (Keepass CLI)\n\nUsage: kdbx \u003cCOMMAND\u003e\n\nCommands:\n  pwd         Copy password and clear clipboard after specified amount of time\n  totp        Copy totp\n  show        Display entry's info\n  add         Add new entry\n  init        Init new database\n  list        List all entries\n  completion  Outputs the completion file for given shell\n  help        Print this message or the help of the given subcommand(s)\n\nOptions:\n  -h, --help     Print help\n  -V, --version  Print version\n```\n\n### pwd\n\n```\nCopy password and clear clipboard after specified amount of time\n\nUsage: kdbx pwd [OPTIONS] --database \u003cDATABASE\u003e [ENTRY]\n\nArguments:\n  [ENTRY]\n\nOptions:\n  -t, --timeout \u003cTIMEOUT\u003e    Timeout in seconds before clearing the clipboard. 0 means no clean-up [default: 15]\n  -G, --no-group             Show entries without group(s)\n  -n, --no-interaction       Do not ask any interactive question\n  -v, --preview              Preview entry during picking\n  -f, --full-screen          Use all available screen for picker\n  -p, --use-keyring          Store password for the database in the OS's keyring\n  -P, --remove-key           Remove database's password from OS's keyring and exit\n  -d, --database \u003cDATABASE\u003e  KDBX file path [env: KDBX_DATABASE=]\n  -k, --key-file \u003cKEY_FILE\u003e  Path to the key file unlocking the database [env: KDBX_KEY_FILE=]\n  -h, --help                 Print help\n```\n\n### totp\n\n```\nCopy totp\n\nUsage: kdbx totp [OPTIONS] --database \u003cDATABASE\u003e [ENTRY]\n\nArguments:\n  [ENTRY]\n\nOptions:\n  -G, --no-group             Show entries without group(s)\n  -n, --no-interaction       Do not ask any interactive question\n  -v, --preview              Preview entry during picking\n      --raw                  Show the secret instead of code\n  -f, --full-screen          Use all available screen for picker\n  -p, --use-keyring          Store password for the database in the OS's keyring\n  -P, --remove-key           Remove database's password from OS's keyring and exit\n  -d, --database \u003cDATABASE\u003e  KDBX file path [env: KDBX_DATABASE=]\n  -k, --key-file \u003cKEY_FILE\u003e  Path to the key file unlocking the database [env: KDBX_KEY_FILE=]\n  -h, --help                 Print help\n```\n\n### show\n\n```\nDisplay entry's info\n\nUsage: kdbx show [OPTIONS] --database \u003cDATABASE\u003e [ENTRY]\n\nArguments:\n  [ENTRY]\n\nOptions:\n  -G, --no-group             Show entries without group(s)\n  -n, --no-interaction       Do not ask any interactive question\n  -v, --preview              Preview entry during picking\n  -f, --full-screen          Use all available screen for picker\n  -p, --use-keyring          Store password for the database in the OS's keyring\n  -P, --remove-key           Remove database's password from OS's keyring and exit\n  -d, --database \u003cDATABASE\u003e  KDBX file path [env: KDBX_DATABASE=]\n  -k, --key-file \u003cKEY_FILE\u003e  Path to the key file unlocking the database [env: KDBX_KEY_FILE=]\n  -h, --help                 Print help\n```\n\n### add\n\n```\nAdd new entry\n\nUsage: kdbx add [OPTIONS] --database \u003cDATABASE\u003e\n\nOptions:\n  -p, --use-keyring          Store password for the database in the OS's keyring\n  -P, --remove-key           Remove database's password from OS's keyring and exit\n  -d, --database \u003cDATABASE\u003e  KDBX file path [env: KDBX_DATABASE=]\n  -k, --key-file \u003cKEY_FILE\u003e  Path to the key file unlocking the database [env: KDBX_KEY_FILE=]\n  -h, --help                 Print help\n```\n\n### init\n\n```\nInit new database\n\nUsage: kdbx init [OPTIONS] --database \u003cDATABASE\u003e\n\nOptions:\n  -d, --database \u003cDATABASE\u003e  KDBX file path [env: KDBX_DATABASE=]\n  -k, --key-file \u003cKEY_FILE\u003e  Path to the key file unlocking the database [env: KDBX_KEY_FILE=]\n  -h, --help                 Print help\n```\n\n### list\n\n```\nList all entries\n\nUsage: kdbx list [OPTIONS] --database \u003cDATABASE\u003e\n\nOptions:\n  -G, --no-group             Show entries without group(s)\n  -p, --use-keyring          Store password for the database in the OS's keyring\n  -P, --remove-key           Remove database's password from OS's keyring and exit\n  -d, --database \u003cDATABASE\u003e  KDBX file path [env: KDBX_DATABASE=]\n  -k, --key-file \u003cKEY_FILE\u003e  Path to the key file unlocking the database [env: KDBX_KEY_FILE=]\n  -h, --help                 Print help\n```\n\n### completion\n\n```\nOutputs the completion file for given shell\n\nUsage: kdbx completion --shell \u003cSHELL\u003e\n\nOptions:\n  -s, --shell \u003cSHELL\u003e  [possible values: bash, elvish, fish, powershell, zsh]\n  -h, --help           Print help\n```\n\n\u003c!-- CLI END --\u003e\n\n## Configuration\n\nkdbx can be configured using environment variables.\n\n| name           | type   | default | options             |\n|----------------|--------|---------|---------------------|\n| KDBX_LOG       | string | 'error' | ...                 |\n| KDBX_LOG_STYLE | string | 'auto'  | auto, always, never |\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaxartio%2Fkdbx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaxartio%2Fkdbx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaxartio%2Fkdbx/lists"}