A Minecraft-themed desktop authenticator app for macOS, built with Electron. This application provides a secure and stylish way to manage your two-factor authentication (2FA) codes with a unique Minecraft-inspired interface.
- 🎮 Minecraft-inspired UI with pixelated fonts and block-style elements
- 🔐 Secure TOTP (Time-based One-Time Password) generation
- 📱 Multiple QR code input methods:
- File upload
- Drag & drop
- Clipboard paste (⌘V)
- Screenshot support
- 🌙 Dark mode support
- 💾 Local encrypted storage using SQLite
- 🖥️ Native macOS integration
- Download the latest release from the Releases page
- Choose either:
.dmginstaller: Double-click and drag the app to your Applications folder.ziparchive: Extract and move the app to your Applications folder
- When first opening the app, right-click (or Control-click) and select "Open" to bypass macOS security
- Clone the repository:
git clone https://github.com/yourusername/desktop-authenticator.git
cd desktop-authenticator- Install dependencies:
npm install- Run in development mode:
npm start- Build the application:
npm run distThe built application will be available in the dist directory.
- Launch the Desktop Authenticator app
- Click "Add Account" to add a new 2FA account
- Add accounts using one of these methods:
- Scan a QR code (drag & drop or paste from clipboard)
- Manually enter the secret key
- Your 2FA codes will automatically update every 30 seconds
- Local data encryption using electron-store
- Secure secret key storage in SQLite database
- No cloud sync or external data transmission
- Memory-safe implementation with better-sqlite3
desktop-authenticator/
├── main.js # Main Electron process
├── renderer.js # Renderer process
├── index.html # Main application window
├── package.json # Project configuration
└── README.md # This file
- Electron - Cross-platform desktop framework
- better-sqlite3 - SQLite database
- otplib - TOTP generation
- electron-store - Encrypted storage
- jimp - Image processing
- qrcode-reader - QR code scanning
To build for different platforms:
# Build for macOS
npm run dist
# Build specific format
npm run dist -- --mac --dmg # DMG only
npm run dist -- --mac --zip # ZIP only- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- Minecraft for UI inspiration
- VT323 font by Peter Hull
- The Electron community for excellent documentation and examples
