Commit Graph

52 Commits

Author SHA1 Message Date
an-lee
94dfabfec8 upgrade echogarden dep 2024-03-17 18:35:36 +08:00
an-lee
df2aac185a upgrade echogarden 2024-03-17 10:32:03 +08:00
an-lee
90f38e9226 Transcription force alignment & more (#416)
* add wavesurfer-provider

* brand new layout for player

* refactor pitch contour

* clean up

* update styl

* refactor

* update layout

* use new layout for video

* refactor

* may select word

* may edit word timestamp

* may toggle multiselect words

* clean code

* improve word region update

* improve layout

* update layout

* add echogarden

* fix test

* use aligned transcription

* fix ipa

* some refactor

* improve code

* implement ipa & translate & lookup

* recording play & share

* fix

* fix post audio

* improve layout

* may delete recording

* may record

* fix video player layout

* fix player in conversation

* render recording along with orignal audio

* may custom create region in recording

* fix float issue when seekTo

* fix recording player

* fix load more recordings

* fix seekTo

* clean up

* refactor pitch contour

* fix some warnings

* upgrade deps

* fix group transcription sentence

* zoom to fit when segment update

* add more hotkeys

* update player layout

* improve style

* play recording overlap audio when comparing

* update echogarden dep

* add recorded mark on transcription

* fix recording pitch contour rendering

* improve recording

* adjust pitch finder params
2024-03-16 19:42:37 +08:00
an-lee
a8ffc4e4ab upgrade deps 2024-03-05 10:30:57 +08:00
an-lee
747b406c41 prepare v0.1.0-alpha.13 2024-03-04 09:00:32 +08:00
an-lee
1876e45da3 Docs: move enjoy-docs under 1000h (#373)
* move /enjoy-docs unser 1000-h/

* fix dep
2024-03-02 19:54:20 +08:00
an-lee
54935aa7e9 Docs: Add enjoy docs (#370)
* init vitepress in enjoy-docs

* update config

* update docs

* upgrade deps

* update settings

* add more docs

* more docs

* update commands

* site config

* add ga

* tweak
2024-03-02 16:36:06 +08:00
an-lee
824c25272a make dmg 2024-03-01 19:43:14 +08:00
an-lee
ff20e2beef upgrade deps (#364) 2024-02-28 19:57:02 +08:00
an-lee
ce47c8e138 Deps: upgrade deps & use ESM (#343)
* upgrade deps

* upgrade forge

* make app work in ESM

* fix CI
2024-02-23 16:03:39 +08:00
an-lee
8037273549 Feat: add tts conversation (#341)
* may create tts type conversation

* support tts reply

* upgrade deps

* test: e2e for create TTS conversation

* test: e2e for gpt conversation

* test: e2e for from create conversation to add speech audio to library

* refactor use-conversation

* generate speech before create msg in tts conversation

* refactor conversation-shorts

* revert change in 1000-hours

* revert sass dep changed in 1000-hours

* fix CI
2024-02-22 16:00:17 +08:00
an-lee
c7f6009ef9 bump v0.1.0-alpha.12 2024-02-20 11:49:53 +08:00
an-lee
bc48810e4d bump v0.1.0-alpha.11 2024-02-20 09:07:27 +08:00
an-lee
47c38b5580 bump v0.1.0-alpha.10 2024-02-20 06:18:30 +08:00
an-lee
60503aec35 Upgrade deps (#329)
* upgrade deps

* fix langchain warnings

* add test for login
2024-02-19 17:39:28 +08:00
an-lee
06f8d32169 Feat improve media player page (#320)
* download transcription from api when transcribed

* add friendly loading panel on audio page

* add loading panel for video page

* fix locale

* remove ubuntu 20.04 for e2e test

* do not auto upload recording
2024-02-19 11:01:52 +08:00
an-lee
9a605b9f39 Feat: Improve first setup (#319)
* remove whisper model checking when setup

* fix landing page step

* refactor whisper

* refactor whisper options

* update workflow

* update test-enjoy-app.yml
2024-02-18 16:31:52 +08:00
an-lee
ac4d327363 Upgrade deps (#306)
* update scripts

* upgrade deps
2024-02-14 09:43:55 +08:00
an-lee
825031cc61 Feat: bundle a default whisper model (#304)
* add scripts to download whisper model & ffmpeg wasm for bundle

* use default whisper model if no downloaded
2024-02-12 23:43:40 +08:00
an-lee
b8011d20d7 Test: add e2e tests (#297)
* add e2e test

* add whisper & ffmpeg command validate test

* remove tests-examples
2024-02-12 10:42:25 +08:00
an-lee
57d6efa547 Feat: refactor ffmpeg config (#296)
* bundle ffmpeg wasm in package

* remove ffmpeg discover & add ffmpeg-static

* fix ffprobe-static version

* fix metadata generate

* fix auto transcribe if pending

* remove console.log
2024-02-11 17:21:39 +08:00
an-lee
27c342cabb upgrade deps (#290) 2024-02-09 17:26:33 +08:00
an-lee
d12e7f3ef6 bump v0.1.0-alpha.9 2024-02-02 14:41:36 +08:00
an-lee
51a810fdfd Feat: may setup proxy (#238)
* add https proxy

* remove proxy in renderer

* proxy work for openai request

* use proxyAgent to enable system proxy

* add proxy setting

* tweak proxy setting
2024-02-01 15:33:37 +08:00
an-lee
f45c3e5f6f bump v0.1.0-alpha.8 2024-01-31 10:52:54 +08:00
an-lee
0c06e4a810 bump v0.1.0-alpha.7 2024-01-31 02:21:28 +08:00
an-lee
00cbc8403b Feat: add Enjoy AI as option (#206)
* add enjoyAI as option

* use enjoyai config

* may call enjoyai

* may set default ai engine

* refactor setting context

* refactor preferences

* add warning when openai key not provided

* tweak locale

* update duration for audio/video

* add balance settings

* may select ai role when create conversation

* may forward message from conversation

* tweak ui

* refactor transcribe method

* refactor ai commands to hooks

* fix webapi

* tweak playback rate options

* add playMode, next & prev, ref: #124

* upgrade deps

* may skip whisper model download

* audios/videos default order by updated_At
2024-01-31 00:04:59 +08:00
an-lee
99577c5020 Feat: more login methods (#195)
* add login code api

* use container for webview

* improve browserview

* may login via xuesheng account

* locale

* fix ui
2024-01-25 11:02:26 +08:00
an-lee
ce50814616 bump v0.1.0-alpha.6 2024-01-24 15:10:24 +08:00
an-lee
b36ff22e4c bump 0.1.0-alpha.5 2024-01-23 16:12:29 +08:00
an-lee
3a98bd9f40 Feat: use ffmpeg wasm (#177)
* add ffmepg wasm

* refactor whisper config

* refactor ffmpeg config

* remove depected codes

* refactor model download

* decouple whipser & ffmpeg when transcribe

* do not always toast not found error

* ffmpeg works in renderer

* transcode in renderer & transcript in main

* improve transcode

* refactor

* remove ffmpeg check

* fix whisper config check

* update whisper check

* enable SharedArrayBuffer

* remove ffmpeg setting

* fix UI

* handle ffmpeg not ready

* may create issue when whisper check failed

* upgrade deps

* hide ffmpeg setting if not ready

* hide record button when not in region
2024-01-23 14:39:16 +08:00
an-lee
570528f34a bump v0.1.0-alpha.4 2024-01-19 17:26:17 +08:00
an-lee
5efc5fc1db Feat: AI commands (#145)
* upgrade deps

* add extract command

* add lookup.command

* update lookup command

* fix locals

* may lookup one by one

* update lookup method

* add translate command

* cache translation by default

* open ai default settings

* use openai config in context

* refactor

* genreate ipa

* update UI

* handle ai generate fail
2024-01-19 16:52:49 +08:00
an-lee
8b07c0db4c Fix: dependency (#158)
* upgrade deps

* rebuild yarn.lock
2024-01-19 11:25:49 +08:00
an-lee
050c577620 bump v0.1.0-alpha.3 2024-01-15 22:13:11 +08:00
an-lee
3edcfc0017 bump 0.1.0-alpha.2 2024-01-14 17:00:30 +08:00
an-lee
fe0542e8c6 Fix: Improve UI (#103)
* use sonner

* fix ui

* fix post audio player
2024-01-13 22:59:57 +08:00
an-lee
e4c0736784 bump v0.1.0-alpha 2024-01-11 13:08:41 +08:00
an-lee
39bb9c8f30 add default hotkeys 2024-01-10 21:24:46 +08:00
an-lee
6135818aea Merge pull request #86 from xiaolai/dependabot/npm_and_yarn/langchain-0.1.2
Bump langchain from 0.0.214 to 0.1.2
2024-01-10 20:05:38 +08:00
an-lee
f767d02533 Merge pull request #85 from xiaolai/dependabot/npm_and_yarn/lucide-react-0.308.0
Bump lucide-react from 0.306.0 to 0.308.0
2024-01-10 20:05:25 +08:00
an-lee
c0c8c537f3 Merge pull request #84 from xiaolai/dependabot/npm_and_yarn/types/validator-13.11.8
Bump @types/validator from 13.11.7 to 13.11.8
2024-01-10 20:05:12 +08:00
an-lee
690a80dc69 Merge pull request #82 from xiaolai/dependabot/npm_and_yarn/types/node-20.10.8
Bump @types/node from 20.10.7 to 20.10.8
2024-01-10 20:05:00 +08:00
dependabot[bot]
85b28a85c3 Bump wavesurfer.js from 7.6.2 to 7.6.3
Bumps [wavesurfer.js](https://github.com/katspaugh/wavesurfer.js) from 7.6.2 to 7.6.3.
- [Release notes](https://github.com/katspaugh/wavesurfer.js/releases)
- [Commits](https://github.com/katspaugh/wavesurfer.js/compare/7.6.2...7.6.3)

---
updated-dependencies:
- dependency-name: wavesurfer.js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-10 12:04:42 +00:00
an-lee
1bfa3d79cd add hotkeys 2024-01-10 14:13:49 +08:00
dependabot[bot]
364e30daab Bump langchain from 0.0.214 to 0.1.2
Bumps [langchain](https://github.com/langchain-ai/langchainjs) from 0.0.214 to 0.1.2.
- [Release notes](https://github.com/langchain-ai/langchainjs/releases)
- [Changelog](https://github.com/langchain-ai/langchainjs/blob/main/release_workspace.js)
- [Commits](https://github.com/langchain-ai/langchainjs/compare/0.0.214...0.1.2)

---
updated-dependencies:
- dependency-name: langchain
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-10 03:17:52 +00:00
dependabot[bot]
7f271991f9 Bump lucide-react from 0.306.0 to 0.308.0
Bumps [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) from 0.306.0 to 0.308.0.
- [Release notes](https://github.com/lucide-icons/lucide/releases)
- [Commits](https://github.com/lucide-icons/lucide/commits/0.308.0/packages/lucide-react)

---
updated-dependencies:
- dependency-name: lucide-react
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-10 03:17:08 +00:00
dependabot[bot]
9c59454f9d Bump @types/validator from 13.11.7 to 13.11.8
Bumps [@types/validator](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/validator) from 13.11.7 to 13.11.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/validator)

---
updated-dependencies:
- dependency-name: "@types/validator"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-10 03:16:37 +00:00
dependabot[bot]
b2c2ddf327 Bump @types/node from 20.10.7 to 20.10.8
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.10.7 to 20.10.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-10 03:15:19 +00:00
an-lee
84c0740f4b upgrade yarn to berry 2024-01-09 20:00:06 +08:00