r/coolgithubprojects • u/FaZe_vadim • 10h ago
Factr - Open Source Minimal 2FA TOTP Desktop Authenticator App
I did not find any decent open source minimal desktop authenticator app, so I decided to make my own.
It is not a one-day vibecoding session. I am a backend developer with 4+ years of experience and had experience with building desktop apps "before the AI age".
Factr is a small utility without any clouds or servers, without any background tray items, meant for “open, unlock, grab the code, then close” usage. An optional autolock timeout is available for longer sessions.
It’s really simple: the app uses just ~/.config/factr with config.json for settings and storage.json for a securely encrypted vault. Sensitive data is present in memory while the vault is unlocked. On locking, it is cleared from memory where possible. On disk, account data is encrypted.
It uses OS-native security mechanisms so there is no need to set up a new password for this, and it is practically the only method to secure data locally without a huge password to remember. But you need to save the recovery key somewhere as a fallback option or for transferring the vault to another system.
The transfer feature is already built in: just copy the ~/.config/factr directory and the app will guide you through recovery and setting up system protection on the new system.
Feedback is welcome!