{"id":29121193,"url":"https://github.com/itsmevictor/clean-transcribe","last_synced_at":"2026-03-10T08:32:01.250Z","repository":{"id":300980797,"uuid":"1006667445","full_name":"itsmevictor/clean-transcribe","owner":"itsmevictor","description":"A simple CLI to transcribe Youtube videos or local audio/video files and produce LLM-cleaned transcripts for analysis, reading, or subtitles.","archived":false,"fork":false,"pushed_at":"2025-11-06T21:52:24.000Z","size":82,"stargazers_count":18,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-06T23:28:39.525Z","etag":null,"topics":["cli","llm","speech-to-text","subtitles","transcription","whisper","youtube"],"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/itsmevictor.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-22T18:53:49.000Z","updated_at":"2025-10-29T13:44:27.000Z","dependencies_parsed_at":"2025-08-15T14:19:10.253Z","dependency_job_id":"41df6f2f-30b8-4e39-b462-92a3d5e8a955","html_url":"https://github.com/itsmevictor/clean-transcribe","commit_stats":null,"previous_names":["itsmevictor/youtube-to-text","itsmevictor/clean-transcribe"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/itsmevictor/clean-transcribe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmevictor%2Fclean-transcribe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmevictor%2Fclean-transcribe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmevictor%2Fclean-transcribe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmevictor%2Fclean-transcribe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsmevictor","download_url":"https://codeload.github.com/itsmevictor/clean-transcribe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmevictor%2Fclean-transcribe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30328251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T05:25:20.737Z","status":"ssl_error","status_checked_at":"2026-03-10T05:25:17.430Z","response_time":106,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cli","llm","speech-to-text","subtitles","transcription","whisper","youtube"],"created_at":"2025-06-29T16:01:16.202Z","updated_at":"2026-03-10T08:32:01.233Z","avatar_url":"https://github.com/itsmevictor.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clean Transcriber\n\nA command-line tool to turn any YouTube video, local audio or video file into a clean, readable text transcript. It uses the transcription model of your choice (local or API-based) for transcription and your preferred LLM to automatically clean and reformat the output.\n\n## Features\n\n1. **Multiple input formats**: Supports various audio and video formats for flexible usage (e.g., YouTube URL, `.mp3`, `.wav`, `.m4a`, `.opus`, `.mp4`, `.mkv`, `.mov`).\n2. **Multiple output format**: Generate clean transcripts in TXT, SRT, or VTT formats.\n3. **Flexible transcription models**: Choose from various local (Whisper, Voxtral) and API-based (OpenAI, Gemini, Mistral) models for different use cases.\n5. **LLM-powered cleaning** that removes filler words, fixes grammar, and organizes content into readable paragraphs.   \n6. **Wide LLM support** - use Gemini, ChatGPT, Claude or any other (local) LLM for cleaning.\n\n## Quick Start\n\n```bash\n# Transcribe a YouTube video\nclean-transcribe \"https://www.youtube.com/watch?v=VIDEO_ID\"\n\n# Transcribe a local video file\nclean-transcribe \"/path/to/your/video.mp4\"\n\n# Transcribe a specific segment of a video\nclean-transcribe \"https://www.youtube.com/watch?v=VIDEO_ID\" --start \"1:30\" --end \"2:30\"\n\n# Create clean subtitles from a video\nclean-transcribe \"https://www.youtube.com/watch?v=VIDEO_ID\" -f srt -o subtitles.srt\n```\n\n## Installation\n\n**Option 1: use pip:**\n```bash\npip install clean-transcribe\n```\n\n**Option 2: Install as package**\n```bash\ngit clone https://github.com/itsmevictor/clean-transcribe \u0026\u0026 cd clean-transcribe \npip install -e .\nclean-transcribe \"https://www.youtube.com/watch?v=dQw4w9WgXcQ\"   \n```\n\n## Configuration\n\n### Key Options\n- `--format, -f`: Output format (txt, srt, vtt)\n- `--model, -m`: Transcription model (whisper-tiny, whisper-base, whisper-small, whisper-medium, whisper-large, whisper-turbo, whisper-1-api, gpt-4o-transcribe-api, gpt-4o-mini-transcribe-api, gemini-2.5-pro-api, gemini-2.5-flash-api, gemini-2.5-flash-lite-api, gemini-2.0-flash-api, voxtral-mini-api, voxtral-small-api, voxtral-mini-local, voxtral-small-local)\n- `--start`: Start time for transcription (e.g., \"1:30\")\n- `--end`: End time for transcription (e.g., \"2:30\")\n- `--transcription-prompt`: Custom prompt for Whisper to guide transcription\n- `--llm-model`: LLM for cleaning (gemini-2.0-flash-exp, gpt-4o-mini, etc.)\n- `--cleaning-style`: presentation, conversation, or lecture\n- `--save-raw`: Keep both raw and cleaned versions\n- `--no-clean`: Skip AI cleaning\n\n## LLM-Powered Cleaning Setup\n\n### Quick Setup (Recommended)\n```bash\n# Install and configure Gemini (fast + cost-effective)\nllm install llm-gemini\nllm keys set gemini\n# Enter your Gemini API key when prompted\n\n# Or use any other LLM provider\n\n# OpenAI\nllm keys set openai\n\n# Anthropic Claude  \nllm install llm-claude-3\nllm keys set claude\n```\n\n*Uses Simon Willison's excellent [llm package](https://github.com/simonw/llm) for provider flexibility.*\n\n### Cleaning Process\n\n**What it does:**\n- Removes filler words (um, uh, so, like, you know, etc.)\n- Fixes grammar and punctuation errors  \n- Organizes content into logical paragraphs\n- Maintains original meaning and context\n\n**Cleaning styles:**\n- **presentation**: Professional tone, organized paragraphs\n- **conversation**: Natural flow, minimal cleanup\n- **lecture**: Educational format, clear sections for notes\n\n*Note: SRT/VTT preserve timing while cleaning text content.*\n\n## Feedback\n\nI'd love to hear your feedback! If you encounter any issues, have suggestions for new features, or just want to share your experience, please don't hesitate to [open an issue](https://github.com/itsmevictor/clean-transcribe/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsmevictor%2Fclean-transcribe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsmevictor%2Fclean-transcribe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsmevictor%2Fclean-transcribe/lists"}