Giter Site home page Giter Site logo

txt-to-srt-converter's Introduction

TXT to SRT Converter

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.

Features

  • 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.

Getting Started

Prerequisites

  • Go installed on your machine.

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/subtitle-converter.git
  2. Navigate to the project directory:

    cd subtitle-converter
  3. Run the application:

    go run main.go
  4. Open your web browser and go to http://localhost:8080 to access the application.

  5. Try it on the follow link https://txt-to-srt.onrender.com

Usage

  1. Open the application in your web browser.
  2. Click on the "Choose File" button and select the text file you want to convert.
  3. Click the "Convert" button to initiate the conversion process.

License

This project is licensed under the MIT License.

txt-to-srt-converter's People

Contributors

zhou1925 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.