https://github.com/championswimmer/twofac
2FA Authenticator app that works on mobile, web, desktop, watches and CLI!
https://github.com/championswimmer/twofac
2fa 2fa-client 2factor-authentication authenticator authy otp-verification totp-generator two-factor-authentication
Last synced: about 23 hours ago
JSON representation
2FA Authenticator app that works on mobile, web, desktop, watches and CLI!
- Host: GitHub
- URL: https://github.com/championswimmer/twofac
- Owner: championswimmer
- Created: 2025-06-17T02:58:03.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2026-04-16T01:53:05.000Z (11 days ago)
- Last Synced: 2026-04-16T03:29:26.041Z (11 days ago)
- Topics: 2fa, 2fa-client, 2factor-authentication, authenticator, authy, otp-verification, totp-generator, two-factor-authentication
- Language: Kotlin
- Homepage: http://twofac.app/
- Size: 42.6 MB
- Stars: 112
- Watchers: 1
- Forks: 7
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Agents: AGENTS.md
Awesome Lists containing this project
README
|
|
TwoFac
Open Source, Native, Cross-Platform 2FA App for Watch, Mobile, Desktop, Web and CLI! |
|---|---|
[](https://kotlinlang.org/)
[](https://github.com/JetBrains/compose-multiplatform)
[](https://developer.android.com/)
[](https://developer.apple.com/ios/)
[](https://developer.apple.com/watchos/)
[](https://wearos.google.com/)
[](https://www.apple.com/macos/)
[](https://www.microsoft.com/windows/)
[](https://ubuntu.com/)
[](https://webassembly.org/)
[](https://developer.chrome.com/docs/extensions/)
[](https://extensionworkshop.com/)
[](https://www.apple.com/macos/)
[](https://www.microsoft.com/windows/)
[](https://en.wikipedia.org/wiki/Command-line_interface)

## What is TwoFac?
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.
## Features
- 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
## Download
**Start here:** [twofac.app/download](https://twofac.app/download)
[](https://play.google.com/store/apps/details?id=tech.arnav.twofac.app)
- **Website:** [twofac.app](https://twofac.app)
- **Web app:** [web.twofac.app](https://web.twofac.app)
- **Desktop and CLI releases:** [GitHub Releases](https://github.com/championswimmer/TwoFac/releases)
For macOS and Linux, the CLI can also be installed with:
```bash
curl -fsSL https://twofac.app/install.sh | bash -s --
```
## Learn more
- **Features:** [twofac.app/features](https://twofac.app/features)
- **Getting started:** [twofac.app/getting-started](https://twofac.app/getting-started)
- **FAQ:** [twofac.app/faq](https://twofac.app/faq)
- **Import guide:** [docs/IMPORTING.md](docs/IMPORTING.md)
## Development
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](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.