Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FLARE PaS

Modern, Offline-First Desktop Password & Secrets Manager

An uncompromising, local-first password manager engineered for privacy, speed, and cryptographic integrity.

License: MIT TypeScript Electron React Tests Platform


FLARE PaS App Interface

FeaturesArchitectureGetting StartedSecurityContributing


Overview

FLARE PaS (Passwords & Secrets) is designed around zero-knowledge principles. Your secrets never touch an external cloud server without your explicit command. All vaults are stored locally in an encrypted file format using industry-standard authenticated cryptographic primitives.

Features

  • Offline-First & Zero-Knowledge: Your master password and unencrypted credentials never leave your machine.
  • Battle-Tested Cryptography: Key derivation with Argon2id and authenticated encryption with XChaCha20-Poly1305 (powered by libsodium).
  • Quick Search (Spotlight-Style Launcher): Global hotkey (Cmd/Ctrl + Shift + Space) to quickly search, copy credentials, or generate TOTP tokens on the fly without opening the main window.
  • Built-in TOTP / 2FA Authenticator: Real-time two-factor authentication code generation with visual countdown and instant clipboard copy.
  • Entropy-Aware Password Generator: Configurable length, character sets, passphrase generation, and real-time strength scoring via zxcvbn.
  • Browser Extension Bridge: Secure, token-paired local WebSocket communication allowing autofill and vault access directly inside Chromium-based browsers.
  • Cross-Platform: Native desktop experience on macOS and Windows (Linux planned for future releases).

Architecture

┌────────────────────────────────────────────────────────┐
│                      FLARE PaS                         │
├──────────────────────┬─────────────────────────────────┤
│    Main Process      │  • Electron lifecycle & Window  │
│                      │  • Secure Vault Engine (Sodium) │
│                      │  • Local WebSocket Bridge Server│
│                      │  • Tray & Quick Search Overlay  │
├──────────────────────┼─────────────────────────────────┤
│    Preload Script    │  • Context-isolated IPC bridge  │
│                      │  • Safe API exposure            │
├──────────────────────┼─────────────────────────────────┤
│    Renderer Process  │  • React 19 UI & Tailwind CSS   │
│                      │  • Zustand State Management     │
│                      │  • Framer Motion Transitions    │
└──────────────────────┴─────────────────────────────────┘

Getting Started

Prerequisites

  • Node.js: v20.x or later (LTS recommended)
  • npm: v10.x or later (or pnpm / yarn)

Installation

Clone the repository and install all dependencies:

git clone https://github.com/tanislavivanov/PaS.git
cd PaS
npm install

Development

Run the Electron application in hot-reloading development mode:

npm run dev

Running Tests

Execute the unit and cryptographic test suite using Vitest:

npm test

Type Checking & Linting

# Type check both Node (main/preload) and Web (renderer)
npm run typecheck

# Lint codebase
npm run lint

# Format code with Prettier
npm run format

Building

Pack distributable native installers using Electron Builder:

# Build for macOS (DMG / Zip)
npm run build:mac

# Build for Windows (NSIS Installer / Portable)
npm run build:win

Repository Structure

├── .github/              # GitHub Actions CI & Issue/PR templates
├── assets/               # Repository showcase assets & screenshots
├── browser-extension/    # Companion browser extension (Chromium / Manifest V3)
├── build/                # Application packaging assets & entitlements
├── resources/            # Tray and runtime media resources
├── src/
│   ├── main/             # Electron main process & vault crypto engine
│   │   ├── ipc/          # IPC handlers (vault, clipboard, auth)
│   │   ├── vault-engine/ # libsodium encryption & file serialization
│   │   └── extension-server.ts # Local extension WebSocket bridge
│   ├── preload/          # Electron contextBridge preload scripts
│   └── renderer/         # React frontend (screens, components, stores)
├── electron-builder.yml  # Multi-platform packaging configuration
├── electron.vite.config.ts # Electron Vite bundler configuration
└── package.json

Security

Security is foundational to FLARE PaS. If you discover a vulnerability or security issue, please review our Security Policy before submitting a public issue.


Contributing

Contributions, bug reports, and feature proposals are welcome! Please check the Contributing Guidelines to get started.


License

This project is licensed under the MIT License.

About

Open-Source Password Manager with Chrome Browser Extension

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages