# Bubka/2FAuth

A Web app to manage your Two-Factor Authentication (2FA) accounts and generate their security codes

Repository: https://github.com/Bubka/2FAuth
Canonical: https://ross.abutalabs.com/products/2fauth
Homepage: https://docs.2fauth.app/
Language: PHP
License: AGPL-3.0
License Family: copyleft
Topics: otp, 2fa, 2factor, totp, hotp, self-hosted, webapp, qrcode, two-factor-authentication, two-factor
Last push: 2026-07-12T06:12:32+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 92, release rhythm 92, longevity 100
- inputs: {"age_days": 2667, "days_push": 52, "days_rel": 59, "gap_med": 14.0, "n_releases_24m": 21}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4125, forks 296 (observed 2026-08-28T04:08:36.034494+00:00)

## What it is
2FAuth is a self-hosted web application for managing Two-Factor Authentication accounts and generating TOTP, HOTP, and Steam Guard security codes from any browser. It serves as an open-source alternative to proprietary authenticator apps like Google Authenticator, with QR code scanning, encrypted storage, and multi-user support.

## Use cases
- self-hosted alternative to google authenticator
- generate 2fa codes from desktop browser
- backup and restore two-factor accounts
- manage totp and hotp tokens in one place
- share 2fa codes across a team
- scan qr codes to add otp accounts
- store 2fa secrets encrypted in own database
- get otp codes without taking out smartphone

## When to choose
- you want your 2FA secrets out of a single phone and in a self-hosted, backupable database
- you need OTP codes on desktop as well as mobile
- you want a team or family to share access to 2FA accounts with isolated vaults
- you prefer open-source, self-hosted tools with encryption and WebAuthn/security-key login

## When to avoid
- you want a simple phone-only authenticator with no server to maintain
- you are not comfortable self-hosting and securing a web app (HTTPS, backups of APP_KEY)
- you need offline code generation with no network access
- you require enterprise-grade multi-tenant 2FA management

## Facets
- artifact type: application
- maturity: active
- function: auth, security, self-hosted, http-server
- domain: security, privacy, self-hosted, web-development
- platform: self-hosted, php, cross-platform
- tags: totp, hotp, otp, two-factor-authentication, authenticator-app, qrcode, steam-guard, webauthn, yubikey, laravel, web-server, docker, linux

## Member repositories
- Bubka/2FAuth (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:36.034494+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:23:04.282415+00:00, confidence not recorded.
  - readme: https://github.com/Bubka/2FAuth (fetched 2026-08-28T04:08:36.034494+00:00, sha 6fe24f814847)
  - homepage: https://docs.2fauth.app/ (fetched 2026-08-29T09:14:36.849061+00:00, sha 6923cf904e96)
  - site_page: https://docs.2fauth.app/getting-started/installation/self-hosted-server (fetched 2026-08-29T09:14:36.851513+00:00, sha 26b983169fc5)
  - site_page: https://docs.2fauth.app/getting-started/installation/docker/docker-compose (fetched 2026-08-29T09:14:36.853563+00:00, sha 7966ab88243b)
  - site_page: https://docs.2fauth.app/getting-started/config/env-vars (fetched 2026-08-29T09:14:36.855529+00:00, sha 7c240e37eb0f)
  - site_page: https://docs.2fauth.app/getting-started/config/user-preferences (fetched 2026-08-29T09:14:36.858396+00:00, sha c8676a56de9b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
