auto-subtitle icon indicating copy to clipboard operation
auto-subtitle copied to clipboard

Add Docker support and Windows installation script

Open tomaspemora opened this issue 7 months ago • 2 comments

  • Created a Dockerfile to containerize the autosubtitle application, allowing for easy setup and execution in an isolated environment.
  • Added a PowerShell installation script (install.ps1) for Windows users, simplifying the process of adding the script to the system PATH and configuring the environment for immediate use.
  • These additions enhance the usability of the autosubtitle application, making it more accessible and convenient for users on various platforms.

tomaspemora avatar Dec 21 '23 14:12 tomaspemora

PR Summary

  • Introduction of a Dockerfile The new Dockerfile outlines the steps needed to setup the necessary tools such as ffmpeg and git. It also includes commands to clone a specific repository and get everything ready to go within it.

  • Creation of a PowerShell Script for Video Processing There is now an autosub.ps1 PowerShell script. This intelligent script takes in command line arguments and runs Docker commands to process video files using our new auto-subtitle Docker image. Significantly simplifying and automating the video file processing task.

  • Addition of a Script for Docker Image Setup A new install.ps1 PowerShell script is added which builds the Docker image for auto-subtitling. It will create a dedicated directory and copy the autosub.ps1 script there. It also takes care of updating the PATH environment variable so the new directory can be easily accessed. This script aims to streamline the setup process for utilizing this automated solution.

what-the-diff[bot] avatar Dec 21 '23 14:12 what-the-diff[bot]

Apply Sweep Rules to your PR?

  • [ ] Apply: All new business logic should have corresponding unit tests.
  • [ ] Apply: Refactor large functions to be more modular.
  • [ ] Apply: Add docstrings to all functions and file headers.

sweep-ai[bot] avatar Dec 21 '23 14:12 sweep-ai[bot]