Skip to main content

Notion Vault CLI

Notion Vault CLI is a local, encrypted password vault you talk to in plain English.

It stores passwords, usernames, and small private notes on your machine only. There is no cloud sync, no browser extension, and no account setup. You open the vault with one master password, then ask for what you need with commands like:

save github in personal as ali
what's my github password in personal
list all
remember my uni email is ali@student.edu

Features

  • Local encrypted storage using cryptography
  • Natural-language style CLI commands
  • Folder-based organization such as Personal, Education, Business, or custom folders
  • Multi-word folder and service names such as borlo labs or notion vault
  • Password generation with clipboard auto-clear
  • Search, move, delete, and quick listing commands
  • Small fact memory for things like emails, IDs, or Wi-Fi labels
  • Rich terminal panels and tables for a more interactive CLI experience

Requirements

  • Python 3.14+
  • uv

Install

uv sync

Run

uv run notion-vault

This project also installs:

uv run notion-vault-cli

First Run

On first launch, Notion Vault CLI will ask you to create a master password.

It stores local files in your home directory:

  • ~/.notion_vault.db for new vaults
  • ~/.notion_vault.salt for the key-derivation salt
  • ~/.notion_vault.history for prompt history

It also recognizes the older legacy files:

  • ~/.pma_vault.db
  • ~/.pma_salt
  • ~/.pma_history

If those older files already exist, the CLI will continue using them.

Command Guide

Save a login

save github in personal as ali
save notion vault in borlo labs as ali.work
add figma to client work

If you leave the password blank when prompted, the CLI generates one for you.

Retrieve a password

what's my github password in personal
show github
get notion vault from borlo labs

List saved entries

list all
list personal
list borlo labs
show passwords
find github
search for aws

Move between folders

move aws from business to client work

Delete an entry

delete github from personal

Generate a password

generate password
generate password 24

Copy a password to clipboard

copy github
copy my github password from personal

If clipboard support is available, the copied password is cleared after 15 seconds.

Store and recall facts

remember my uni email is ali@student.edu
what is my uni email
recall my uni email

Built-in utility views

help
folders
summary
quit

Folder Behavior

Notion Vault starts with:

  • Personal
  • Education
  • Business

You can create a new folder simply by saving something into it:

save figma in borlo labs as ali

That creates Borlo Labs automatically if it does not already exist.

Security Notes

  • Passwords are encrypted before being stored in SQLite
  • The salt is stored separately in your home directory
  • Everything runs locally on your machine
  • Clipboard clearing is best-effort and depends on system clipboard support
  • If you lose your master password, there is no recovery flow in this version

Project Layout

Development

Install dependencies:

uv sync

Run the module directly:

uv run python notion_vault_cli.py

Check syntax:

uv run python -m py_compile notion_vault_cli.py

Current Scope

This is a single-file CLI application. It is intentionally simple and currently focuses on:

  • local vault storage
  • natural-language commands
  • terminal interaction

It does not currently include:

  • cloud sync
  • browser autofill
  • multi-user accounts
  • export/import workflows
  • a GUI

Metadata

Release files for notion-vault-cli 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for notion-vault-cli 0.1.0
File Size Uploaded Provenance Actions
notion_vault_cli-0.1.0.tar.gz 11.2 kB Without provenance Details for notion_vault_cli-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for notion-vault-cli 0.1.0
File Interpreter ABI Platform Actions
notion_vault_cli-0.1.0-py3-none-any.whl Python 3 none any Details for notion_vault_cli-0.1.0-py3-none-any.whl

Total release size: 20.9 kB

Release files / notion_vault_cli-0.1.0.tar.gz

Download URL notion_vault_cli-0.1.0.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c1a2a236273abb039ca6aabe5ca9aa849efb81bef07845135399b7c4b30f5f2d
BLAKE2b-256 checksum
How to use checksums
fcba32a09ec7b9cb25c6825e4ad8ae90218b6b7687c46107c29de301ad0144b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / notion_vault_cli-0.1.0-py3-none-any.whl

Download URL notion_vault_cli-0.1.0-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
94c031517f539bcc595427c88753b468634c43155e5bdb5a8c3bfad69962ca6e
BLAKE2b-256 checksum
How to use checksums
07cb73c26afbc0011e365133b987b5f87e7c505a382a1b9f6f5d79f19cc38d6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Security for notion-vault-cli 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page