Skip to content

πŸ” Chrome extension to securely backup and restore browser cookies with AES-256 encryption. Never lose your login sessions again.

License

Notifications You must be signed in to change notification settings

Zendevve/cookie-vault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Cookie Vault Banner

Cookie Vault

Secure backup and restoration of your browser cookies for seamless migrations.

License: GPL v3 PRG: Gold Version Build

Features β€’ Background β€’ Getting Started β€’ Development β€’ Roadmap


✨ Features

Cookie Vault is a local-first Chrome extension designed for privacy-conscious users who need to migrate browser sessions between devices or browsers without re-authenticating.

  • πŸ”’ Military-Grade Encryption: Uses AES-256-GCM via the Web Crypto API. Your password never leaves your device.
  • πŸ“‚ Universal Formats:
    • Backup to encrypted .cv files.
    • Export to Netscape HTTP Cookie File format (compatible with wget, curl, yt-dlp).
    • Export to JSON for JDownloader.
  • πŸ›‘οΈ Zero Standing Privileges: Runs with minimal permissions (activeTab) and only requests broad access when you explicitly initiate a backup.
  • πŸͺ Legacy Support: Fully compatible with .ckz files from older cookie backup extensions.
  • ✈️ Offline Ready: Fully functional without an internet connection.

πŸ“– Background Story

Migrating to a new computer or switching browsers is often a painful process of logging into dozens of websites again. Existing tools were either outdated, closed-source, or required sending data to a cloud server.

Cookie Vault was built to solve this problem with a "Security First" philosophy. We believe your session data is sensitive and should never leave your control. By implementing Zero Standing Privileges and Local-First Architecture, we ensure that even if the extension were compromised, your data remains safe.


πŸš€ Getting Started

Prerequisites

  • Node.js 18+
  • npm 9+

Installation

  1. Clone the repository

    git clone https://github.com/Zendevve/cookie-vault.git
    cd cookie-vault
  2. Install dependencies

    npm install
  3. Build the extension

    npm run build
  4. Load in Chrome/Edge/Brave

    • Open chrome://extensions
    • Enable Developer mode
    • Click Load unpacked
    • Select the dist/ folder

πŸ“‚ What's Inside?

cookie-vault/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/       # React UI components
β”‚   β”œβ”€β”€ hooks/           # Custom React hooks
β”‚   β”œβ”€β”€ lib/             # Core logic (crypto, cookies)
β”‚   β”œβ”€β”€ assets/          # Static assets
β”‚   β”œβ”€β”€ App.tsx          # Main entry point
β”‚   └── manifest.json    # Extension manifest
β”œβ”€β”€ docs/                # Documentation & Assets
β”œβ”€β”€ .github/             # GitHub templates & workflows
└── dist/                # Production build artifacts

βš™οΈ Configuration

Cookie Vault works out of the box, but you can customize the build process:

Environment Variable Description
VITE_APP_VERSION Override the version number displayed in the UI

πŸ§ͺ Testing

We use Vitest for unit and integration testing.

# Run all tests
npm run test

# Run with coverage report
npm run test:coverage

Our test suite covers:

  • βœ… Crypto round-trip (Encryption/Decryption)
  • βœ… Partitioned cookie handling (CHIPS)
  • βœ… Legacy format imports
  • βœ… Password validation logic

πŸ—ΊοΈ Roadmap

We follow a structured roadmap located in docs/ROADMAP.md.

  • v1.0.0: Initial Release (AES-256 Encryption)
  • v1.1.0: Netscape & JDownloader Exports (Current)
  • v1.2.0: Firefox Support (Gecko)
  • v1.3.0: Encrypted Cloud Sync (Optional)

🀝 Contributing

Contributions are welcome! Please read our Contributing Guidelines and Code of Conduct.

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ›‘οΈ Security

For security vulnerabilities, please refer to our Security Policy.


πŸ“„ License

Distributed under the GNU GPLv3 License. See LICENSE for more information.


πŸ‘ Credits

See CREDITS.md for the full list of contributors and acknowledgement of open-source libraries used in this project.


Cookie Vault Icon

Made with ❀️ by Zendevve

About

πŸ” Chrome extension to securely backup and restore browser cookies with AES-256 encryption. Never lose your login sessions again.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 2

  •  
  •