From 2aba40d5eff4a3667f52990acd844a420efd5782 Mon Sep 17 00:00:00 2001 From: pluja <64632615+pluja@users.noreply.github.com> Date: Wed, 18 Oct 2023 11:02:42 +0200 Subject: [PATCH 1/7] Update issue templates --- .../\360\237\252\262-bug-report.md" | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 ".github/ISSUE_TEMPLATE/\360\237\252\262-bug-report.md" diff --git "a/.github/ISSUE_TEMPLATE/\360\237\252\262-bug-report.md" "b/.github/ISSUE_TEMPLATE/\360\237\252\262-bug-report.md" new file mode 100644 index 0000000..c4a0f54 --- /dev/null +++ "b/.github/ISSUE_TEMPLATE/\360\237\252\262-bug-report.md" @@ -0,0 +1,32 @@ +--- +name: "\U0001FAB2 Bug report" +about: Create a report to help improve whishper +title: "[BUG] " +labels: bug +assignees: pluja + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Device (please complete the following information):** + - OS: [e.g. iOS] + - Browser [e.g. chrome, safari] + - Version [e.g. 22] + +**Additional context** +Add any other context about the problem here. From f06b783d0acc09d20a341c7e29e09d2883ddda97 Mon Sep 17 00:00:00 2001 From: pluja <64632615+pluja@users.noreply.github.com> Date: Wed, 18 Oct 2023 11:04:55 +0200 Subject: [PATCH 2/7] Update issue templates --- .../\342\234\250-feature-request.md" | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ".github/ISSUE_TEMPLATE/\342\234\250-feature-request.md" diff --git "a/.github/ISSUE_TEMPLATE/\342\234\250-feature-request.md" "b/.github/ISSUE_TEMPLATE/\342\234\250-feature-request.md" new file mode 100644 index 0000000..3947842 --- /dev/null +++ "b/.github/ISSUE_TEMPLATE/\342\234\250-feature-request.md" @@ -0,0 +1,20 @@ +--- +name: "✨ Feature request" +about: Suggest an idea for this project +title: "[Feature] " +labels: enhancement +assignees: pluja + +--- + +**Description of the feature you are requesting:** +A clear and concise description of what the problem or new feature is. Ex. As a user, I'd like to be able to [....] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. From ac61cd57677878534e1f6080349286769ab9de63 Mon Sep 17 00:00:00 2001 From: pluja <64632615+pluja@users.noreply.github.com> Date: Wed, 18 Oct 2023 11:05:56 +0200 Subject: [PATCH 3/7] Update issue templates --- ".github/ISSUE_TEMPLATE/\342\234\250-feature-request.md" | 2 +- ".github/ISSUE_TEMPLATE/\360\237\252\262-bug-report.md" | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git "a/.github/ISSUE_TEMPLATE/\342\234\250-feature-request.md" "b/.github/ISSUE_TEMPLATE/\342\234\250-feature-request.md" index 3947842..b76a984 100644 --- "a/.github/ISSUE_TEMPLATE/\342\234\250-feature-request.md" +++ "b/.github/ISSUE_TEMPLATE/\342\234\250-feature-request.md" @@ -1,7 +1,7 @@ --- name: "✨ Feature request" about: Suggest an idea for this project -title: "[Feature] " +title: "[Feature] Feature Title" labels: enhancement assignees: pluja diff --git "a/.github/ISSUE_TEMPLATE/\360\237\252\262-bug-report.md" "b/.github/ISSUE_TEMPLATE/\360\237\252\262-bug-report.md" index c4a0f54..ca5a7ac 100644 --- "a/.github/ISSUE_TEMPLATE/\360\237\252\262-bug-report.md" +++ "b/.github/ISSUE_TEMPLATE/\360\237\252\262-bug-report.md" @@ -1,7 +1,7 @@ --- name: "\U0001FAB2 Bug report" about: Create a report to help improve whishper -title: "[BUG] " +title: "[BUG] Bug Title" labels: bug assignees: pluja From 7d1e3a6b996f3ed5201e76ed48dd10d5ade54c78 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Oct 2023 09:22:21 +0000 Subject: [PATCH 4/7] Bump github.com/gofiber/fiber/v2 from 2.49.2 to 2.50.0 in /backend Bumps [github.com/gofiber/fiber/v2](https://github.com/gofiber/fiber) from 2.49.2 to 2.50.0. - [Release notes](https://github.com/gofiber/fiber/releases) - [Commits](https://github.com/gofiber/fiber/compare/v2.49.2...v2.50.0) --- updated-dependencies: - dependency-name: github.com/gofiber/fiber/v2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- backend/go.mod | 6 +++--- backend/go.sum | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/backend/go.mod b/backend/go.mod index 89b8e27..0e10275 100644 --- a/backend/go.mod +++ b/backend/go.mod @@ -5,7 +5,7 @@ go 1.20 require ( github.com/goccy/go-json v0.10.2 github.com/gofiber/contrib/websocket v1.2.0 - github.com/gofiber/fiber/v2 v2.49.2 + github.com/gofiber/fiber/v2 v2.50.0 github.com/rs/zerolog v1.30.0 github.com/snakesel/libretranslate v0.0.2 github.com/wader/goutubedl v0.0.0-20230817095831-89e825670ccd @@ -26,7 +26,7 @@ require ( github.com/rivo/uniseg v0.2.0 // indirect github.com/savsgio/gotils v0.0.0-20230208104028-c358bd845dee // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect - github.com/valyala/fasthttp v1.49.0 // indirect + github.com/valyala/fasthttp v1.50.0 // indirect github.com/valyala/tcplisten v1.0.0 // indirect github.com/xdg-go/pbkdf2 v1.0.0 // indirect github.com/xdg-go/scram v1.1.2 // indirect @@ -34,7 +34,7 @@ require ( github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d // indirect golang.org/x/crypto v0.7.0 // indirect golang.org/x/sync v0.1.0 // indirect - golang.org/x/sys v0.12.0 // indirect + golang.org/x/sys v0.13.0 // indirect golang.org/x/text v0.8.0 // indirect golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect ) diff --git a/backend/go.sum b/backend/go.sum index 4d5f478..acfb72f 100644 --- a/backend/go.sum +++ b/backend/go.sum @@ -12,8 +12,8 @@ github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MG github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/gofiber/contrib/websocket v1.2.0 h1:E+GNxglSApjJCPwH1y3wLz69c1PuSvADwhMBeDc8Xxc= github.com/gofiber/contrib/websocket v1.2.0/go.mod h1:Sf8RYFluiIKxONa/Kq0jk05EOUtqrb81pJopTxzcsX4= -github.com/gofiber/fiber/v2 v2.49.2 h1:ONEN3/Vc+dUCxxDgZZwpqvhISgHqb+bu+isBiEyKEQs= -github.com/gofiber/fiber/v2 v2.49.2/go.mod h1:gNsKnyrmfEWFpJxQAV0qvW6l70K1dZGno12oLtukcts= +github.com/gofiber/fiber/v2 v2.50.0 h1:ia0JaB+uw3GpNSCR5nvC5dsaxXjRU5OEu36aytx+zGw= +github.com/gofiber/fiber/v2 v2.50.0/go.mod h1:21eytvay9Is7S6z+OgPi7c7n4++tnClWmhpimVHMimw= github.com/golang/snappy v0.0.1 h1:Qgr9rKW7uDUkrbSmQeiDsGa8SjGyCOGtuasMWwvp2P4= github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= @@ -49,8 +49,8 @@ github.com/snakesel/libretranslate v0.0.2/go.mod h1:B8F8Dda8RlkHRMzs/aw8DWj9HfyH github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= -github.com/valyala/fasthttp v1.49.0 h1:9FdvCpmxB74LH4dPb7IJ1cOSsluR07XG3I1txXWwJpE= -github.com/valyala/fasthttp v1.49.0/go.mod h1:k2zXd82h/7UZc3VOdJ2WaUqt1uZ/XpXAfE9i+HBC3lA= +github.com/valyala/fasthttp v1.50.0 h1:H7fweIlBm0rXLs2q0XbalvJ6r0CUPFWK3/bB4N13e9M= +github.com/valyala/fasthttp v1.50.0/go.mod h1:k2zXd82h/7UZc3VOdJ2WaUqt1uZ/XpXAfE9i+HBC3lA= github.com/valyala/tcplisten v1.0.0 h1:rBHj/Xf+E1tRGZyWIWwJDiRY0zc1Js+CV5DqwacVSA8= github.com/valyala/tcplisten v1.0.0/go.mod h1:T0xQ8SeCZGxckz9qRXTfG43PvQ/mcWh7FwZEA7Ioqkc= github.com/wader/goutubedl v0.0.0-20230817095831-89e825670ccd h1:XPyQDsvxm+Kawdk41tpvODAEcm24h9vVR/aZTI0tGAk= @@ -92,8 +92,8 @@ golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o= -golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= +golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= From 53fe46e86d992e818aca19552f1d0b88f7eb018e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Oct 2023 09:36:04 +0000 Subject: [PATCH 5/7] Bump postcss from 8.4.28 to 8.4.31 in /frontend Bumps [postcss](https://github.com/postcss/postcss) from 8.4.28 to 8.4.31. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.4.28...8.4.31) --- updated-dependencies: - dependency-name: postcss dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- frontend/package.json | 2 +- frontend/yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index c76c3b7..918d018 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -18,7 +18,7 @@ "eslint": "^8.28.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-svelte": "^2.30.0", - "postcss": "^8.4.28", + "postcss": "^8.4.31", "prettier": "^2.8.0", "prettier-plugin-svelte": "^2.10.1", "svelte": "^4.0.5", diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 848f3a0..b5a3c45 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -1435,10 +1435,10 @@ postcss-value-parser@^4.0.0, postcss-value-parser@^4.2.0: resolved "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz" integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== -postcss@^8, postcss@^8.4.23, postcss@^8.4.25, postcss@^8.4.27, postcss@^8.4.28, postcss@^8.4.5: - version "8.4.28" - resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.28.tgz" - integrity sha512-Z7V5j0cq8oEKyejIKfpD8b4eBy9cwW2JWPk0+fB1HOAMsfHbnAXLLS+PfVWlzMSLQaWttKDt607I0XHmpE67Vw== +postcss@^8, postcss@^8.4.23, postcss@^8.4.25, postcss@^8.4.27, postcss@^8.4.31, postcss@^8.4.5: + version "8.4.31" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.31.tgz#92b451050a9f914da6755af352bdc0192508656d" + integrity sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ== dependencies: nanoid "^3.3.6" picocolors "^1.0.0" From be5081c8953ffa153dc7fc96be3dc24f3cb2db27 Mon Sep 17 00:00:00 2001 From: pluja <64632615+pluja@users.noreply.github.com> Date: Thu, 19 Oct 2023 06:32:50 +0200 Subject: [PATCH 6/7] Update README.md --- README.md | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 2b76210..907cc65 100644 --- a/README.md +++ b/README.md @@ -2,28 +2,30 @@ # [Whishper](https://whishper.net) -Whishper (formerly known as Web Whisper Plus) is a complete transcription suite. In simple words, it is a frontend for OpenAI's Whisper, but with batteries included! +Whishper (formerly known as Web Whisper Plus) is a complete transcription suite. In simple words, it is a frontend for the Whisper model family, but [with batteries included](#features)! > [Checkout the website for more information](https://whishper.net) -> [Demo videos available in the usage guide](https://whishper.net/usage/transcriptions/) +> [Show me the screenshots!](#screenshots) + +> [Self-hosting docs](https://whishper.net/guides/install/) ## Features - Transcribe any media to text: audio, video, etc. - Transcribe from URLs (any source supported by yt-dlp). - Upload a file to transcribe. -- Download result in many formats: TXT, JSON, VTT, SRT or copy the raw text to your clipboard. +- Download transcriptions in many formats: TXT, JSON, VTT, SRT or copy the raw text to your clipboard. - Translate your transcriptions to any language supported by [Libretranslate](https://libretranslate.com). - Edit your subtitles in a comfy and complete web UI! + - Transcription highlighting based on media position. + - CPS (Characters per second) warnings. + - Segment splitting. + - Segment insertion. - Subtitle language selection. - - Sentence splitting. - - Large CPS (Characters per second) warnings. - - See current transcription based on media position. - - Insert new segments to the subtitles. -- Private: transcription, translation and subtitle edition happen 100% locally (can work offline!). +- 100% Local: transcription, translation and subtitle edition happen 100% on your machine (can even work offline!). - Fast: uses FasterWhisper as the Whisper backend: get much faster transcription times on CPU! -- Local: transcripted files are stored locally, and you can download them! +- Quick setup: the setup involves just a docker-compose and you're good to go! ### Coming soon @@ -55,6 +57,15 @@ Contributions are welcome! Feel free to open a PR with your changes, or take a l Check out the development documentation [here](https://whishper.net/guides/development/). +## Screenshots + +These screenshots are available on [the official website](https://whishper.net/usage/transcriptions/), click any of the following links to see: + +- [A transcription creation](https://whishper.net/usage/transcriptions/) +- [A transcription translation](https://whishper.net/usage/translate/) +- [A transcription download](https://whishper.net/usage/download/) +- [The subtitle editor](https://whishper.net/usage/editor/) + ## Credits - [Faster Whisper](https://github.com/guillaumekln/faster-whisper) From f0e07f449071585047a2e781549368fced858708 Mon Sep 17 00:00:00 2001 From: pluja <64632615+pluja@users.noreply.github.com> Date: Thu, 19 Oct 2023 06:34:50 +0200 Subject: [PATCH 7/7] Update README.md --- README.md | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 907cc65..fdcf43a 100644 --- a/README.md +++ b/README.md @@ -4,30 +4,28 @@ Whishper (formerly known as Web Whisper Plus) is a complete transcription suite. In simple words, it is a frontend for the Whisper model family, but [with batteries included](#features)! -> [Checkout the website for more information](https://whishper.net) - > [Show me the screenshots!](#screenshots) > [Self-hosting docs](https://whishper.net/guides/install/) ## Features -- Transcribe any media to text: audio, video, etc. +- [x] Transcribe any media to text: audio, video, etc. - Transcribe from URLs (any source supported by yt-dlp). - Upload a file to transcribe. -- Download transcriptions in many formats: TXT, JSON, VTT, SRT or copy the raw text to your clipboard. -- Translate your transcriptions to any language supported by [Libretranslate](https://libretranslate.com). -- Edit your subtitles in a comfy and complete web UI! +- [x] Download transcriptions in many formats: TXT, JSON, VTT, SRT or copy the raw text to your clipboard. +- [x] Translate your transcriptions to any language supported by [Libretranslate](https://libretranslate.com). +- [x] Edit your subtitles in a comfy and complete web UI! - Transcription highlighting based on media position. - CPS (Characters per second) warnings. - Segment splitting. - Segment insertion. - Subtitle language selection. -- 100% Local: transcription, translation and subtitle edition happen 100% on your machine (can even work offline!). -- Fast: uses FasterWhisper as the Whisper backend: get much faster transcription times on CPU! -- Quick setup: the setup involves just a docker-compose and you're good to go! +- [x] 100% Local: transcription, translation and subtitle edition happen 100% on your machine (can even work offline!). +- [x] Fast: uses FasterWhisper as the Whisper backend: get much faster transcription times on CPU! +- [x] Quick setup: the setup involves just a docker-compose and you're good to go! -### Coming soon +### Roadmap - [ ] Full-text search all transcriptions - [ ] Support for GPU acceleration.