1. Conduid
  2. Other
  3. Hk Bot
MCP server · Other

Hk Bot

Unclaimed other
30Low

Scored 5 months ago · breakdown

About Hk Bot

Hk Bot is an MCP server in the Other category. It has been installed 0 times through Conduid.

Install

Clone
git clone https://github.com/abelski/hk_bot

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about Hk Bot

Powered by Claude · Grounded in docs

I know everything about Hk Bot. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • ·Scoped permissionsNot checked yet.

README

hk_bot

A simple Telegram bot framework for wind/kite sports updates. Commands are auto-discovered plugins — add a file to src/commands/ and it just works.

Commands

Command Description
/woo WOO Leaderboard
/windguru Wind Forecast
/hkr HKR Reviews
/iksurfmag IKSurf News
/youtube Latest video from configured YouTube channels

YouTube Russian Voiceover

When a YouTube video is fetched (via /youtube or embedded in /iksurfmag), the bot automatically:

  1. Extracts auto-generated English subtitles via yt-dlp
  2. Falls back to faster-whisper (tiny model, ~39 MB) if no subtitles exist
  3. Translates the transcript to Russian via MyMemory (free)
  4. Generates Russian TTS audio via gTTS (free, requires internet)
  5. Mixes the TTS audio into the video using ffmpeg

Two messages are sent: the voiceover version (with caption) followed by the original. If any step fails, the original video is sent silently.

Project Structure

hk_bot/
├── src/
│   ├── bot.py                  # Entry point
│   ├── api/
│   │   ├── abstract_request_command.py   # Base class for all commands
│   │   ├── abstract_cron_command.py      # Mixin for scheduled commands
│   │   └── abstract_news_command.py      # Mixin for news-style commands
│   └── commands/               # Auto-discovered command plugins
│       ├── woo_command.py
│       ├── windguru_command.py
│       ├── hkr_command.py
│       └── iksurfmag_command.py
├── requirements.txt
└── .env.example

Adding a Command

  1. Create src/commands/my_command.py
  2. Define a class extending AbstractRequestCommand
  3. Set NAME (slash command) and LABEL, implement async def run() -> str
from api.abstract_request_command import AbstractRequestCommand

class MyCommand(AbstractRequestCommand):
    NAME = "mycommand"
    LABEL = "My Command"

    async def run(self) -> str:
        return "Hello!"

The command is picked up automatically — no registration needed.

Setup

# System dependency (required for voiceover)
apt-get install -y ffmpeg   # Debian/Ubuntu/Raspberry Pi OS

pip install -r requirements.txt
cp .env.example .env
# Edit .env with your TELEGRAM_BOT_TOKEN
python src/bot.py

Note: On first run, faster-whisper will download the Whisper tiny model (~39 MB) to ~/.cache/ automatically. This only happens once.

Deploy

Push to main — GitHub Actions deploys automatically to the LXC container.

License

MIT

README mirrored from the source repository 5 months ago. The original is authoritative.

Questions

About Hk Bot

How do I install Hk Bot?

Run git clone https://github.com/abelski/hk_bot, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is Hk Bot safe to use with an AI agent?

Its trust score is 30 out of 100 (low). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Hk Bot still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.