0T

0xtbug/telbot

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

85 stars 品質 44 トレンド 15

Telegram Bot、Term CLI、またはMCP Server(AIエージェント向け)を介してTelkomselアカウントを管理するGoベースのツール.

概要

Telkomsel のアカウントを、、または(AI のエージェントのために)管理するための Go ベースのツール。 - セッションキャッシュでSMS OTPログイン - プロファイル、残高、クォータチェック - 连续ブラウザ推奨パッケージ - 購入パッケージ(Pulsa / QRIS) - & Auto-buyモニター(クォータが枯渇しているとき、またはカスタムMBのししきの下にある自動購入) - OTP webhook経由で自動再ログイン(手動介入なしでセッション更新) - エージェントの統合のためのAIのMCPサーバー Go をインストールしたり、自分でビルドしたくない場合は、このリポジトリのページから直接 Windows、Linux、および macOS 用のコンパイル済み実行ファイルをダウンロードできます。 バイナリをグローバルにインストールするには、任意のフォルダからtelbotを実行できます。 1。 リリースページから適切なバイナリをダウンロードします。 2。 実行可能ファイルを作ります: 3. お使いのグローバルビンディレクトリに移動: 4。 お使いの端末のどこからでもtelbotを実行できるようになりました。 1。 リリースページから実行可能Windows .exeをダウンロードします。 2. ダウンロードしたファイルをtelbot.exeに変更します。 3.

概要(AI 翻訳)

Telegram Bot、Terminal CLI、またはMCP Serverを介してTelkomselアカウントを管理するためのGoベースのツール。

##特徴

  • セッションキャッシュでSMS OTPログイン
  • プロフィール、バランス、引用語句の点検
  • おすすめパッケージ
  • 購入パッケージ(Pulsa / QRIS) ・オートビューイモニター(クオート購入時、カスタムMB未満)
  • OTPのwebhookによる自動再ログイン(手動介入なしでセッション更新)
  • AIエージェントの統合のためのMCPサーバー

クイックスタート

モード

| フラグ | 説明 | お問い合わせ | [--bot | 電報ボット(.env) 設定 | | [--cli | インタラクティブ端末 UI | | [--mcp | AIエージェント向けMCPサーバー |

インストール(ビルド済みのバイナリ)

Go をインストールしたり、自分でビルドしたくない場合は、このリポジトリのReleasesページから直接 Windows、Linux、および macOS 用のコンパイル済み実行ファイルをダウンロードできます。

バイナリをグローバルにインストールするには、任意のフォルダーから[telbot]を実行できます。

Linux / macOS: 1。 リリースページから適切なバイナリをダウンロードします。 2. 実行可能ファイルを作る:

3。 グローバルな bin ディレクトリに移動します。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Telbot

Go-based tool for managing Telkomsel accounts via Telegram Bot, Terminal CLI, or MCP Server (for AI agents).

Features

  • 🔑 SMS OTP login with session caching
  • 📊 Profile, balance, quota checking
  • 📦 Browse recommended packages
  • 🛍️ Purchase packages (Pulsa / QRIS)
  • ⏰ Auto-buy monitor (auto-purchase when quota is depleted or below a custom MB threshold)
  • 🔄 Auto re-login via OTP webhook (session renewal without manual intervention)
  • 🤖 MCP server for AI agent integration

Quick Start

git clone https://github.com/0xtbug/telbot
cd telbot
cp .env.example .env   # fill in your tokens
go mod tidy

Modes

Flag Description
--bot Telegram bot (requires .env config)
--cli Interactive terminal UI (Bubbletea)
--mcp MCP server for AI agents (stdio)
go run . --bot       # Telegram bot
go run . --cli       # Terminal UI
go run . --mcp       # MCP server

Installation (Pre-built Binaries)

If you don’t want to install Go or build it yourself, you can download the pre-compiled executables for Windows, Linux, and macOS directly from the Releases page of this repository.

To install the binary globally so you can run telbot from any folder:

Linux / macOS:

  1. Download the appropriate binary from the Releases page.
  2. Make the file executable:
    chmod +x telbot-linux-amd64  # Replace with your downloaded file name
    
  3. Move it to your global bin directory:
    sudo mv telbot-linux-amd64 /usr/local/bin/telbot
    
  4. You can now run telbot from anywhere in your terminal.

Windows:

  1. Download the Windows .exe executable from the Releases page.
  2. Rename the downloaded file to telbot.exe.
  3. Move it to a permanent folder, for example C:\telbot\.
  4. Open the Windows Start menu, search for Edit the system environment variables, and open it.
  5. Click Environment Variables, find Path in the System variables list, and click Edit.
  6. Click New, add C:\telbot\, and click OK to save everything.
  7. You can now run telbot from any new PowerShell or Command Prompt window.

Environment Variables

Variable Required Description
TELKOMSEL_BOT_TOKEN Bot mode Telegram bot token from BotFather
TELEGRAM_ADMIN_ID Bot mode Your Telegram user ID
OTP_WEBHOOK_PORT Optional Port for OTP webhook listener (e.g. 8081)
OTP_WEBHOOK_SECRET Optional Shared secret for webhook authentication

You can either export these directly in your terminal, or place them in a .env file located in your platform’s standard configuration directory:

  • Windows: %APPDATA%\telbot\.env (e.g., C:\Users\\AppData\Roaming\telbot\.env)
  • Linux/macOS: ~/.config/telbot/.env

🤖 AI Agent Integration (OpenClaw)

GitHub で README 全文を見る

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add 0xtbug/telbot
MCP 初心者?mcpskill.org のガイドから始めましょう →