# CB2FA โ€“ Community-Based Two-Factor Authentication **CB2FA** is a revolutionary trust-based authentication model where access is approved by humans, not devices. > **No OTP. No phones. No secrets. Just people.** ## ๐Ÿ” The Problem Traditional 2FA relies on: - ๐Ÿ“ฑ **Devices you can lose** - ๐Ÿ”‘ **Secrets you can forget** - ๐Ÿค– **Apps that can break** ## ๐Ÿ’ก The CB2FA Solution **Community-Based 2FA** relies on: - ๐Ÿ‘ฅ **People you trust** - ๐Ÿ’ฌ **Simple y/n decisions** - ๐ŸŒ **Platforms you already use** When someone tries to log in, your trusted community members get a notification and can approve or deny the request in real-time. ## ๐Ÿ”ง Implementations - โœ… **[Matrix Integration](./matrix)** โ€“ Deno-based bot + middleware for Matrix homeservers - โณ **Telegram Integration** (planned) โ€“ Bot for Telegram groups - โณ **Discord Integration** (planned) โ€“ Bot for Discord servers - โณ **Webhook Mode** (planned) โ€“ Generic HTTP callbacks for any app - โณ **Slack Integration** (planned) โ€“ Slack app for teams ## ๐ŸŒ Internationalization CB2FA supports **7 languages** out of the box: - ๐Ÿ‡ฌ๐Ÿ‡ง **English** - ๐Ÿ‡ท๐Ÿ‡บ **Russian** (ะ ัƒััะบะธะน) - ๐Ÿ‡ฉ๐Ÿ‡ช **German** (Deutsch) - ๐Ÿ‡จ๐Ÿ‡ณ **Chinese Simplified** (ไธญๆ–‡็ฎ€ไฝ“) - ๐Ÿ‡ซ๐Ÿ‡ท **French** (Franรงais) - ๐Ÿ‡ช๐Ÿ‡ธ **Spanish** (Espaรฑol) - ๐Ÿ‡น๐Ÿ‡ท **Turkish** (Tรผrkรงe) Each implementation loads translations via environment variables. ## ๐Ÿ—๏ธ Architecture CB2FA follows a **modular architecture**: ``` Login Request โ†’ Implementation โ†’ Queue โ†’ Community โ†’ Decision โ†’ Access ``` ### Core Components: - **Queue System** โ€“ One active request at a time, others wait - **Trust Model** โ€“ Community members approve/deny access - **I18n System** โ€“ Multi-language support - **Middleware** โ€“ Protocol-specific interceptors ## ๐Ÿ“– Documentation - ๐Ÿ“‹ [Architecture Overview](./docs/architecture.md) - ๐Ÿ”„ [How CB2FA Works](./docs/how-it-works.md) - ๐Ÿš€ [Getting Started](./matrix/README.md) (Matrix implementation) ## ๐Ÿค Contributing CB2FA is open source and welcomes contributions: - ๐Ÿ› **Bug reports** โ€“ Open an issue - ๐Ÿ’ก **Feature requests** โ€“ Discuss in issues - ๐Ÿ”ง **Code contributions** โ€“ Submit pull requests - ๐ŸŒ **Translations** โ€“ Add new languages - ๐Ÿ“– **Documentation** โ€“ Improve guides ## ๐Ÿ“ž Support I do not provide support. I do not consult โ€” not for free, not for money, not in any form. Please don't ask for help, fixes, or explanations โ€” this project is released as-is. If someone wants to help with development โ€” contributions are welcome. But there are no obligations from my side whatsoever. ## ๐Ÿ“œ License **MIT License** โ€“ Released by **[EasyProTech LLC](https://www.easypro.tech)** **Lead Developer:** Brabus --- **Deploy anywhere, configure everything, hardcode nothing!** ๐Ÿš€