A secure, local-first, web-based two-factor authenticator application.
- Encryption:
- Account Management: Easily add, edit, and delete accounts.
- Bulk Import: Supports importing accounts from a decrypted Bitwarden JSON export.
- Node.js (v16 or later is recommended)
- npm (comes with Node.js)
-
Clone the repository:
git clone https://github.com/serifpersia/vault2fa.git cd vault2fa -
Install dependencies: This project has a simple Node.js/Express backend to serve the files.
npm install
-
Run the server:
node server.js
-
Open the application: Open your web browser and navigate to
http://localhost:3000.
- Create a Vault: On your first visit, you will be prompted to create a master password. This password is the only way to access your vault. Do not forget it!
- Unlock: On subsequent visits, enter your master password to decrypt and unlock your vault.
- Add Accounts:
- Click the
+button to open the menu. - Manual Entry: Provide an account name and the Base32 secret key from your service provider.
- Import: Select a decrypted Bitwarden JSON file to bulk-import your existing 2FA accounts.
- Click the
- Manage Accounts:
- Click the
...button on any account card to edit its name or delete it. - Important: Before deleting an account, ensure you have disabled 2FA on the corresponding website first to avoid being locked out.
- Click the
This project is licensed under the MIT License. See the LICENSE file for details.
