Commit Graph

22 Commits

Author SHA1 Message Date
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
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
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
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
d854ea0a02 upgrade deps 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
fe0542e8c6 Fix: Improve UI (#103)
* use sonner

* fix ui

* fix post audio player
2024-01-13 22:59:57 +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
an-lee
709610a36f update config 2024-01-09 16:14:43 +08:00
an-lee
aebd9ee213 add enjoy app 2024-01-09 15:19:32 +08:00