![]() |
Open Source, Native, Cross-Platform 2FA App for Watch, Mobile, Desktop, Web and CLI! |
|---|
TwoFac is a free, open-source, cross-platform 2FA app for generating one-time codes on the devices you already use. It is built with Kotlin Multiplatform and ships native experiences for mobile, desktop, wearables, web, browser extensions, and the command line.
It is designed to be practical and privacy-friendly: local code generation, biometric protection on supported platforms, encrypted backups, and no ads or tracking.
- Native apps for Android, iOS, macOS, Windows, Linux, Wear OS, watchOS, web, browser extensions, and CLI
- End-to-end encryption and zero-knowledge handling for secrets and backups
- Biometric unlock on Android and iOS
- Import support for Authy, 2FAS, Ente Auth, and Google Authenticator exports
- Companion watch apps with offline access and browser/CLI workflows for fast access
Start here: twofac.app/download
- Website: twofac.app
- Web app: web.twofac.app
- Desktop and CLI releases: GitHub Releases
For macOS and Linux, the CLI can also be installed with:
curl -fsSL https://twofac.app/install.sh | bash -s --- Features: twofac.app/features
- Getting started: twofac.app/getting-started
- FAQ: twofac.app/faq
- Import guide: docs/IMPORTING.md
Clone the repo, install the toolchains for the targets you want to work on, and run Gradle tasks from the repository root.
For the current module map, build guidance, and platform routing, read AGENTS.md. It is written to make AI-driven development work smoothly, and it is also the most up-to-date reference for how this codebase is organized.


