This is a simple web application written in Go using the Gin framework that allows users to convert text files into SubRip (SRT) subtitle format each line has a duration of 4 second by default.
- User-Friendly Interface: The web application provides a clean and intuitive interface for users to interact with.
- File Upload: Users can upload a text file using the provided file input.
- Automatic Conversion: The uploaded text file is automatically converted to the SubRip (SRT) format.
- Go installed on your machine.
-
Clone the repository:
git clone https://github.com/your-username/subtitle-converter.git
-
Navigate to the project directory:
cd subtitle-converter
-
Run the application:
go run main.go
-
Open your web browser and go to http://localhost:8080 to access the application.
-
Try it on the follow link https://txt-to-srt.onrender.com
- Open the application in your web browser.
- Click on the "Choose File" button and select the text file you want to convert.
- Click the "Convert" button to initiate the conversion process.
This project is licensed under the MIT License.