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

@manaobot/kickit

v1.3.2

Published

Kick.com bot framework using Manao's kick library

Downloads

755

Readme


⚡ About

KickIt is a minimal command framework built on top of @manaobot/kick.

It provides a clean abstraction for:

  • Command handling
  • Context-based message responses
  • Webhook-driven bots
  • Optional ngrok integration

KickIt does not replace the SDK — it extends it with a simple developer experience.


📦 Installation

bun add @manaobot/kickit

KickIt optionally supports ngrok for local development. To enable ngrok support, also install the ngrok package:

bun add @ngrok/ngrok

🚀 Quick Start

import {KickIt} from "../src";

const bot = new KickIt({
  prefix: "!",
  auth: {
    clientId: Bun.env.KICK_CLIENT_ID!,
    clientSecret: Bun.env.KICK_CLIENT_SECRET!,
    accessToken: Bun.env.KICK_ACCESS_TOKEN!,
    refreshToken: Bun.env.KICK_REFRESH_TOKEN!,
    expiresAt: parseInt(Bun.env.KICK_EXPIRES_AT!, 10) || Date.now(),
    scopes: ["chat:write", "events:subscribe", "moderation:ban", "channel:read"],
  },
  ngrok: {
    authtoken: Bun.env.NGROK_AUTHTOKEN,
    domain: "topical-goshawk-leading.ngrok-free.app",
    port: 5000,
    path: "/kick/webhook",
  },
});

bot.command("ping", async (ctx) => {
  await ctx.reply("pong 🏓");
});

bot.command("love", async (ctx) => {
  const target = ctx.args.join(" ") || ctx.event.sender.username;
  const percent = Math.floor(Math.random() * 101);

  await ctx.reply(
    `${ctx.event.sender.username} ❤️ ${target}: ${percent}%`
  );
});

await bot.start();

✨ Features

⚡ Command Framework

bot.command("hello", async (ctx) => {
  await ctx.reply("Hello chat!");
});
  • Prefix-based commands
  • Context-driven handlers
  • Async support

🧠 Context API

Every command receives a structured context:

ctx.client   // KickClient instance
ctx.event    // Raw webhook event
ctx.args     // Command arguments
ctx.reply()  // Send chat message

This keeps KickIt lightweight while still giving full access to the SDK.


🔗 Built on @manaobot/kick

KickIt uses the official SDK internally:

  • OAuth authentication
  • Webhook subscriptions
  • REST API access
  • Chat messaging

You can still access the SDK directly:

ctx.client.api.users.get()

🌐 ngrok Support

Local development is easy:

ngrok: {
  authtoken: "...",
  domain: "your-domain.ngrok-free.app"
}

KickIt automatically:

  • starts webhook server
  • opens ngrok tunnel
  • subscribes to events

📚 Example

bot.command("love", async (ctx) => {
  const target = ctx.args.join(" ") || ctx.event.sender.username;
  const percent = Math.floor(Math.random() * 101);

  await ctx.reply(`${ctx.event.sender.username} ❤️ ${target}: ${percent}%`);
});

🧱 Philosophy

KickIt is intentionally minimal.

It focuses only on:

  • Command handling
  • Context abstraction
  • Developer ergonomics

It does not attempt to replace the underlying SDK.

If you need low-level control, use:

ctx.client

🤝 Contributing

Pull requests are welcome.

You can help by:

  • improving typings
  • adding examples
  • suggesting framework features

Join the Discord server:

https://discord.gg/vkW7YMyYaf


📜 License

GPL-3.0 License
See LICENSE file for details.


❤️ Part of the Manao Ecosystem

KickIt works alongside:

  • @manaobot/kick — Core SDK
  • KickIt — Command framework