登录 注册

2FAuth

去点 Star
安全与隐私工具网站与 SaaS 工具
4,218
Stars
—
Forks
0
Watchers
—
Open Issues
待补全
许可证
PHP
语言
—
创建时间
最近更新

项目能做什么

2FAuth 是一个基于 PHP(Laravel)开发的自托管 Web 应用,用于替代手机端验证码生成器(如 Google Authenticator),解决跨设备获取验证码繁琐及手机丢失导致数据丢失的问题。核心功能包括生成 TOTP/HOTP/Steam 验证码、扫码或手动添加账号、分组管理、多用户支持以及数据加密存储。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# 2FAuth

![Docker build status](https://img.shields.io/github/actions/workflow/status/bubka/2fauth/ci-docker-test.yml?branch=master&style=flat-square)
![https://codecov.io/gh/Bubka/2FAuth](https://img.shields.io/codecov/c/github/Bubka/2FAuth?style=flat-square)
![https://github.com/Bubka/2FAuth/blob/master/LICENSE](https://img.shields.io/github/license/Bubka/2FAuth.svg?style=flat-square)

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

![screens](https://user-images.githubusercontent.com/858858/100485897-18c21400-3102-11eb-9c72-ea0b1b46ef2e.png)

[**2FAuth Demo**](https://demo.2fauth.app/)  
Credentials (login - password) : `demo@2fauth.app` - `demo`

## Purpose

2FAuth is a web based self-hosted alternative to One Time Passcode (OTP) generators like Google Authenticator, designed for both mobile and desktop.

It aims to ease you perform your 2FA authentication steps whatever the device you handle, with a clean and suitable interface.

I created it because :

* Most of the UIs for this kind of apps show tokens for all accounts in the same time with stressful countdowns (in my opinion)
* I wanted my 2FA accounts to be stored in a standalone database I can easily backup and restore (did you already encountered a smartphone loss with all your 2FA accounts in Google Auth? I did...)
* I hate taking out my smartphone to get an OTP when I use a desktop computer
* I love coding and I love self-hosted solutions

## Main features

* 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

2FAuth is currently fully localized in English and French. See [Contributing](#contributing) if you want to help on adding more languages.

## Security

2FAuth provides several security mechanisms to protect your 2FA data as best as possible.

### Multi-user app

You have to create a user account and authenticate yourself to use the app. Since version 4.0, you have the ability to allow multiple user accounts for different people. You can allow public registration, limit registration by email domain name, or turn registration off alltogether. You can also limit registration to SSO only. 

### Modern authentication

You can sign in 2FAuth using a security key like a Yubikey or a Titan key and disable the traditional login form.

### Data encryption

Sensitive data stored in the database can be encrypted to protect them against db compromise. Encryption is provided as an option which is disabled by default. It is strongly recommended to backup the APP_KEY value of your .env file (or the whole file) when encryption is On.

### Auto logout

2FAuth automatically log you out after an inactivity period to prevent long life session. The auto logout can be deactivated or triggered when a security code is copied.
阅读完整原文

项目深度分析 AI 生成

团队与企业共享2FA安全网关(私有化商业授权)

产品构想在开源多用户基础上,针对中小企业和MSP服务商,开发基于角色的访问控制(RBAC)、操作审计日志、特定账号定时共享与审批流功能的商业插件/版本。
核心功能团队组织架构与RBAC、临时访问权限审批、详细访问审计日志(防泄密追踪)、LDAP/Active Directory深度同步。
目标用户IT外包服务商(MSP)、中小型企业运维团队、客服/社媒运营团队(需共享公用账号2FA)。
难度/周期中等 · 2-3个月 · 成本:开发人工、测试环境服务器(极低)
收费模式按席位按年订阅(企业私有化部署授权),如 $5/用户/月。
竞争风险AGPL-3.0开源协议限制,商业闭源扩展需谨慎架构隔离或获得原作者商业双重授权许可;安全责任风险极高。
依据 已验证事实

全托管高可用2FAuth云服务(端到端加密SaaS)

产品构想提供开箱即用的托管版2FAuth,主打零配置、自动云备份、高可用并提供端到端零知识加密支持。
核心功能全自动异地容灾备份、WebAuthn硬件Key强化登录、浏览器扩展配合快速自动填充、免运维一键开通。
目标用户嫌自建服务器麻烦但需要桌面端/多端同步2FA验证码的个人专业用户、自由职业者。
难度/周期中等 · 1-2个月 · 成本:高可用服务器、安全合规审计成本、域名与邮件网关费用
收费模式个人订阅制(Freemium,如免费存储5个账号,高级版 $2/月或 $20/年)。
竞争风险2FA数据极度敏感,托管SaaS面临极高的信任门槛和黑客攻击风险;市场上有Bitwarden、1Password等强力竞争对手。
依据 AI推测

浏览器扩展与生态自动化伴侣工具

产品构想为2FAuth自建实例开发配套的官方级浏览器扩展(Chrome/Firefox)与Raycast/Alfred工作流插件,实现网页2FA验证码一键自动填充。
核心功能当前网页域名自动匹配2FA账号、点击一键填充/复制、API安全配对与令牌管理、本地指纹唤醒。
目标用户2FAuth现有活跃自托管用户(已星标4000+的极客开发者群体)。
难度/周期低 · 3-4周 · 成本:开发者账号费用(Chrome Web Store注册费等)
收费模式插件买断制(如 $9.9 买断高级客户端/插件)或赞助者订阅专享。
竞争风险用户基数相对垂直小众,客单价低,变现天花板受限。
依据 数据支持的判断
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

相似项目数据正在完善中,暂不展示(避免误导)

项目优势与风险

技术成熟度创建时间待补全,最近推送 ,发布过 66 个 Release
社区活跃Star 4,218 / Fork 0 / Issue 0(数据支持,可自行核实)
许可证未检测到(需人工确认)
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。