{"id":29452817,"url":"https://github.com/derogab/yt-transcript","last_synced_at":"2025-07-13T23:00:33.059Z","repository":{"id":304422200,"uuid":"1018690188","full_name":"derogab/yt-transcript","owner":"derogab","description":"A Dockerized Telegram bot that downloads YouTube videos as MP3 audio and transcribes them using OpenAI Whisper","archived":false,"fork":false,"pushed_at":"2025-07-13T00:31:00.000Z","size":1152,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-13T02:37:53.175Z","etag":null,"topics":["openai-whisper","telegram","telegram-bot","whisper","youtube","youtube-transcript"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/derogab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-12T20:17:04.000Z","updated_at":"2025-07-12T23:27:20.000Z","dependencies_parsed_at":"2025-07-13T02:52:08.673Z","dependency_job_id":null,"html_url":"https://github.com/derogab/yt-transcript","commit_stats":null,"previous_names":["derogab/yt-transcript"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/derogab/yt-transcript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derogab%2Fyt-transcript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derogab%2Fyt-transcript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derogab%2Fyt-transcript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derogab%2Fyt-transcript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/derogab","download_url":"https://codeload.github.com/derogab/yt-transcript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derogab%2Fyt-transcript/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265218676,"owners_count":23729522,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["openai-whisper","telegram","telegram-bot","whisper","youtube","youtube-transcript"],"created_at":"2025-07-13T23:00:25.846Z","updated_at":"2025-07-13T23:00:33.044Z","avatar_url":"https://github.com/derogab.png","language":"Python","funding_links":["https://github.com/sponsors/derogab"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./.github/assets/logo.png\" width=\"140px\" style=\"border-radius: 50%;\"\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003eYT-Transcript\u003c/h1\u003e\n\u003cp align=\"center\"\u003eA Dockerized Telegram bot that downloads YouTube videos as MP3 audio and transcribes them using OpenAI Whisper\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n   \u003ca href=\"https://github.com/derogab/yt-transcript/actions/workflows/docker-publish.yml\"\u003e\n      \u003cimg src=\"https://github.com/derogab/yt-transcript/actions/workflows/docker-publish.yml/badge.svg\"\u003e\n   \u003c/a\u003e\n\u003c/p\u003e\n\n### Features\n\n- 🤖 Telegram bot interface\n- 🎵 Download YouTube videos as MP3 audio\n- 📝 Transcribe audio using OpenAI Whisper\n- 🔄 Automatic cleanup of temporary files\n- 📱 Support for long transcriptions (split into multiple messages)\n- 🐳 Docker containerized for easy deployment\n\n### Quick Start\n\n1. **Clone the repository:**\n   ```bash\n   git clone \u003crepository-url\u003e\n   cd yt-transcript\n   ```\n\n2. **Create environment file:**\n   ```bash\n   # Create .env file\n   echo \"TELEGRAM_TOKEN=your_telegram_bot_token_here\" \u003e .env\n   echo \"WHISPER_MODEL=base\" \u003e\u003e .env\n   ```\n\n3. **Run with Docker Compose:**\n   ```bash\n   docker-compose up -d\n   ```\n\n### Environment Variables\n\n| Variable | Description | Default |\n|----------|-------------|---------|\n| `TELEGRAM_TOKEN` | Your Telegram bot token (required) | - |\n| `WHISPER_MODEL` | Whisper model size (tiny, base, small, medium, large) | base |\n\n### Manual Docker Build\n\n```bash\n# Build the image\ndocker build -t yt-transcript-bot .\n\n# Run the container\ndocker run --env-file .env yt-transcript-bot\n```\n\n### Usage\n\n1. Start the bot using Docker\n2. Open your Telegram bot and send a YouTube URL\n3. The bot will:\n   - Download the video as MP3\n   - Transcribe the audio using Whisper\n   - Send you the transcription\n\n### Supported YouTube URL Formats\n\n- `https://www.youtube.com/watch?v=VIDEO_ID`\n- `https://youtu.be/VIDEO_ID`\n- `https://youtube.com/embed/VIDEO_ID`\n- `https://youtube.com/v/VIDEO_ID`\n\n### Bot Commands\n\n- `/start` - Show welcome message and instructions\n- `/help` - Show detailed help information\n\n### Configuration\n\n##### Whisper Models\n\nYou can change the Whisper model size by setting the `WHISPER_MODEL` environment variable:\n\n- `tiny` - Fastest, least accurate\n- `base` - Good balance (default)\n- `small` - Better accuracy\n- `medium` - High accuracy\n- `large` - Best accuracy, slowest\n\n##### Example .env file:\n```env\nTELEGRAM_TOKEN=1234567890:ABCdefGHIjklMNOpqrsTUVwxyz\nWHISPER_MODEL=base\n```\n\n##### Docker Commands\n\n```bash\n# Start the bot\ndocker-compose up -d\n\n# View logs\ndocker-compose logs -f\n\n# Stop the bot\ndocker-compose down\n\n# Rebuild and restart\ndocker-compose up -d --build\n```\n\n### Tip\nIf you like this project or directly benefit from it, please consider buying me a coffee:  \n🔗 `bc1qd0qatgz8h62uvnr74utwncc6j5ckfz2v2g4lef`  \n⚡️ `derogab@sats.mobi`  \n💶 [Sponsor on GitHub](https://github.com/sponsors/derogab)\n\n### Credits\n_YT-Transcript_ is made with ♥  by [derogab](https://github.com/derogab) and it's released under the [MIT license](./LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderogab%2Fyt-transcript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderogab%2Fyt-transcript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderogab%2Fyt-transcript/lists"}