DEV Community

EasyProTech
EasyProTech

Posted on

# CB2FA – Community-Based Two-Factor Authentication

GitHub Repo

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

These systems can fail when you need them most.


💡 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 gets a message. They approve or deny access — in real-time.


🔧 Implementations

  • Matrix Integration – Deno-based bot + login middleware
  • Telegram – Group-based login approvals (planned)
  • Discord – Server-based access confirmations (planned)
  • Slack – Team-level interaction (planned)
  • Webhook Mode – Generic callbacks for any app (planned)

🌍 Internationalization

CB2FA supports 7 languages out of the box:

🇬🇧 English
🇷🇺 Russian
🇩🇪 German
🇨🇳 Chinese (Simplified)
🇫🇷 French
🇪🇸 Spanish
🇹🇷 Turkish

Language loading is dynamic via environment variables.


🏗️ Architecture Overview

Login Request ↓ Implementation (e.g. Matrix, Telegram) ↓ CB2FA Core Queue System ↓ Trusted Community Room ↓ Decision: Approve / Deny ↓ Access Granted or Rejected 
Enter fullscreen mode Exit fullscreen mode

Core Components:

  • 📦 Queue System – One request at a time
  • 🧠 Trust Model – Community voting
  • 🌐 I18n Layer – Multi-language support
  • 🔌 Middleware – Protocol-specific interceptors

📖 Documentation


🛠️ Contributing

CB2FA is fully open source. Help is welcome:

  • 🐛 Bug reports
  • 💡 Feature requests
  • 🔧 Code contributions
  • 🌍 New translations
  • 📖 Better docs

🛑 Support Policy

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.

Contributors are welcome — but there are no obligations from my side.


📜 License

MIT License – Released by EasyProTech LLC
Lead Developer: Brabus


Deploy anywhere. Configure everything. Hardcode nothing.

Top comments (0)