Floppa-Chatbot is built upon the solid foundation of the Goat Bot V2 base engine, completely modernized, optimized, and upgraded with:
- ⚡ Rebuilt Core Engine (
Floppa.js): Memory leak prevention, aggressive V8 garbage collection management, and high-concurrency event loops. - 📦 Native FCA API (
fca/): Bundled directly into@floppa/fca-native, ensuring continuous 24/7 operation without external dependency failures. - 🧠 Centralized 11+ LLM AI Core (
system/ai-core.js): Multi-LLM provider routing (openai,gemini,claude,deepseek,ollama,groq,moonshot,glm,qwen,oneapi,sillytavern) with automatic public API fallbacks. - 🛠️ Unified Functions Suite (
func/): High-performance system telemetry (systemStats), cache cleanup (cacheManager), AI prompt helpers (aiHelper), and message batching. - 📱 Mobile Agent Persona: Simulates native Android Messenger mobile traffic for maximum account safety on personal & Facebook Business accounts.
- Developers: frnAlt & Gtajisan (Farhan Muh Tasim)
- Repository: https://github.com/frnAlt/Floppa-Chatbot
Floppa-Chatbot includes built-in support for 11+ AI providers, complete with official API key handling and seamless public URL fallbacks:
- OpenAI (
gpt-4o,gpt-4o-mini,o1-preview,o1-mini) - Google Gemini (
gemini-1.5-flash,gemini-1.5-pro,gemini-2.0-flash) - Anthropic Claude (
claude-3-5-sonnet,claude-3-haiku,claude-3-opus) - DeepSeek AI (
deepseek-chat,deepseek-r1,deepseek-v3) - Local Ollama (
llama3,llama3.1,qwen2.5,deepseek-r1,mistral) - Groq Cloud (
llama-3.3-70b-versatile,mixtral-8x7b-32768) - Moonshot AI / Kimi (
moonshot-v1-8k,moonshot-v1-32k) - Zhipu GLM (
glm-4,glm-4-flash) - Alibaba Qwen (
qwen-max,qwen-plus,qwen-turbo) - OneAPI / OpenAI Compatible Aggregators (
custom-gpt-4o,custom-claude) - SillyTavern / Local RP Endpoints (
character-eval)
- 🎨 /image (
/dalle,/imagine): Generates high-definition AI digital art from text prompts. - 🖼️ /edit (
/filter,/transform): Applies AI transformations to replied photos or prompt. - 🔍 /upscale (
/4k,/hd): Enhances image quality to 4K resolution. - ✂️ /removebg (
/nobg,/rbg): Removes backgrounds and exports transparent PNGs. - 🧠 /ai (
/ask,/agent,/gpt): Chat with Agentic AI Core (Tool Use, RAG, Multi-LLM routing). - 📖 /quran (
/alquran): Read Al-Quran verses, Bengali translations, and listen to Alafasy audio recitations. - 🐙 /github (
/gh): Search GitHub users and repository statistics. - 👥 /friendlist (
/fl): FCA Friend List manager with enhanced search, pagination, and unfriending. - ⌨️ /typing: FCA typing indicator controller (
on/off/duration). - 🎨 /metatheme: Messenger thread color theme switcher.
- 🟢 /activestatus: Toggle online active presence on Facebook Messenger.
- 🎵 /shazam: Identify songs from replied audio or video attachments.
Floppa-Chatbot/
├── assets/ # Visual media assets (Floppa Banner, Logo & Previews)
├── fca/ # Native Built-in FCA API Engine (@floppa/fca-native)
├── bot/ # Core bot handlers, login & multi-account manager
├── dashboard/ # Live Control Dashboard & Real-Time Log Server
├── database/ # SQLite / MongoDB controllers
├── func/ # System utilities, telemetry, cache manager & AI helper
│ ├── aiHelper.js
│ ├── cacheManager.js
│ ├── systemStats.js
│ └── index.js
├── system/ # Centralized AI Core Engine & AstrBot Integration
│ └── ai-core.js
├── languages/ # i18n support (English & Vietnamese)
├── scripts/
│ ├── cmds/ # 200+ Command modules
│ └── events/ # Event handling scripts
├── account.txt # Facebook Session Cookies / Credentials
├── config.json # Main Bot Configuration
├── Floppa.js # Rebuilt Core Engine Runner
├── utils.js # Global Utilities & Helpers
├── index.js # Application Entry Point
└── package.json # Project Dependencies & Metadata
- Node.js:
v20.0.0or higher - npm:
v7.0.0or higher
git clone https://github.com/frnAlt/Floppa-Chatbot.git
cd Floppa-Chatbot
npm installExport your Facebook account cookies using a browser extension into JSON format, and save into account.txt:
[
{
"key": "c_user",
"value": "YOUR_USER_ID",
"domain": "facebook.com",
"path": "/"
},
{
"key": "xs",
"value": "YOUR_XS_COOKIE",
"domain": "facebook.com",
"path": "/"
}
]npm startOpen your browser and navigate to http://localhost:5000 to view live system metrics, active threads, and real-time Messenger chat logs.
This project is licensed under the MIT License.
Built upon Goat Bot V2 base architecture. Developed & maintained by frnAlt & Gtajisan (Farhan Muh Tasim).
