How sansyourways/sans_password_manager works
SPM is a local-first password manager whose shared Python core protects and mutates the encrypted vault. The primary workflow is to unlock locally, retrieve a domain-bound credential, and fill it through the CLI/dashboard or browser extension; browser requests pass through a native-messaging host. The README also documents recovery, import/export, sync, plugins, automation scopes, and dashboard features. Those unsampled capabilities are represented at their supported source-directory level; their internal links are omitted where excerpts do not establish callers.
Main entry points: spm_core.py Vault Operations · background.js Extension Coordinator · content.js Page Detection and Capture · spm_web_server.py Web Dashboard
Components 22
Vault Core
- Vault Operations
src/spm_core.py - Encrypted Vault
User Interfaces
- CLI and TUI
src/spm.sh.in - Web Dashboard
src/spm_web_server.py - Search and Organization
src - Dashboard Languages
locales
Browser Extension
- Page Detection and Capture
browser-extension-universal/content.js - Extension Coordinator
browser-extension-universal/background.js - Account Picker
browser-extension-universal/menu.js - Extension Popup
browser-extension-universal/popup.js - Form Fill and Generation
browser-extension-universal/fill.js - Native Messaging Host
browser-extension-universal/native_host.py
Security and Recovery
- History and Backups
src/spm_core.py - Recovery and Shares
src/spm_core.py - Security Keys
src/spm_core.py
Data and Extensions
- Import and Export
src - Encrypted Sync
src - Plugin SDK
src - Secret Scopes and Run
src
Other components
- User
- Breach Review API
- Browser Page
Connections 25
- User → CLI and TUI: uses
README.md - User → Web Dashboard: uses
README.md - User → Extension Popup: uses
README.md - CLI and TUI → Vault Operations: invokes
README.md - Web Dashboard → Vault Operations: imports
src/spm_core.py - Vault Operations → Encrypted Vault: reads and writes
src/spm_core.py - Vault Operations → History and Backups: archives and backs up
src/spm_core.py - Vault Operations → Recovery and Shares: recovers
src/spm_core.py - Vault Operations → Security Keys: uses
src/spm_core.py - Vault Operations → Breach Review API: checks hashes
README.md - Browser Page → Page Detection and Capture: hosts scripts
browser-extension-universal/content.js - Page Detection and Capture → Extension Coordinator: messages
browser-extension-universal/content.js - Extension Coordinator → Native Messaging Host: requests
browser-extension-universal/background.js - Native Messaging Host → Vault Operations: runs bridge commands
browser-extension-universal/native_host.py - Extension Coordinator → Account Picker: loads account list
browser-extension-universal/menu.js - Extension Coordinator → Page Detection and Capture: requests credential fill
browser-extension-universal/background.js - Page Detection and Capture → Form Fill and Generation: fills fields
- Extension Popup → Extension Coordinator: requests session
browser-extension-universal/popup.js - Extension Popup → Form Fill and Generation: injects fill function
browser-extension-universal/popup.js - User → Import and Export: imports or exports
README.md - User → Encrypted Sync: configures transport
README.md - User → Plugin SDK: consents to plugins
README.md - User → Secret Scopes and Run: runs scoped secrets
README.md - User → Search and Organization: searches and filters
README.md - Web Dashboard → Dashboard Languages: supports languages