{"id":33185898,"url":"https://github.com/ricjuanflores/subauto","last_synced_at":"2025-11-30T14:03:23.545Z","repository":{"id":273018968,"uuid":"918469612","full_name":"ricjuanflores/subauto","owner":"ricjuanflores","description":"CLI tool for transcribing, translating, and embedding subtitles in videos using Gemini AI","archived":false,"fork":false,"pushed_at":"2025-01-23T04:45:17.000Z","size":80,"stargazers_count":8,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-29T18:30:31.179Z","etag":null,"topics":[],"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/ricjuanflores.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}},"created_at":"2025-01-18T02:34:41.000Z","updated_at":"2025-08-02T20:39:27.000Z","dependencies_parsed_at":"2025-01-18T04:33:17.869Z","dependency_job_id":"cb1d8385-ca34-41f5-aed6-bdafd5efd6bd","html_url":"https://github.com/ricjuanflores/subauto","commit_stats":null,"previous_names":["ricjuanflores/subauto"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ricjuanflores/subauto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricjuanflores%2Fsubauto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricjuanflores%2Fsubauto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricjuanflores%2Fsubauto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricjuanflores%2Fsubauto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ricjuanflores","download_url":"https://codeload.github.com/ricjuanflores/subauto/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricjuanflores%2Fsubauto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27394204,"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","status":"online","status_checked_at":"2025-11-30T02:00:05.582Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-11-16T05:00:20.104Z","updated_at":"2025-11-30T14:03:23.541Z","avatar_url":"https://github.com/ricjuanflores.png","language":"Python","funding_links":["https://github.com/sponsors/ricjuanflores","https://ko-fi.com/ricjuanflores"],"categories":["\u003ca name=\"video\"\u003e\u003c/a\u003eVideo"],"sub_categories":[],"readme":"# SubAuto\n[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n\n## Description\n\n\u003cp align=\"center\"\u003e\n  \u003ca\u003e\u003cimg width=\"700\" src=\"https://cdn.jsdelivr.net/gh/ricjuanflores/static@main/gifs/transcribe-workers-simple.gif\" alt=\"Freeze code screenshot\"\u003e\u003c/a\u003e\n\u003c/p\u003e\nSubauto CLI is a command-line application written in Python that automates the process of transcribing, translating, and embedding subtitles in videos. It leverages Google's Gemini AI for translation and OpenAI's Whisper for speech recognition.\n\n## Features\n- Automated video transcription using Whisper\n- High-quality translations using Google Gemini AI\n- SRT file generation in both source and target languages\n- Automatic subtitle embedding in videos\n- Concurrent processing support for multiple videos\n- Real-time progress tracking with rich console interface\n\n## Table of Contents\n\n- [Subauto](#subauto)\n  - [Description](#description)\n  - [Features](#features)\n  - [Table of Contents](#table-of-contents)\n  - [Prerequisites](#prerequisites)\n  - [Installation](#installation)\n  - [Usage](#usage)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Prerequisites\n- Python 3.11+\n- Install [ffmpeg](https://www.ffmpeg.org/)\n- Get a [Gemini API key](https://ai.google.dev/gemini-api/docs/api-key?hl=es-419) \n\n## Installation\n\n```zsh\npip install subauto\n```\n\n\nCheck if installation is complete\n\n```\nsubauto --version\n```\nIf a version is displayed, then SubAuto is installed correctly.\n\n\u003cp align=\"left\"\u003e\n  \u003ca\u003e\u003cimg width=\"700\" src=\"https://cdn.jsdelivr.net/gh/ricjuanflores/static@main/gifs/_version.gif\" alt=\"Freeze code screenshot\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n## Usage\n\n### Set up Gemini API Key\nFirst, you need to configure your Gemini API key:\n\n```\nsubauto set-api-key 'YOUR-API-KEY'\n```\n\n### Basic Translation\n\nTranslate videos to Spanish (full command):\n```\nsubauto --directory /path/to/videos --output-directory /path/to/output --output-lang \"es\"\n```\n\nOr use the short version:\n```\nsubauto -d /path/to/videos -o /path/to/output -ol \"es\"\n```\n\n### Advanced Usage\n\n#### Concurrent Processing\nProcess multiple videos simultaneously by configuring the number of workers:\n```\nsubauto -d /path/to/videos -o /path/to/output -ol \"es\" -w 4\n```\n\n#### Optimize Transcription\nSpeed up the transcription process by specifying the source language:\n```\nsubauto -d /path/to/videos -o /path/to/output -ol \"es\" -il \"en\" -w 4\n```\n\u003e Note: If you don't specify the input language, SubAuto will automatically detect it.\n\n\u003cp align=\"left\"\u003e\n  \u003ca\u003e\u003cimg width=\"700\" src=\"https://cdn.jsdelivr.net/gh/ricjuanflores/static@main/gifs/transcribe-workers-i.gif\" alt=\"Freeze code screenshot\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Do you enjoy SubAuto or does it save your time?\n\nThen definitely consider [**supporting me on GitHub\nSponsors**](https://github.com/sponsors/ricjuanflores) or buy me a coffee:\n\n[![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/ricjuanflores)\n\nYour support will allow me to allocate time to properly maintain my projects\nlike this.\n\n# Contributing\nIf you want to contribute to this project, please use the following steps:\n\n1. Fork the project.\n2. Create a new branch (git checkout -b feature/awesome-feature).\n3. Commit your changes (git commit -m 'Add some feature').\n4. Push to the branch (git push origin feature/awesome-feature).\n5. Open a pull request.\n\n\n# License\nThis project is licensed under the MIT License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricjuanflores%2Fsubauto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fricjuanflores%2Fsubauto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricjuanflores%2Fsubauto/lists"}