Cross-platform AI language practice app
Polyglot is a cross-platform desktop application (currently supporting the web version). 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 )
- Mac: Apple Intel
- Windows: Download
- Linux: Download
- Web Version: Online Link
Visit the GitHub Releases to download the latest version or any previous release.
-
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) -
Smart voice synthesis (currently based on Azure TTS service, considering integrating locally deployable voice models in the future)
-
Smart conversation feature (based on chatGPT service)
-
Dark mode support
-
Integration of text translation feature
-
Support user-customized languages and AI characters
-
User-customizable Azure key configuration
-
Custom avatars
-
Voice recognition with keyboard shortcuts (press and hold the space bar to start voice recognition, release the space bar to end voice recognition)
-
Support user-configurable custom conversation scenarios
-
Self-voice playback support
-
Support Azure openai API, claude API services (Azure openai API is already supported)
-
Web Version (Currently not highly compatible with mobile devices!)
-
Support for AI reply content fuzzing
-
Highlight corresponding words based on playback progress during voice playback
-
AI provides reply suggestions
- Set upOpenAI Key
- Set up a proxy (optional)
- Set up azure key
- Create a new AI character for conversation
- Practice speaking with AI characters.
# 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
GNU General Public License v3.0
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:
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.
If you find the project helpful, feel free to buy me a cup of tea 😊。
Alipay | |
---|---|