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

botway-cli

v0.3.1

Published

CLI tool for routing Telegram messages through multiple bot identities

Readme

Botway

CLI tool for routing Telegram messages through multiple bot identities.

Install

npm install -g botway-cli
# or
npm install -g @silicondawn/botway

Quick Start

# Interactive setup wizard
botway onboard

# Or register directly
botway add --bot mybot --token <BOT_TOKEN>

# Send a message
botway send --bot mybot --to <chat_id> --text "hello"

Usage

# Send as a specific bot
botway send --bot mybot --to <chat_id> --text "hello"

# Reply to a message
botway reply --bot mybot --to <chat_id> --reply-to <msg_id> --text "reply"

# Forward a message
botway forward --bot mybot --to <chat_id> --from <source_chat> --msg-id <id>

# Edit / delete
botway edit --bot mybot --to <chat_id> --msg-id <id> --text "edited"
botway delete --bot mybot --to <chat_id> --msg-id <id>

# Pipe from stdin
echo "long text" | botway send --bot mybot --to <chat_id> --text -

# Silent (no notification)
botway send --bot mybot --to <chat_id> --text "shh" --silent

Config

Auto-created at ~/.botway/config.json on first run. Falls back to ./config.json.

{
  "bots": {
    "mybot": {
      "name": "My Bot",
      "username": "my_bot",
      "token": "123456:ABC-DEF"
    },
    "another": {
      "name": "Another Bot",
      "username": "another_bot",
      "tokenFile": "~/.openclaw/credentials/telegram-bot-token"
    }
  },
  "aliases": {
    "my-group": "-100xxxxxxxxxx"
  }
}
  • token: Inline bot token
  • tokenFile: Read token from a file (supports ~)
  • aliases: Map friendly names to chat IDs, use with --to

Bot Management

# Register (auto-verifies via Telegram API)
botway add --bot stock --token <BOT_TOKEN>

# Remove
botway remove --bot stock

Parse Modes

# Default: HTML
botway send --bot mybot --to <chat_id> --text "<b>bold</b>"

# MarkdownV2
botway send --bot mybot --to <chat_id> --text "*bold*" --parse md2

License

MIT