2FAuth
A Web app to manage your Two-Factor Authentication (2FA) accounts and generate their security codes
⭐ 3,914 stars on GitHub · 🍴 286 forks · 📜 License: agpl-3.0 · 💻 Language: PHP
What is 2FAuth?
A standout opensource self-host project on GitHub — host on your own server for full control over your data and costs.
Main components
- Manage your 2FA accounts and organize them using Groups
- Scan and decode any QR code to add account in no time
- Add custom account without QR code thanks to an advanced form
- Edit accounts, even the imported ones
- Generate TOTP and HOTP security codes and Steam Guard codes
The biggest strength is active opensource community — fast bug fixes, regular features, no abandonment risk.
Best for self-host enthusiasts wanting to try a strong-community opensource project.
Topics: the project is tagged with popular topics:
- 🏷️
2fa - 🏷️
2factor - 🏷️
hotp - 🏷️
otp - 🏷️
qrcode - 🏷️
self-hosted - 🏷️
totp - 🏷️
two-factor - 🏷️
two-factor-authentication - 🏷️
webapp
Quick install
See the README for detailed install instructions. Most projects support Docker — if the repo has a Dockerfile, use:
git clone https://github.com/Bubka/2FAuth.git
cd 2FAuth
docker build -t 2FAuth .
docker run -d -p 8080:8080 2FAuth
Minimum system requirements
| Component | Recommended |
|---|---|
| RAM | 1024 MB |
| CPU | 1 vCPU |
| Disk | 15 GB SSD |
| OS | Ubuntu 22.04 LTS / Debian 12 |
| Docker | 24.0+ |
⚡ Deploy fast on VSIS
Use the VSIS VPS Mini 1GB RAM / 1 vCPU / 15GB SSD (~70k/tháng) plan from VSIS.NET — high-speed VN-based VPS, 24/7 support, ideal for running 2FAuth smoothly.
🎯 Benefits:
- One-command
docker compose up -ddeploy in 2 minutes - Dedicated IPv4, root access, unmetered domestic bandwidth
- Daily snapshot backup
- Free install assistance from the VSIS team
👉 See matching VPS plans at vsis.net
Resources
- 🔗 GitHub: Bubka/2FAuth
- 🌐 Homepage: https://docs.2fauth.app/
- 📚 Official docs: see README in the repo
- 💬 Community: GitHub Issues + Discussions
Article compiled from GitHub data on 05/05/2026. Star/fork counts may have changed — see live numbers via the GitHub link.
