npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@laiyon/create-wasapi

v2.0.1

Published

CLI to create WhatsApp bot projects with Wasapi and BuilderBot

Readme

🚀 Create Laiyon - WhatsApp Bot Generator

Create professional WhatsApp bots with ease using the power of BuilderBot and Wasapi.

Laiyon Banner Platform Support Node Version

✨ Features

  • 🤖 Instant Bot Creation - Generate WhatsApp bots in seconds
  • 🔧 Automatic Setup - Cross-platform ngrok integration
  • 🎨 Beautiful CLI - Professional terminal interface
  • 🔒 Secure Configuration - Protected API keys and tokens
  • 📱 QR Code Testing - Instant bot testing with generated QR codes
  • 🌍 Cross-Platform - Works on Windows, macOS, and Linux
  • 🚀 Built with BuilderBot - Modern conversation flow architecture

🚀 Quick Start

# With project name (recommended)
npm create @laiyon/wasapi@latest my-bot

# Interactive mode
npm create @laiyon/wasapi@latest

# Alternative with npx
npx @laiyon/create-wasapi@latest my-bot

That's it! The CLI will guide you through the entire setup process.

📋 CLI Flow

The create-laiyon CLI follows a smart, step-by-step process:

1. Project Setup

🚀 Welcome Banner
├── Project name input
├── Database selection (Memory available, others coming soon)
└── Template installation

2. Wasapi Configuration

🔧 Environment Setup
├── Secure API key input (hidden with *)
├── Phone number selection
└── Environment variables creation

3. System Detection

🔍 Smart Platform Detection
├── Operating System (Windows/macOS/Linux)
├── Ngrok installation check
├── Ngrok token verification
└── Auto-setup capability assessment

4. Automatic Setup (if available)

🚀 Intelligent Automation
├── npm package installation
├── Development server startup
├── Ngrok tunnel creation
├── Webhook URL generation
└── WhatsApp QR code for testing

5. Manual Instructions (fallback)

📋 Clear Step-by-Step Guide
├── Installation commands
├── Configuration instructions
├── Ngrok setup guidance
└── Testing procedures

🛠️ System Requirements

  • Node.js >= 16.0.0
  • npm >= 8.0.0
  • Ngrok account (free) for tunneling
  • Wasapi API key for WhatsApp integration

🔧 Manual Setup (Alternative)

If automatic setup isn't available:

  1. Install your project:

    cd your-project-name
    npm install
  2. Configure ngrok:

    # Install ngrok: https://ngrok.com/download
    ngrok config add-authtoken <your-token>
  3. Start development:

    npm run dev
    # In another terminal:
    ngrok http <port>

🏗️ Project Structure

your-bot/
├── src/
│   └── app.ts          # Main bot logic with conversation flows
├── .env                # Environment variables (API keys, phone ID, port)
├── package.json        # Dependencies and scripts
└── README.md           # Project documentation

🤖 Bot Features (Included Templates)

  • Welcome Flow - Interactive menu system
  • Services Information - Automated service descriptions
  • Support System - Help and contact information
  • FAQ Handling - Frequently asked questions
  • Dynamic Responses - Personalized user interactions
  • Media Support - Image and file sharing capabilities
  • Fallback Handling - Smart unrecognized message responses

🔒 Security

  • API keys are masked during input (password type)
  • Ngrok tokens are securely handled
  • Environment variables are properly configured
  • No sensitive data is logged or displayed

🌍 Cross-Platform Support

| Platform | Ngrok Detection | Auto Setup | Manual Setup | |----------|----------------|------------|--------------| | Windows | ✅ Yes | ✅ Yes | ✅ Yes | | macOS | ✅ Yes | ✅ Yes | ✅ Yes | | Linux | ✅ Yes | ✅ Yes | ✅ Yes |

📚 Documentation

🤝 Contributing

We welcome contributions! Please feel free to submit a Pull Request.

📄 License

MIT License - feel free to use this project for your own bots!

🌟 Support

If this project helped you create amazing WhatsApp bots, consider giving it a ⭐ on GitHub!


Made with ❤️ by the Laiyon team @juanalvarez.pro