Skip to content

Codesamp-Rohan/vault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VAULT

A Peer-to-Peer Password and Note Manager built using React & Autopass

No servers. No cloud. No central authority. Just pure P2P encryption.


Overview

VAULT is a decentralized password and note manager built using the Holepunch stack.
It stores and synchronizes encrypted data peer-to-peer using Autopass, without relying on any centralised server.

Unlike traditional password managers:

  • No central database
  • No backend server
  • No cloud dependency
  • No account system

Instead:

  • Local-first
  • Encrypted
  • Peer-to-peer synced
  • Seed-based access

Released Pear App Link

pear://aejuckgdnqgzki64md99npnf1nhwhnkybotd9s351t7ishzqu91y

VAULT IMAGES

Screenshot 2026-02-24 at 22 46 43 Screenshot 2026-02-24 at 22 47 15 Screenshot 2026-02-24 at 22 47 22 Screenshot 2026-02-24 at 22 48 27 Screenshot 2026-02-24 at 22 48 33

Tech Stack

  • ReactJS (Frontend)
  • Autopass (P2P data layer)
  • Corestore (Encrypted local storage)
  • Node Crypto (Secure seed generation)
  • Zustand (State management)

Why VAULT?

Traditional password and note managers rely on centralized infrastructure.
VAULT explores a different idea:

What if your password and note manager was entirely peer-to-peer?

This project demonstrates:

  • Understanding of decentralized architectures
  • Autopass integration
  • Seed-based identity systems
  • Secure local-first storage
  • Clean and modular React structure

Architecture Diagram

vaultPass_workflow

Storing notes in JSON format

notes_json

Flow Diagram

user_flow add_pass_task_flow adding_flow notes_block_ui


UI Philosophy

Minimal. Secure. Focused.

The interface is designed to:

  • Feel clean and distraction-free
  • Emphasize privacy-first interaction
  • Maintain performance and responsiveness
  • Keep security clear but non-intrusive

UI Concepts & Drawings

Neu_UI Components_UI notes_ui


Core Features

  • Add passwords or notes
  • Edit passwords
  • Delete passwords or notes
  • Copy to clipboard
  • Search functionality
  • Seed-based vault access
  • Peer-to-peer synchronization

Project Structure

src/
 ├── components/
 ├── lib/
 │    └── generatePassword.js
 │    └── vaultPass.js
 ├── pages/
 ├── store/
 └── utils/

Key Modules

  • vaultPass.js → Autopass abstraction layer
  • store/ → Zustand global state management
  • components/ → Reusable UI components
  • utils/ → Helper utilities

Security Model

  • Seed-based identity
  • No centralized servers
  • No cloud storage
  • Encrypted local persistence
  • Cryptographically secure randomness
  • No plaintext remote transmission

Installation

git clone https://github.com/codesamp-rohan/holepunch_task.git
cd holepunch_task
npm install
npm run build
pear run --dev .

Future Improvements

  • Master password lock screen
  • Encrypted export/import
  • Peer connection indicator
  • Notes

Author

Rohan Chaudhary

Built as part of a Holepunch Senior Frontend Engineer Task.


About

A Peer-to-Peer Password and Note Manager built using React & Autopass

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors