GithubHelp home page GithubHelp logo

rerender2021 / srt2srt Goto Github PK

View Code? Open in Web Editor NEW
26.0 1.0 5.0 12 MB

A simple srt translator powered by avernakis react.

Home Page: https://rerender2021.github.io/products/srt2srt/

License: MIT License

TypeScript 97.02% JavaScript 2.98%
srt translation avernakis desktop react subtitle

srt2srt's Introduction

build pack

简介

SRT to SRT (SRT^2) 是一个简单的翻译器,原理:

  • 使用本地离线翻译服务器,逐行读取字幕文件进行翻译。目前支持离线情况下,英文翻译成中文。
  • GUI 部分则是使用 Ave React 开发的。

srt2srt-usage

使用说明

开发者向

本地开发

> npm install
> npm run dev

开发过程中需要确保本机启动了翻译服务器。可以使用 CPU 的,也可以使用支持 GPU 的。

CPU

下载后,解压到项目下,确保项目目录结构如下:

- nlp-server
    - NLP-API.exe
    - ...
- src
- ...
- package.json

GPU

环境

验证 cuda 安装成功:命令行输入 nvcc -V,看输出:

  Copyright (c) 2005-2022 NVIDIA Corporation
  Built on Tue_May__3_19:00:59_Pacific_Daylight_Time_2022
  Cuda compilation tools, release 11.7, V11.7.64
  Build cuda_11.7.r11.7/compiler.31294372_0

安装

下载后,解压到项目下,确保项目目录结构如下:

- nlp-gpu-server
    - NLP-GPU-API.exe
    - ...
- src
- ...
- package.json

打包发布

  • 生成 exe
> npm run release

开源协议

MIT

赞赏

:) 如果此软件值得赞赏,可以请作者看小说,一元足足可看八章呢。

srt2srt's People

Contributors

rerender2021 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

srt2srt's Issues

增加多个字幕文件一键翻译

如果有多个字幕文件,一个一个点有点麻烦,希望可以增加,多选择或者选择文件夹读取内部文件进行翻译

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.