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

mantago-intent-builder

v1.3.3

Published

MantaGO Intent Builder CLI - Interactive chatbot dialogue module creator

Readme

MantaGO Intent Builder CLI

Interactive CLI tool for creating chatbot dialogue modules (intents) on the MantaGO platform.

Supports LINE, Facebook, Instagram, WhatsApp, Threads.

Install

npm install -g mantago-intent-builder

Quick Start

# First time: setup your credentials
mantago init

# Create an intent interactively
mantago create

# Preview only (save JSON, no API call)
mantago create --dry-run

Setup

Run mantago init to configure your credentials. Config is saved locally at ~/.mantarc (not in your project).

? MantaGO API URL: https://mantago.cc/api
? Token (from browser cookie): ********
? Code (from browser cookie): abc123...

How to get token & code:

  1. Login to MantaGO in your browser
  2. Open DevTools (F12) → Application → Cookies
  3. Copy the values of token and code

Note: Token expires after 3 days. Re-run mantago init to refresh.

Commands

mantago init

Setup or update configuration.

mantago init                    # Default profile
mantago init --profile staging  # Named profile

mantago create

Create a new intent interactively.

mantago create                          # Full interactive flow
mantago create --bot-id <hashId>        # Pre-select bot
mantago create --dry-run                # JSON only, no API call
mantago create --skip-material          # Skip material browsing
mantago create --profile staging        # Use specific profile

Interactive flow:

  1. Select bot — lists all bots you have access to
  2. Browse material — view existing content for inspiration
  3. Build intent — choose a template or build from scratch
  4. Preview — review the JSON payload
  5. Push or save — create via API or save as JSON file

Templates

| Template | Description | |----------|-------------| | collect_info | Collect user data (name, phone, email) via conversation flow | | faq | FAQ auto-reply with quick reply buttons | | product_rec | Product recommendation with image carousel | | welcome | Welcome message with navigation menu | | promotion | Promotion with image + text + CTA button |

Message Types

| Type | Description | |------|-------------| | text | Text message | | quickReplies | Quick reply buttons | | card | Card with image, title, buttons | | image | Single image | | imageCarousel | Scrollable image carousel | | flex | LINE Flex Message (raw JSON) | | confirmQuestion | Yes/No confirmation | | choiceQuestion | Multiple choice question | | video | Video message | | location | Location with map |

mantago profile

Manage multiple profiles (e.g., production vs staging).

mantago profile list              # List all profiles
mantago profile switch <name>     # Switch active profile
mantago profile delete <name>     # Delete a profile

Material Browser

Browse existing content from your MantaGO account for inspiration:

  • PO posts — Facebook, Instagram, Threads scheduled posts
  • Post replies — Auto-reply configurations and content
  • GAI knowledge base — AI FAQ, uploaded files, web pages
  • AI suggestion items — Product/service recommendations
  • Existing intents — Reference existing dialogue modules

Config

  • Stored at ~/.mantarc (per user, not in project directory)
  • No secrets in source code
  • Supports multiple profiles for different environments

License

MIT