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

Hk Bot

Unclaimed other
30Low

Scored 6 months ago · breakdown

About Hk Bot

Hk Bot is an MCP server published by abelski in the Other category.

Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
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 presentThe repository ships documentation.

5 checks have not been run 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 copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Hk Bot

How do I install Hk Bot?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Hk Bot safe to use with an AI agent?

Its trust score is 30 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Hk Bot still maintained?

Yes — the last commit was 7 days ago. The repository has 0 stars and 0 forks.