├── .env.example ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── help_wanted.md ├── PULL_REQUEST_TEMPLATE.md └── workflows │ └── ci.yml ├── .gitignore ├── .npmrc ├── CHANGELOG.md ├── LICENSE ├── README-EN.md ├── README.md ├── components.d.ts ├── electron-builder.json5 ├── electron ├── electron-env.d.ts ├── main │ └── index.ts └── preload │ └── index.ts ├── entitlements.mac.plist ├── index.html ├── package.json ├── pnpm-lock.yaml ├── public ├── donate │ ├── Snipaste_2023-05-25_19-00-18.jpg │ ├── alipay.jpg │ ├── wechat.jpg │ ├── weixin.jpg │ ├── zhifubao.jpg │ └── zsm.jpg ├── favicon.ico └── win.ico ├── screenshot ├── 0.0.0-beta.png ├── 0.1.0.png ├── 0.2.1.png ├── 0.3.0-1.png ├── 0.3.0.png ├── Snipaste_2023-06-25_20-04-08.png ├── Snipaste_2023-06-25_20-06-10.png ├── Snipaste_2023-06-25_20-06-51.png ├── chat.JPG ├── chat.png ├── export.png ├── export1.png ├── export2.png ├── light.png ├── main1-light.png ├── main1.png ├── new.png ├── new_chat.png ├── new_chat1.png ├── new_chat2.png ├── setting.png ├── setting1.png ├── setting_chat.png ├── setting_voice.png ├── voice-1.png └── voice.png ├── src ├── App.vue ├── assets │ ├── avatars │ │ ├── de.webp │ │ ├── en.jpg │ │ ├── en1.jpg │ │ ├── fr.webp │ │ ├── fr1.webp │ │ ├── jp.jpeg │ │ ├── jp1.webp │ │ ├── ko1.jpeg │ │ └── self.png │ ├── electron.svg │ └── vue.svg ├── auto-imports.d.ts ├── components │ ├── Avatar.vue │ ├── Button.vue │ ├── InputKit.vue │ ├── Modal.vue │ └── Password.vue ├── config.ts ├── constant.ts ├── hooks │ ├── useGlobalSetting.ts │ ├── useScroll.ts │ └── useSpeechService.ts ├── main.ts ├── pages │ ├── Home │ │ ├── Home.vue │ │ └── components │ │ │ ├── Card.vue │ │ │ ├── Content.vue │ │ │ ├── Header.vue │ │ │ ├── Nav.vue │ │ │ ├── NewChat.vue │ │ │ └── Tool.vue │ └── Setting │ │ ├── Setting.vue │ │ └── components │ │ ├── About.vue │ │ ├── OpenSetting.vue │ │ └── TTSSetting.vue ├── router.ts ├── samples │ └── node-api.ts ├── server │ └── api.ts ├── shima.d.ts ├── stores │ └── index.ts ├── style.css ├── types..d.ts ├── utils │ ├── getKey.ts │ ├── index.ts │ ├── openAi.ts │ └── tools.ts └── vite-env.d.ts ├── tsconfig.json ├── tsconfig.tsbuildinfo ├── unocss.config.ts └── vite.config.ts /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/.env.example -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/help_wanted.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/.github/ISSUE_TEMPLATE/help_wanted.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/.npmrc -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/LICENSE -------------------------------------------------------------------------------- /README-EN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/README-EN.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/README.md -------------------------------------------------------------------------------- /components.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/components.d.ts -------------------------------------------------------------------------------- /electron-builder.json5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/electron-builder.json5 -------------------------------------------------------------------------------- /electron/electron-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/electron/electron-env.d.ts -------------------------------------------------------------------------------- /electron/main/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/electron/main/index.ts -------------------------------------------------------------------------------- /electron/preload/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/electron/preload/index.ts -------------------------------------------------------------------------------- /entitlements.mac.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/entitlements.mac.plist -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /public/donate/Snipaste_2023-05-25_19-00-18.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/public/donate/Snipaste_2023-05-25_19-00-18.jpg -------------------------------------------------------------------------------- /public/donate/alipay.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/public/donate/alipay.jpg -------------------------------------------------------------------------------- /public/donate/wechat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/public/donate/wechat.jpg -------------------------------------------------------------------------------- /public/donate/weixin.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/public/donate/weixin.jpg -------------------------------------------------------------------------------- /public/donate/zhifubao.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/public/donate/zhifubao.jpg -------------------------------------------------------------------------------- /public/donate/zsm.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/public/donate/zsm.jpg -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/win.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/public/win.ico -------------------------------------------------------------------------------- /screenshot/0.0.0-beta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/0.0.0-beta.png -------------------------------------------------------------------------------- /screenshot/0.1.0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/0.1.0.png -------------------------------------------------------------------------------- /screenshot/0.2.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/0.2.1.png -------------------------------------------------------------------------------- /screenshot/0.3.0-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/0.3.0-1.png -------------------------------------------------------------------------------- /screenshot/0.3.0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/0.3.0.png -------------------------------------------------------------------------------- /screenshot/Snipaste_2023-06-25_20-04-08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/Snipaste_2023-06-25_20-04-08.png -------------------------------------------------------------------------------- /screenshot/Snipaste_2023-06-25_20-06-10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/Snipaste_2023-06-25_20-06-10.png -------------------------------------------------------------------------------- /screenshot/Snipaste_2023-06-25_20-06-51.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/Snipaste_2023-06-25_20-06-51.png -------------------------------------------------------------------------------- /screenshot/chat.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/chat.JPG -------------------------------------------------------------------------------- /screenshot/chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/chat.png -------------------------------------------------------------------------------- /screenshot/export.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/export.png -------------------------------------------------------------------------------- /screenshot/export1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/export1.png -------------------------------------------------------------------------------- /screenshot/export2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/export2.png -------------------------------------------------------------------------------- /screenshot/light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/light.png -------------------------------------------------------------------------------- /screenshot/main1-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/main1-light.png -------------------------------------------------------------------------------- /screenshot/main1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/main1.png -------------------------------------------------------------------------------- /screenshot/new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/new.png -------------------------------------------------------------------------------- /screenshot/new_chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/new_chat.png -------------------------------------------------------------------------------- /screenshot/new_chat1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/new_chat1.png -------------------------------------------------------------------------------- /screenshot/new_chat2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/new_chat2.png -------------------------------------------------------------------------------- /screenshot/setting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/setting.png -------------------------------------------------------------------------------- /screenshot/setting1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/setting1.png -------------------------------------------------------------------------------- /screenshot/setting_chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/setting_chat.png -------------------------------------------------------------------------------- /screenshot/setting_voice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/setting_voice.png -------------------------------------------------------------------------------- /screenshot/voice-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/voice-1.png -------------------------------------------------------------------------------- /screenshot/voice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/screenshot/voice.png -------------------------------------------------------------------------------- /src/App.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/App.vue -------------------------------------------------------------------------------- /src/assets/avatars/de.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/assets/avatars/de.webp -------------------------------------------------------------------------------- /src/assets/avatars/en.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/assets/avatars/en.jpg -------------------------------------------------------------------------------- /src/assets/avatars/en1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/assets/avatars/en1.jpg -------------------------------------------------------------------------------- /src/assets/avatars/fr.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/assets/avatars/fr.webp -------------------------------------------------------------------------------- /src/assets/avatars/fr1.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/assets/avatars/fr1.webp -------------------------------------------------------------------------------- /src/assets/avatars/jp.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/assets/avatars/jp.jpeg -------------------------------------------------------------------------------- /src/assets/avatars/jp1.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/assets/avatars/jp1.webp -------------------------------------------------------------------------------- /src/assets/avatars/ko1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/assets/avatars/ko1.jpeg -------------------------------------------------------------------------------- /src/assets/avatars/self.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/assets/avatars/self.png -------------------------------------------------------------------------------- /src/assets/electron.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/assets/electron.svg -------------------------------------------------------------------------------- /src/assets/vue.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/assets/vue.svg -------------------------------------------------------------------------------- /src/auto-imports.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/auto-imports.d.ts -------------------------------------------------------------------------------- /src/components/Avatar.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/components/Avatar.vue -------------------------------------------------------------------------------- /src/components/Button.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/components/Button.vue -------------------------------------------------------------------------------- /src/components/InputKit.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/components/InputKit.vue -------------------------------------------------------------------------------- /src/components/Modal.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/components/Modal.vue -------------------------------------------------------------------------------- /src/components/Password.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/components/Password.vue -------------------------------------------------------------------------------- /src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/config.ts -------------------------------------------------------------------------------- /src/constant.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/constant.ts -------------------------------------------------------------------------------- /src/hooks/useGlobalSetting.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/hooks/useGlobalSetting.ts -------------------------------------------------------------------------------- /src/hooks/useScroll.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/hooks/useScroll.ts -------------------------------------------------------------------------------- /src/hooks/useSpeechService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/hooks/useSpeechService.ts -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/pages/Home/Home.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/pages/Home/Home.vue -------------------------------------------------------------------------------- /src/pages/Home/components/Card.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/pages/Home/components/Card.vue -------------------------------------------------------------------------------- /src/pages/Home/components/Content.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/pages/Home/components/Content.vue -------------------------------------------------------------------------------- /src/pages/Home/components/Header.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/pages/Home/components/Header.vue -------------------------------------------------------------------------------- /src/pages/Home/components/Nav.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/pages/Home/components/Nav.vue -------------------------------------------------------------------------------- /src/pages/Home/components/NewChat.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/pages/Home/components/NewChat.vue -------------------------------------------------------------------------------- /src/pages/Home/components/Tool.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/pages/Home/components/Tool.vue -------------------------------------------------------------------------------- /src/pages/Setting/Setting.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/pages/Setting/Setting.vue -------------------------------------------------------------------------------- /src/pages/Setting/components/About.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/pages/Setting/components/About.vue -------------------------------------------------------------------------------- /src/pages/Setting/components/OpenSetting.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/pages/Setting/components/OpenSetting.vue -------------------------------------------------------------------------------- /src/pages/Setting/components/TTSSetting.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/pages/Setting/components/TTSSetting.vue -------------------------------------------------------------------------------- /src/router.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/router.ts -------------------------------------------------------------------------------- /src/samples/node-api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/samples/node-api.ts -------------------------------------------------------------------------------- /src/server/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/server/api.ts -------------------------------------------------------------------------------- /src/shima.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/shima.d.ts -------------------------------------------------------------------------------- /src/stores/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/stores/index.ts -------------------------------------------------------------------------------- /src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/style.css -------------------------------------------------------------------------------- /src/types..d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/types..d.ts -------------------------------------------------------------------------------- /src/utils/getKey.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/utils/getKey.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /src/utils/openAi.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/utils/openAi.ts -------------------------------------------------------------------------------- /src/utils/tools.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/utils/tools.ts -------------------------------------------------------------------------------- /src/vite-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/src/vite-env.d.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.tsbuildinfo: -------------------------------------------------------------------------------- 1 | {"version":"4.9.5"} -------------------------------------------------------------------------------- /unocss.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/unocss.config.ts -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liou666/polyglot/HEAD/vite.config.ts --------------------------------------------------------------------------------