This repository has been archived by the owner on Feb 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 7b5b932
Showing
162 changed files
with
11,503 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | ||
|
||
name: CI Build | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- 'README.md' | ||
branches: [ main ] | ||
pull_request: | ||
paths-ignore: | ||
- 'README.md' | ||
branches: [ main ] | ||
|
||
workflow_dispatch: | ||
inputs: | ||
generateInstaller: | ||
description: 'generateInstaller' | ||
required: true | ||
type: choice | ||
options: | ||
- 'true' | ||
- 'false' | ||
default: 'false' | ||
customizedJre: | ||
description: 'customizedJre' | ||
required: true | ||
type: choice | ||
options: | ||
- 'true' | ||
- 'false' | ||
default: 'false' | ||
|
||
jobs: | ||
bundling-for-windows: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '11' | ||
distribution: 'temurin' | ||
cache: maven | ||
- name: Build with Maven | ||
run: mvn --file pom.xml -Dplatform=windows -DgenerateInstaller=${{github.event.inputs.bundleJre}} -DcustomizedJre=${{github.event.inputs.customizedJre}} -DcreateZipball=true -DcreateTarball=false -B package | ||
- name: Archive production artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: windows | ||
path: | | ||
target/subtitles-view-*.* | ||
!target/subtitles-view-*.jar | ||
bundling-for-linux: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '11' | ||
distribution: 'temurin' | ||
cache: maven | ||
- name: Build with Maven | ||
run: mvn --file pom.xml -Dplatform=linux -DgenerateInstaller=${{github.event.inputs.bundleJre}} -DcustomizedJre=${{github.event.inputs.customizedJre}} -DcreateZipball=false -DcreateTarball=true -B package | ||
- name: Archive production artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: linux | ||
path: | | ||
target/subtitles-view-*.* | ||
!target/subtitles-view-*.jar | ||
bundling-for-mac: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '11' | ||
distribution: 'temurin' | ||
cache: maven | ||
- name: Build with Maven | ||
run: mvn --file pom.xml -Dplatform=mac -DgenerateInstaller=${{github.event.inputs.bundleJre}} -DcustomizedJre=${{github.event.inputs.customizedJre}} -DcreateZipball=false -DcreateTarball=true -B package | ||
- name: Archive production artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: mac | ||
path: | | ||
target/subtitles-view-*.* | ||
!target/subtitles-view-*.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
HELP.md | ||
target/ | ||
!.mvn/wrapper/maven-wrapper.jar | ||
!**/src/main/** | ||
!**/src/test/** | ||
|
||
### STS ### | ||
.apt_generated | ||
.classpath | ||
.factorypath | ||
.project | ||
.settings | ||
.springBeans | ||
.sts4-cache | ||
|
||
### IntelliJ IDEA ### | ||
.idea | ||
*.iws | ||
*.iml | ||
*.ipr | ||
|
||
### NetBeans ### | ||
/nbproject/private/ | ||
/nbbuild/ | ||
/dist/ | ||
/nbdist/ | ||
/.nb-gradle/ | ||
build/ | ||
|
||
### VS Code ### | ||
.vscode/ | ||
/src/test | ||
|
||
### custom ### | ||
/logs | ||
/src/test/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2021 fordes123 | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# Subtitles-View | ||
|
||
[![stars](https://img.shields.io/github/stars/fordes123/Subtitles-View?color=%23e74c3c)]() | ||
[![forks](https://img.shields.io/github/forks/fordes123/Subtitles-View?color=%232ecc71)]() | ||
[![release](https://img.shields.io/github/v/release/fordes123/Subtitles-View.svg)](https://github.com/fordes123/Subtitles-View/releases) | ||
[![license](https://img.shields.io/github/license/fordes123/Subtitles-View?color=%239b59b6)](https://opensource.org/licenses/MIT) | ||
| ||
|
||
这是一个基于`JavaFX`的程序,致力于简单、优雅、高效处理和编辑字幕。适配SRT、ASS等字幕格式,并且支持视频语音转换与字幕翻译,欢迎体验. | ||
|
||
|
||
## ✨ 特性 | ||
|
||
- 🎁 现代化的界面,简洁明快 | ||
- 🦄 在线语音转换,简单为视频生成字幕并翻译 | ||
- ☑️ 多种视频与字幕格式支持 | ||
- ✏ 便捷化字幕编辑功能,帮助快速修正机器翻译 | ||
- 🎯 在线的字幕搜索与下载 | ||
- 🎈 深色浅色模式一键切换 | ||
- ⛏ 更多特性待开发... | ||
|
||
## 🎉 应用界面 | ||
|
||
![浅色模式](./screenshot/home.png "⚠️界面可能已经更新,请以具体程序为准") | ||
|
||
## ☑️ TODO | ||
|
||
- [x] 框架搭建以及迁移重构 | ||
- [x] UI调整,深浅色跟随系统等 | ||
- [x] 字幕搜索、下载支持:`字幕库`、`伪射手网`、`A4k字幕网` | ||
- [x] 文字翻译服务适配:`百度翻译`、`阿里翻译`、`腾讯翻译`、`火山翻译` | ||
- [ ] 语音转换服务适配 | ||
- [ ] 简单的视频处理支持,如字幕分离、水印、格式转换等 | ||
|
||
## 🧑🏻🔧技术栈 | ||
|
||
- `Maven` | ||
- `JavaFX` | ||
- `SpringBoot` | ||
- `SQLite` | ||
- `Mybatis-Plus` | ||
|
||
## 📢 项目说明 | ||
|
||
- 兴趣之作,欢迎提出任何修改意见,但不保证任何更新以及功能的可靠性 | ||
- 设计支持跨平台,但未经测试,现阶段以`Windows`平台为主 | ||
- 程序无任何收费和用户信息收集行为。所有在线服务如:语音转写、在线翻译均为第三方提供,与本程序无关 | ||
|
||
## 🛠 快速开始 | ||
|
||
### 从源代码构建 | ||
|
||
```shell | ||
# 请保证你的JDK版本不低于11,否则无法通过编译 | ||
git clone https://github.com/fordes123/subtitles-view.git | ||
cd subtitles-view | ||
mvn clean install | ||
mvn run | ||
``` | ||
|
||
或者 | ||
|
||
fork 本项目, 在 `WorkFlows` 中运行 `CI Build`, Github Action 将根据配置自动为你构建对应程序包 | ||
<details> | ||
<summary>查看引导</summary> | ||
<img src="./screenshot/action.png" alt=""> | ||
</details> | ||
|
||
### 获取可执行文件 | ||
|
||
- 正式发行版 [🚀 Releases](https://github.com/fordes123/Subtitles-View/releases/) | ||
- 自动构建的测试版 [🤖 CI](https://github.com/fordes123/subtitles-view/actions) | ||
|
||
(由于正在积极开发中,暂时没有 Release 版本,预览以及体验可使用 CI 版本) | ||
|
||
## 🤝 交流反馈 | ||
|
||
- 提交 [📌Issues](https://github.com/fordes123/Subtitles-View/issues) | ||
- 博客评论区 [📌Blog Page](https://blog.fordes.top/archives/subtitles-view.html) | ||
|
||
## 📜 开源许可 | ||
|
||
- 基于 [MIT license](https://opensource.org/licenses/MIT) 许可进行开源。 |
Oops, something went wrong.