UNPKG

@laiyon/create-wasapi

Version:

CLI to create WhatsApp bot projects with Wasapi and BuilderBot

86 lines (59 loc) 2.56 kB
# 🤖 Laiyon - WhatsApp Bot with JSON Storage > **Powered by BuilderBot & Wasapi** - Create professional WhatsApp bots with JSON storage ![Laiyon](https://img.shields.io/badge/Laiyon-WhatsApp%20Bot%20Generator-brightgreen?style=for-the-badge) ![BuilderBot](https://img.shields.io/badge/BuilderBot-Conversation%20Flow-blue?style=for-the-badge) ![Wasapi](https://img.shields.io/badge/Wasapi-WhatsApp%20API-orange?style=for-the-badge) ## 🚀 What is Laiyon? **Laiyon** is a revolutionary platform that simplifies the creation of professional WhatsApp bots. We combine the power of **BuilderBot** for intelligent conversation flows with **Wasapi** for perfect WhatsApp integration. ## 🏗️ What is BuilderBot? **BuilderBot** is a modern framework for creating intelligent conversation flows. It allows you to design natural and scalable chat experiences with visual flows, conditional logic, API integration, and state management. ## 📦 Features - 🤖 **Intelligent Bots** - Natural and dynamic conversation flows - 💾 **JSON Storage** - Persistent data in JSON files - 🔄 **Contextual Conversations** - Maintains user context - 📱 **WhatsApp Integration** - Direct connection with WhatsApp API - 🎯 **Personalized Responses** - Adapts responses based on user - 🚀 **Easy Deployment** - Automatic configuration with ngrok ## 🚀 Quick Start ### 1. Installation ```bash npm install ``` ### 2. Configuration ```bash cp .env.example .env # Edit your environment variables ``` ### 3. Environment Variables ```env WASAPI_API_KEY=your_wasapi_api_key WASAPI_PHONE_ID=your_phone_id PORT=3000 ``` ### 4. Run Development ```bash npm run dev ``` ## 🔧 Wasapi Setup 1. Get your API Key at [Wasapi](https://app.wasapi.io/account/developer) 2. Configure your phone number in the dashboard 3. Set webhook URL with ngrok URL 4. Scan QR code to connect WhatsApp ## 📊 JSON Storage This starter uses JSON files to store: - **History** - Interaction records ## 🌐 Deployment ### Recommended Hosting - **Vercel** - Automatic deployment - **Railway** - Easy scalability - **Heroku** - Established platform - **DigitalOcean** - Full control ## 📚 Resources - [🌐 Laiyon Website](https://laiyon.pro) - [📖 BuilderBot Docs](https://builderbot.vercel.app/) ## 🤝 Support - **Documentation**: [laiyon.pro](https://laiyon.pro) - **Issues**: [GitHub Issues](https://github.com/juanalvarezPro/create-laiyon) --- **Created with ❤️ by the Laiyon team** > Transform your business with intelligent and professional WhatsApp bots