Leah is a Google Chrome extension that combines voice recognition, voice synthesis and ChatGPT to provide an environment where you can improve your foreign language skills. Leah works only on https://chat.openai.com/chat.
In Google Chrome go to the Chrome web store and install the extension.
Read the docs.
- Clone this repo
- Run yarn install
- cd contenets
- npm run dev or npm run build
- In Chrome, go to chrome://extensions/, click Load unpacked and point at the contents/dist directory.
Leah is a Chrome extension, but almost all of the functionality is in the contents part of the extension. There's no background.js and very little in extern.html which is invoked when you click on the icon.
- The content of Leah is loaded by content.ts.
- Leah is implemented as an Angular Element which is in turn a Web Component and is loaded by injecting
<custom-root> Custom</custom-root>
<leah-content>leah</leah-content>