Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liou666/polyglot
🤖️ Cross-platform AI language practice app (跨平台AI语言练习应用)
https://github.com/liou666/polyglot
azure chatgpt electron openai polyglot tts
Last synced: 3 days ago
JSON representation
🤖️ Cross-platform AI language practice app (跨平台AI语言练习应用)
- Host: GitHub
- URL: https://github.com/liou666/polyglot
- Owner: liou666
- License: gpl-3.0
- Created: 2023-03-15T16:41:39.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-19T15:43:47.000Z (3 months ago)
- Last Synced: 2025-01-02T03:09:03.099Z (11 days ago)
- Topics: azure, chatgpt, electron, openai, polyglot, tts
- Language: TypeScript
- Homepage: https://doc.polyglotai.xyz
- Size: 30.6 MB
- Stars: 2,564
- Watchers: 23
- Forks: 271
- Open Issues: 3
-
Metadata Files:
- Readme: README-EN.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- AiTreasureBox - liou666/polyglot - 01-07_2566_1](https://img.shields.io/github/stars/liou666/polyglot.svg) |Desktop AI Language Practice Application| (Repos)
- awesome - liou666/polyglot - 🤖️ Cross-platform AI language practice app (跨平台AI语言练习应用) (TypeScript)
- awesome-open-gpt - polyglot
- awesome-ChatGPT-repositories - polyglot - 🤖️ 桌面端AI语言练习应用 (Openai)
- awesome-github-star - polyglot
- StarryDivineSky - liou666/polyglot
- awesome-chatgpt-api - Polyglot
- Awesome-ChatGPT - polyglot
README
# Polyglot
> Cross-platform AI language practice appPolyglot is a cross-platform desktop application (currently supporting the [web version](https://polyglotai.xyz)). It is based on ChatGPT and Azure Artificial Intelligence language models as underlying services, aiming to provide an easy-to-use language practice platform for convenient multilingual oral exercises. ( [📺 video link](https://doc.polyglotai.xyz/) )
## Download
- **Mac**: [Apple](https://github.com/liou666/polyglot/releases/download/v0.3.7/Polyglot_arm64_0.3.7.dmg) [Intel](https://github.com/liou666/polyglot/releases/download/v0.3.7/Polyglot_x64_0.3.7.dmg)
- **Windows**: [Download](https://github.com/liou666/polyglot/releases/download/v0.3.7/Polyglot_0.3.7.exe)
- **Linux**: [Download](https://github.com/liou666/polyglot/releases/download/v0.3.7/Polyglot_0.3.7.AppImage)
- **Web Version**: [Online Link](https://polyglotai.xyz)Visit the **[GitHub Releases](https://github.com/liou666/polyglot/releases)** to download the latest version or any previous release.
## Software Screenshots
Expand
## Features
- [x] Multilingual oral practice (~~Currently built-in AI characters from four different countries, namely the United States, Japan, South Korea, and France. More languages may be added in the future~~)(Built-in English, other languages now support customization)
- [x] Smart voice synthesis (currently based on Azure TTS service, considering integrating locally deployable voice models in the future)
- [x] Smart conversation feature (based on chatGPT service)
- [x] Dark mode support
- [x] Integration of text translation feature
- [x] Support user-customized languages and AI characters
- [x] User-customizable Azure key configuration
- [x] Custom avatars
- [x] Voice recognition with keyboard shortcuts (press and hold the space bar to start voice recognition, release the space bar to end voice recognition)- [x] Support user-configurable custom conversation scenarios
- [x] Self-voice playback support
- [ ] Support Azure openai API, claude API services (Azure openai API is already supported)
- [x] [Web Version](https://polyglotai1.xyz) (Currently not highly compatible with mobile devices!)
- [x] Support for AI reply content fuzzing
- [x] Highlight corresponding words based on playback progress during voice playback
- [x] AI provides reply suggestions## Usage
+ Set up[OpenAI Key](https://platform.openai.com/account/api-keys)
+ Set up a proxy (optional)
+ Set up [azure key](https://portal.azure.com/)
+ Create a new AI character for conversation
+ Practice speaking with AI characters.## Development
```bash
# 1. Clone this repository;
git clone https://github.com/liou666/polyglot.git# 2. Install dependencies;
cd polyglot
pnpm install
# If the installation of electron fails, try installing with Taobao mirror source👇:
# export ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/ && pnpm i# 3. Configure relevant environment variables according to the comments
mv .env.example .env# 4. Start the service
pnpm dev
```## License
[GNU General Public License v3.0](./LICENSE)# Contributors
## Frequently Questions
1. macOS prompts "Polyglot" cannot be opened because Apple cannot check it for malicious software.
This error is due to the Gatekeeper security feature in the macOS operating system preventing the application from running.
To resolve this issue, follow these steps:Open "System Preferences" and click on "Security & Privacy."
In the "General" tab, you will see a message: "Polyglot" was blocked. Click on "Open Anyway."
Alternatively, you can click "Open Anyways" to open your application.
(Admin permissions may be required to open the application.)If you don't want to perform these steps every time you open the application, you can add the application to the whitelist to run without being blocked. To add your application to the whitelist, do the following:
Open Terminal and enter the following command:
```sh
xattr -rd com.apple.quarantine /path/to/Polyglot.app
```
Here, /path/to/Polyglot.app is the full path to your application.After running the command, the application will be added to the whitelist, and Gatekeeper will no longer block its execution.
2. How to apply for Azure Speech Service?
To apply for an API key for Azure Speech Service, you can follow these steps:
+ Log in to the Azure portal (https://portal.azure.com/)
+ Go to the "Azure Speech Service" page and click the "Add" button.
+ In the "Create Azure Speech Service" window, choose your subscription, resource group, region, and specify a name for the new service.
+ Select the "F0" pricing tier and click "Create."
+ Once created, go to the "Overview" page of the new service to view the key and endpoint.## Donations
If you find the project helpful, feel free to buy me a cup of tea 😊。
Alipay