{"id":15136506,"url":"https://github.com/aspadax/subtitlegenerator","last_synced_at":"2026-02-17T22:03:05.236Z","repository":{"id":250283749,"uuid":"832930698","full_name":"AspadaX/SubtitleGenerator","owner":"AspadaX","description":"Automatically generate a subtitle for your video. ","archived":false,"fork":false,"pushed_at":"2024-07-28T16:13:51.000Z","size":118071,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T14:34:16.874Z","etag":null,"topics":["gpt","machine-learning","openai","rust","streamlit","subtitles-generator","whisper"],"latest_commit_sha":null,"homepage":"https://github.com/AspadaX/SubtitleGenerator","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AspadaX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-07-24T02:54:33.000Z","updated_at":"2025-01-13T03:56:00.000Z","dependencies_parsed_at":"2025-02-08T14:41:40.503Z","dependency_job_id":null,"html_url":"https://github.com/AspadaX/SubtitleGenerator","commit_stats":null,"previous_names":["aspadax/subtitlegenerator"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AspadaX%2FSubtitleGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AspadaX%2FSubtitleGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AspadaX%2FSubtitleGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AspadaX%2FSubtitleGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AspadaX","download_url":"https://codeload.github.com/AspadaX/SubtitleGenerator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245542425,"owners_count":20632486,"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":["gpt","machine-learning","openai","rust","streamlit","subtitles-generator","whisper"],"created_at":"2024-09-26T06:22:17.936Z","updated_at":"2025-10-17T15:15:49.504Z","avatar_url":"https://github.com/AspadaX.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Subtitle Generator\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/AspadaX/SubtitleGenerator/blob/main/assets/7271-ezgif.com-video-to-gif-converter.gif\" alt=\"SubtitleGenerator GIF\"\u003e\n\u003c/p\u003e\n\nUpload your video and get subtitles. \n\n## Table of Contents\n\n- [Subtitle Generator](#subtitle-generator)\n  - [Table of Contents](#table-of-contents)\n  - [Features](#features)\n  - [Requirements](#requirements)\n  - [Installation](#installation)\n    - [Prepare the model file](#prepare-the-model-file)\n    - [Docker Installation](#docker-installation)\n  - [Usage](#usage)\n  - [Project Structure](#project-structure)\n  - [Contributing](#contributing)\n  - [License](#license)\n  - [Acknowledgments](#acknowledgments)\n\n## Features\n\n- Subtitle generation using a pre-trained model.\n- Easy-to-use web interface built with Streamlit.\n- Efficient processing with NVIDIA CUDA.\n\n## Requirements\n\n- Docker\n- NVIDIA GPU and drivers compatible with CUDA 12.4.1\n\n## Installation\n\n### Prepare the model file\n\n1. Download the [model](https://hf-mirror.com/ChrisZais/whisperapp/resolve/main/x-ggml-model.zh.bin?download=true) and place the weight to `./model`\n\n### Docker Installation\n\n1. **Clone the Repository**\n\n   ```sh\n   git clone https://github.com/yourusername/subtitle-generator.git\n   cd subtitle-generator\n   ```\n\n2. **Build the Docker Image**\n\n   ```sh\n   docker compose up -d\n   ```\n\nThis will start the application, and you can access the Streamlit interface at [http://localhost:8501](http://localhost:8501).\n\n## Usage\n\n1. **Access the Web Interface**\n\n   Open your web browser and navigate to [http://localhost:8501](http://localhost:8501).\n\n2. **Upload Video**\n\n   Use the provided interface to upload your video file.\n\n3. **Generate Subtitles**\n\n   The backend will process the video, and subtitles will be generated and downloaded to your local computer.\n\n## Project Structure\n\n```plaintext\n.\n├── Dockerfile\n├── README.md\n├── app.py\n├── core\n│   └── ... (pre-built Rust backend binary and necessary files)\n├── requirements.txt\n└── start.sh\n```\n\n- `Dockerfile`: The Dockerfile to build the project container.\n- `README.md`: This README file.\n- `app.py`: The Streamlit application code.\n- `core/`: Directory containing the pre-built Rust backend binary.\n- `requirements.txt`: Python dependencies file.\n- `start.sh`: Script to start the backend and frontend.\n\n## Contributing\n\nContributions are welcome! Please follow these steps:\n\n1. Fork the repository.\n2. Create a new branch (`git checkout -b feature-branch`).\n3. Make your changes.\n4. Commit your changes (`git commit -am 'Add new feature'`).\n5. Push to the branch (`git push origin feature-branch`).\n6. Create a new Pull Request.\n\n## License\n\nThis project is for non-commercial usages. For commercial usages, please contact the author: `baoxinyuworks@163.com`\n\n## Acknowledgments\n\n- NVIDIA for providing the CUDA base image.\n- Streamlit for the easy-to-use web application framework.\n- Tsinghua University for their software mirror.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faspadax%2Fsubtitlegenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faspadax%2Fsubtitlegenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faspadax%2Fsubtitlegenerator/lists"}