2FA
Store your two-factor codes with automatic backups
By wuzf
- Stars
- 452 452 stars on the app's GitHub repository.
- Installs
- Under 10 Fewer than 10 Appflare users run this app, from anonymous usage data; smaller counts are not published.
- Plan
- Free Runs on Cloudflare's free Workers plan.
- License
- MIT An open-source license: you may use, change and share the app on its terms.
- Version
- 1.12.0 Version 1.12.0.
- Last tested
- Oct 14 The catalog installed this version in a test account and it answered, on Oct 14, 2026.
About
A self-hosted alternative to Authy.
A two-factor code manager for TOTP and HOTP keys: scan or import from Google Authenticator, Aegis, 2FAS, and Bitwarden, encrypted in KV, with backups to WebDAV, S3, OneDrive, or Google Drive.
Features
- Generate time-based and counter-based login codes
- Add accounts by scanning a QR code or uploading its image
- Import accounts from QR codes, JSON, CSV or text exports
- Find accounts by service name or account name
- Get login codes offline in an installable web app
- Back up your accounts automatically and restore an earlier backup
Deploy 2FA on Cloudflare
Step 1: Set up Appflare in your Cloudflare account
OnceAppflare installs itself into your own Cloudflare account from your browser, and runs on the free Workers plan, as 2FA does. See what 2FA needs on your account.
Set up AppflareAlready have Appflare? Install 2FAStep 2: Install 2FA
2FA needs no keys or settings from you.
Appflare generates a value for you: Encryption key.
One switch on the form puts 2FA behind Cloudflare Access, so only the people who use your Appflare can open it.
Step 3: Finish setting it up
After the install, Appflare shows two short steps for 2FA, on its page.
With Appflare instead of by hand
- Nothing to build on your computerAppflare sets itself up from your browser, with no API token to create and nothing to install.
- Updates in one clickAppflare tells you when the catalog has a new version, and Update installs it.
- Health checksAfter every install and update, Appflare checks that the app answers.
- It stays in your own accountEverything runs on your Cloudflare account and your plan, and Appflare records what it creates, so an uninstall removes it.
What it needs on your account
- KV storageThis app uses it
- Durable ObjectsThis app uses it
- Runs on a scheduleThis app uses it
Questions
Does 2FA run on Cloudflare's free plan?
Yes. 2FA runs on Cloudflare's free Workers plan, and so does Appflare.
What does 2FA create in my Cloudflare account?
Appflare creates a Worker for 2FA and the resources it uses: KV namespaces, Durable Object classes and cron triggers. Appflare records each resource it creates; an uninstall deletes them, keeping any data you choose to keep.
How do I update 2FA?
When the catalog has a new version, 2FA's page in Appflare says Update available. Select Update: Appflare takes a snapshot first, so you can roll back to the version before. You can also let Appflare update it automatically.
Is 2FA open source?
Yes, under MIT. An open-source license: you may use, change and share the app on its terms. Its source code is at github.com/wuzf/2fa.
Links
- Source codegithub.com/wuzf/2fa
Packaged for the catalog by MendyLanda.
Author
- wuzfGitHub