0T

0xtbug/telbot

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

85 stars 품질 44 트렌드 15

Telegram Bot, Terminal CLI 또는 MCP Server(AI Agent용)를 통해 Telkomsel 계정 관리를위한 Go 기반 도구.

개요

Telkomsel 계정 관리를위한 Go 기반 도구 , , 또는 (AI 에이전트). - 세션 캐싱과 함께 SMS OTP 로그인 - O 프로필, 균형, 할당량 검사 - ܧ Browse 권장 패키지 - ≯️ 구매 패키지 (Pulsa / QRIS) - Ő Auto-buy 모니터 (쿼타가 또는 사용자 정의 MB 임계값 아래에서 자동 구매) - OTP 웹훅을 통해 자동 재 로그인 (설명서 상호 변환없이 세션 갱신) - AI 에이전트 통합을위한 MCP 서버 이동을 설치하거나 직접 빌드하지 않으려면 Windows, Linux 및 macOS의 사전 컴파일 실행을 다운로드 할 수 있습니다. 이 저장소의 페이지에서 직접. telbot을 실행할 수 있습니다. 1. 릴리스 페이지에서 적절한 바이너리를 다운로드합니다. 2. 파일 실행을 확인합니다 : 3. 글로벌 빈 디렉토리로 이동합니다. 4. 이제 터미널에서 telbot을 실행할 수 있습니다. 1. 릴리스 페이지에서 Windows .exe 실행을 다운로드합니다. 2. telbot.exe에 다운로드 된 파일을 이름. 3. 명세.

개요(AI 번역)

Telegram Bot, Terminal CLI, 또는 MCP Server(AI Agent용)를 통해 Telkomsel 계정 관리에 기반한 도구입니다.

특징

  • 세션 캐싱과 SMS OTP 로그인
    • 프로필, 균형, 할당량 검사
  • ☸ Browse 권장 패키지
  • ∅️ 구매 패키지 (Pulsa / QRIS)
  • 자동 구매 모니터 (쿼타가 사용자 정의 MB 임계값의 밑에 depleted 때 자동 추적)
  • OTP 웹훅을 통해 자동 재로그인 (설명서 개입없이 세션 갱신)
  • AI Agent 통합을 위한 MCP 서버

빠른 시작

형태

플래그 Description
--bot 텔레그램 봇 ([T1] config)
[T2] 인터렉티브 터미널 UI(Bubbletea)
--mcp AI Agent용 MCP 서버

설치 (Pre-build Binaries)

Go를 설치하거나 직접 빌드하지 않으려면 Windows, Linux 및 macOS의 사전 컴파일 실행을 다운로드 할 수 있습니다 Releases 이 저장소의 페이지.

바이너리를 전 세계적으로 설치하기 위해 당신은 어떤 폴더에서 telbot]을 실행할 수 있습니다:

** 리눅스 / macOS:**

  1. 릴리스 페이지에서 적절한 바이너리를 다운로드합니다.

  2. 파일 실행을 만드십시오:

  3. 글로벌 빈 디렉토리로 이동:

  4. 명세.

이 페이지는 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 가이드부터 시작하세요 →