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

armanbot-telegram

v1.0.0

Published

⚡ Personal AI Agent in Telegram — one file, full tool-use, persistent memory

Downloads

11

Readme

⚡ ArmanBot — Personal AI Agent in Telegram

Your AI agent that actually does things — not just talks.

One file. No dependencies. Just Node.js + Claude Code CLI.

What it does

  • 🛠 Executes commands — bash, git, ssh, files on your machine
  • 🧠 Remembers — persistent memory between sessions
  • 🎭 Has personality — customizable via SOUL.md
  • 🔍 Searches the web — real-time information
  • 📁 Manages files — read, write, edit, search
  • 🔊 Speaks — voice messages via ElevenLabs (optional)
  • 🏠 Controls smart home — MQTT (optional)
  • 📧 Handles email — via himalaya CLI (optional)

Quick Start

One command install (macOS/Linux):

curl -fsSL https://armanbot.kz/install.sh | bash

Manual install:

  1. Prerequisites:

  2. Clone and run:

    git clone https://github.com/armanbot-jpg/armanbot-telegram.git
    cd armanbot-telegram
    ARMANBOT_TOKEN="your-telegram-token" node bot.mjs
  3. Message your bot in Telegram. That's it.

Configuration

All config via environment variables:

| Variable | Required | Default | Description | |---|---|---|---| | ARMANBOT_TOKEN | ✅ | — | Telegram bot token from @BotFather | | ARMANBOT_MODEL | — | opus | Claude model: opus, sonnet, haiku | | ARMANBOT_TIMEOUT | — | 180000 | Request timeout in ms | | ARMANBOT_WORKSPACE | — | ~/.armanbot/workspace | Identity & memory storage | | ARMANBOT_USERS | — | allow all | Comma-separated Telegram chat IDs | | CLAUDE_BIN | — | auto-detect | Path to claude binary |

Identity System

Your agent's personality lives in the workspace:

~/.armanbot/workspace/
├── SOUL.md          # Who your agent is (personality, rules)
├── IDENTITY.md      # Quick reference card
├── AGENTS.md        # Operational rules
├── USER.md          # Info about you (auto-populated)
├── context.md       # Current state (auto-updated)
├── decisions.md     # Decision log (auto-updated)
├── memory/          # Daily notes
├── skills/          # Custom skills (SKILL.md files)
└── logs/            # Session logs

Edit SOUL.md to customize your agent's personality. The bot creates defaults on first run.

Commands

| Command | Description | |---|---| | /start | Welcome message | | /new | Start fresh session | | /status | Current session info |

Run as service

macOS (launchd):

cat > ~/Library/LaunchAgents/ai.armanbot.plist << EOF
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key><string>ai.armanbot</string>
    <key>ProgramArguments</key>
    <array><string>$(which node)</string><string>$(pwd)/bot.mjs</string></array>
    <key>RunAtLoad</key><true/>
    <key>KeepAlive</key><true/>
    <key>EnvironmentVariables</key>
    <dict>
        <key>HOME</key><string>$HOME</string>
        <key>PATH</key><string>$HOME/.local/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin</string>
        <key>ARMANBOT_TOKEN</key><string>YOUR_TOKEN</string>
    </dict>
</dict>
</plist>
EOF
launchctl load ~/Library/LaunchAgents/ai.armanbot.plist

Linux (systemd):

sudo tee /etc/systemd/system/armanbot.service << EOF
[Unit]
Description=ArmanBot AI Agent
After=network.target
[Service]
ExecStart=$(which node) $(pwd)/bot.mjs
Restart=always
User=$USER
Environment=HOME=$HOME
Environment=PATH=$HOME/.local/bin:/usr/local/bin:/usr/bin:/bin
Environment=ARMANBOT_TOKEN=YOUR_TOKEN
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl enable --now armanbot

Architecture

Telegram → bot.mjs → claude CLI (with tools) → response → Telegram
                ↕
        ~/.armanbot/workspace/
        (SOUL.md, memory, logs)

No API keys needed for Claude — uses your Claude Code CLI subscription (Max/Pro).

License

MIT

Made in Kazakhstan 🇰🇿

armanbot.kz