yaroshevych/bypass
关于
Modern, local-first KeePass (KDBX) password manager with terminal (TUI), offline web client, and AI agent integration
安全与隐私实测星标增长
- 24小时
- 正在收集历史
- 7天
- 正在收集历史
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Bypass Secrets Manager
Modern, local secrets manager.
Bypass TUI: use your KeePass vaults from the terminal. Enjoy a modern, beautiful interface where each detail is crafted: navigation, controls, keyboard shortcuts, and themes.
Bypass Web: KeePass client in a single HTML file, offline and portable in any desktop browser.
Bypass TUI
https://github.com/user-attachments/assets/5d8a0287-4225-40f2-9566-9e1c9029e827
Modern, responsive terminal interface which works equally well in both large windows and in small herdr panes. Full keyboard and mouse support. 10 themes supported, including dynamic Omarchy theme.
| Vesper theme with Compact layout | Latte theme with Command palette | Mocha theme with Settings dialog |
Install
Homebrew (default):
brew install yaroshevych/tap/bypass
Other options:
# Direct install from GitHub releases
curl -fsSL https://raw.githubusercontent.com/yaroshevych/bypass/main/install.sh | bash
#Same, installing into `~/bin`
curl -fsSL https://raw.githubusercontent.com/yaroshevych/bypass/main/install.sh | BINDIR="$HOME/bin" bash
# Build and install from source (requires Go 1.24+ and Make)
make install
#Same, installing into `~/.local/bin`
make install PREFIX="$HOME/.local"
Open a vault
bypass work.kdbx
Or run bypass to open or create a vault. The command menu (ctrl+p) provides
vault actions, themes, and layout settings. See the TUI reference for
the available actions.
Let agents run commands that need secrets
Keep Bypass open with the required vault unlocked. Create an .env.deploy file
containing the references needed by your deployment script:
DEPLOY_TOKEN=bypass://Deployment#password
The agent runs the script through Bypass:
bypass run --env-file .env.deploy -- ./scripts/deploy.sh
Approve the request in Bypass. The script receives DEPLOY_TOKEN in its
environment; the agent uses the reference without putting the token in its
prompt or command line.
Approve once or grant an agent identity access to those fields until the vault locks or Bypass exits. Review or clear these in-memory permissions in the TUI.
Agents can set BYPASS_IDENTITY_TOKEN to identify themselves across requests
and keep session permissions separate by agent.
Commands keep their terminal behavior and exit status. Locking a vault or closing Bypass does not interrupt a launched command.
CLI reference
bypass run [--identity-token NAME-SECRET] [--env-file FILE]... [--timeout DURATION] -- COMMAND [ARGS...]
| Option | Behavior |
|---|---|
--identity-token NAME-SECRET |
Identify an agent across requests. Prefer BYPASS_IDENTITY_TOKEN. |
--env-file FILE |
Load variables from a file. Repeat to combine files; later files win. |
--timeout DURATION |
Limit connection, approval, unlock, and secret delivery; does not limit command runtime. Default: 60s or config. |
--help |
Show command help. |
References can also come from the inherited environment. Files override inherited
variables. The default field is password; append #field to select another.
Commands and other received paths must not contain symlinks.
See the full command reference for reference syntax, environment rules, permissions, and timeout configuration.
Bypass Web
| Light theme | Dark theme |
Bypass Web is a KeePass password manager in a single HTML file that can be downloaded locally and opened in any modern browser. It lets you view and edit KeePass vaults. It is fully offline and private.
The web client opens vaults read-only by default. Turn off Read only in Menu and click Edit to change entry fields, then use Save vault as… to save a copy.
Build it with Node.js 22 or newer:
cd web
npm ci
npm run build
Open or share dist/index.html. The web guide covers its keyboard shortcuts, security, and verification. Download bypass-web.html from a GitHub release, or use the web CI workflow artifact.
Security
Bypass relies on open-source libraries gokeepasslib, kdbxweb, hash-wasm for vault encryption and saving rather than reimplementing them.
Bypass TUI: each vault write produces a backup; Bypass keeps the five newest across all vaults.
If saving would discard unsupported vault information, Bypass explains what will be lost and asks for confirmation. Approval applies only to that save, and the backup must succeed first.
See SECURITY.md and the web security notes for security assumptions and limitations.
License
MIT.
探索相关项目
加载中…