Commit Graph

98 Commits

Author SHA1 Message Date
Percy Lee
a672dc709e fix: fix bugs (#218) & (#227) (#231)
Co-authored-by: lixiancan <lixc.percy@gmail.com>
2024-01-31 01:44:21 +08:00
an-lee
ff1999c00b Fix bugs (#232)
* fix default engine settings

* fix conversation & cloudflare transcribe

* update arm64/darwin whisper

* empty notice for conversations

* display user rankings

* fix enjoy ai

* update whisper.cpp for arm64 darwin to v1.5.4

* upgrade yarn to 4.1.0
2024-01-31 01:40:14 +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
cec9d73bc8 Feat: transcribe from web (#204)
* add transcribe from web

* transcribe from web

* add azure speech ai

* fix azure speech output

* may select stt service

* fix UI

* remove debug code

* lint

* fix default stt service

* tweak

* fix secondsToTimestamp
2024-01-27 00:45:06 +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
ff14e1d04a Fix: record without ffmpeg & others (#201)
* remove ffmpeg transcode when save recording

* fix model download

* trancode record audio in renderer

* fix transcribe dead loop when whisper not working

* force to select a model

* check model before transcribe
2024-01-24 15:05:56 +08:00
an-lee
97e4804eb3 fix no whisper models dir (#197) 2024-01-23 21:25:31 +08:00
an-lee
b36ff22e4c bump 0.1.0-alpha.5 2024-01-23 16:12:29 +08:00
an-lee
506ea39ccb fix duplicated catch error (#194) 2024-01-23 16:10:51 +08:00
an-lee
51a71df326 keep loop when audio finish (#193) 2024-01-23 15:53:12 +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
f9fbb80f63 use baseUrl of openai config in command (#178) 2024-01-20 17:54:08 +08:00
an-lee
fe8f14bda7 ask for media access before record (#172) 2024-01-20 10:49:53 +08:00
an-lee
570528f34a bump v0.1.0-alpha.4 2024-01-19 17:26:17 +08:00
an-lee
757c2af85c Feat: use default ai config (#167)
* fix locale

* use openai config if any
2024-01-19 17:24:12 +08:00
Tommy Tsui
8ec4b11505 bug:选择community中的vedio,点击Download按钮报错 #147 (#159)
* refactor: create DownloadType

* refactor: implement Downloadtype to the code

* bug: 选择community中的vedio,点击Download按钮报错 #147

https://github.com/xiaolai/everyone-can-use-english/issues/147
New behaviour:
1. Disable the other button while either of the button is clicked.
2. Show loading icon only to the clicked button

---------

Co-authored-by: Tommy Tsui <tommy.tsui@yedpay.com.hk>
2024-01-19 17:00:44 +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
98d8061600 add sample for checking whisper & ffmpeg 2024-01-19 13:52:05 +08:00
an-lee
8b07c0db4c Fix: dependency (#158)
* upgrade deps

* rebuild yarn.lock
2024-01-19 11:25:49 +08:00
an-lee
f04dd1e3c8 Fix bugs (#153)
* escape space in command line

* disable record button when no reference

* notify when transcription working too long

* fix release CI

* fix UI & remove deprecated codes

* clear zombie transcribe process when started

* fix remove file when added a duplicated audio/video

* update latest whisper for win32
2024-01-18 18:21:55 +08:00
an-lee
a823c345df Fix: logs and notify more friendly (#127)
* popup the error when whisper/ffmpeg failed

* fix ffmpeg error handler
2024-01-16 23:32:49 +08:00
an-lee
3f2b6e78e8 fix recording calendar level out of range (#121) 2024-01-15 22:48:30 +08:00
an-lee
050c577620 bump v0.1.0-alpha.3 2024-01-15 22:13:11 +08:00
an-lee
23feb06d20 Fix: UI (#119)
* fix ui
2024-01-15 18:00:35 +08:00
an-lee
b545ea2362 Feat: save waveform as file (#118)
* package rpm

* cache waveform data as file in library

* clear waveform data in db

* fix some css
2024-01-15 16:57:44 +08:00
an-lee
187038c42e Feat: scan ffmpeg command (#116)
* package rpm

* fix model url

* scan/check ffmpeg command

* handle undefined

* add reset settings button

* add ffmpeg install instrunction for mac

* improve landing steps
2024-01-15 14:12:22 +08:00
an-lee
3edcfc0017 bump 0.1.0-alpha.2 2024-01-14 17:00:30 +08:00
an-lee
d2510d00cb Feat: more preferences (#106)
* add ffmpeg command check

* may switch language

* tweak
2024-01-14 16:54:15 +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
d6a4b24a1e Fix some bugs (#101)
* fix whisper large model download url ref: #93

* remove default baseURL for openAI

* add log for conversation
2024-01-13 19:30:58 +08:00
an-lee
7f671bb709 ui improve 2024-01-13 17:25:17 +08:00
an-lee
29e12106a2 add pagy for audios/videos 2024-01-13 17:20:18 +08:00
an-lee
09b7ca40f4 add pagy for stories 2024-01-13 16:59:46 +08:00
an-lee
e77eeb6a9c add pagy for posts 2024-01-13 16:57:49 +08:00
an-lee
3d3fc17c79 improve player loading perf 2024-01-13 16:52:14 +08:00
an-lee
24236a48ff hide ranking 2024-01-13 16:45:34 +08:00
an-lee
f40df6ecd6 refactor share 2024-01-13 16:40:26 +08:00
an-lee
f67a59e756 display transcription for shared audio 2024-01-13 16:32:12 +08:00
an-lee
80fe9caa90 cannot share local video 2024-01-13 16:13:51 +08:00
an-lee
8d42c4c626 may delete post 2024-01-13 16:11:03 +08:00
an-lee
aa2334aa12 may share story 2024-01-13 15:32:15 +08:00
an-lee
0ecaf4bdff may share recording 2024-01-13 15:04:28 +08:00
an-lee
d655da9aea rename 2024-01-13 01:24:33 +08:00
an-lee
1243076bbb add audio/video & send prompt from share zone 2024-01-13 01:09:40 +08:00
an-lee
3dff4330a1 new post type 2024-01-12 15:47:33 +08:00
an-lee
e05f2c57eb may share prompt 2024-01-12 01:40:17 +08:00
an-lee
f9b1c14b4c share audio/video & display post 2024-01-12 00:54:53 +08:00
an-lee
e510ed9337 vaccum after cache clear 2024-01-11 21:00:40 +08:00
an-lee
9635c192d5 improve api/client 2024-01-11 20:30:13 +08:00