🤖️ Cross-platform AI language practice app (跨平台AI语言练习应用)
GPL-3.0 License
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 )
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
# 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
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.
To apply for an API key for Azure Speech Service, you can follow these steps:
If you find the project helpful, feel free to buy me a cup of tea 😊。