🤖 hii! i'm  HexTelegram  by HexZoNetwork ✌️

HexTelegram

A powerful & modern Telegram AI assistant — streaming replies, shell + files + web + vision, multi-API failover, per-chat memory. Now in cartoony fit! (˶ᵔᵕᵔ˶)

⭐ View Source 🚀 Deploy Your Own
ʕ•ᴥ•ʔ
HTG-botonline 24/7 • never sleeps
JSTelegraf + Node.js💬
Gotools-go runner⚙️
∞tools via functions🛠️
24/7streaming chat⚡
✦ CHAT ✦ SHELL ✦ FILES ✦ WEB ✦ VISION ✦ BUTTONS ✦ MEMORY ✦ FAILOVER ✦ CHAT ✦ SHELL ✦ FILES ✦ WEB ✦ VISION ✦ BUTTONS ✦ MEMORY ✦ FAILOVER  ✦ CHAT ✦ SHELL ✦ FILES ✦ WEB ✦ VISION ✦ BUTTONS ✦ MEMORY ✦ FAILOVER ✦ CHAT ✦ SHELL ✦ FILES ✦ WEB ✦ VISION ✦ BUTTONS ✦ MEMORY ✦ FAILOVER 

✨ Features cool stuff!

💬

Chat

Streaming answers, auto-summary memory, per-chat history & rolling window.

💻

Shell + Files

shell_exec any command, file_read / write / list from /. No jail!

🌐

Web

web_search (Bing), web_fetch, web_check, web_screenshot.

✈️

Telegram Tools

Message, photo, document, buttons, edit, delete, forward, pin & more.

👁️

Vision + Files

Photo / document summarize, PDF text extraction. It can see!

🔐

Access Control

Owner + allowlist. Strangers get ignored silently. Shhh.

👥

Groups

/talk /t triggers, = ~ | prefixes, @mention, replies.

🔄

Multi-API Failover

Pool of endpoints, auto-rotate on 5xx. /addapi /delapi /apis.

🧠

Memory

Rolling window + model summaries in memory.json.

🛠️ Go Runner via execFile

Tools table — powered by tools-go: shell, files, web, screenshots, sysinfo

ToolArgsReturns
shell_execcommand, workDir, timeoutSecstdout + stderr ~8KB
file_readpathtext ~8KB
file_writepath, contentwrote <path>
file_listpathup to 100 entries
get_timetimezoneRFC3339 timestamp
calcexpressionexpr = result
web_fetch / search / check / screenshoturl / querytext, links, PNG path
sysinfo—OS, arch, CPU, mem, disk

⌨️ Commands

🎮

General

/start /new /forget /id /chatid /model /img ... — intro, clear history, IDs, model picker.

👑

Owner only

/adduser /deluser /users /addapi /delapi /apis — access & endpoint pool.

🧪

Model picker

/model c — live-tests every model, paged button UI.

🚀 Getting Started

git clone https://github.com/HexZoNetwork/HexTelegram HTG
cd HTG
cp example.config.json config.json
bash setup.sh
npm start

Requires Node 18+, Go 1.21+, optional chromium for screenshots.

⭐ Star on GitHub