Lemoe Web Helper is a powerful browser extension designed to enhance your web browsing experience with AI-driven functionalities. It integrates seamlessly with Anki, allowing you to create flashcards effortlessly from selected text on any webpage. Whether you need summaries, translations, explanations, or custom text processing, Lemoe Web Helper has got you covered.
- Summarize: Generate concise summaries of selected text.
- Translate: Translate selected text into your preferred language.
- Explain: Obtain detailed explanations of selected text.
- Custom: Customize processing to meet your specific text analysis needs.
- Create Flashcards: Directly create Anki flashcards from translated text.
- Customizable Fields: Configure Anki deck, model, and fields to suit your study preferences.
- Tags Support: Add customizable tags to your Anki notes for better organization.
- Sidepanel Interface: Access all functionalities through a convenient sidepanel within your browser.
- Keyboard Shortcuts: Activate the extension quickly using
Alt + A
orOption + A
. - Copy & Clear Options: Easily copy results to your clipboard or clear them as needed.
- Clone the Repository:
git clone https://github.com/lesca/lemoi-web-helper.git
- Open Chrome Extensions Page:
Navigate to
chrome://extensions
in your Chrome browser. - Enable Developer Mode: Toggle the "Developer mode" switch in the top right corner.
- Load Unpacked Extension:
Drag the
src
directory to the extensions page. - Test the Extension:
Click on the extension icon or press
Alt + A
(Option + A
) to activate the sidebar.
Before using Lemoe Web Helper, you need to configure your API settings:
- Set Up API Keys:
- You can use Ollama or any other OpenAI-compatible API.
- Configure Settings:
- Navigate to the extension settings page.
- Enter your API URL, model, API key, temperature, and top-p values.
- Customize prompts as needed for summaries, translations, explanations, and custom processing.
- Save Settings:
- Click on "Save Settings" to apply your configurations.
- Activate the Extension:
- Click the extension icon in the toolbar or press
Alt + A
(Option + A
).
- Click the extension icon in the toolbar or press
- Select Text:
- Highlight the text on any webpage you wish to process.
- Choose an Action:
- Click on one of the buttons: Summarize, Translate, Explain, or Custom.
- View Results:
- The processed result will appear in the sidepanel.
- Additional Options:
- Copy All: Copy the entire content of the sidepanel to your clipboard.
- Clear: Remove all content from the sidepanel.
- Settings: Access and modify your extension settings.
Enhance your learning by integrating Lemoe Web Helper with Anki.
- Anki: Install Anki on your computer.
- Anki Connect Plugin: Install the Anki Connect plugin in Anki.
- Translation Only: Anki integration is currently available only with the Translate option.
- AI Dependency: The quality of Anki notes depends on the AI's processing capabilities and may occasionally encounter formatting issues.
- Translate Text:
- Use the Translate button to translate the selected text.
- Add to Anki:
- Click the ⭐ icon below the translation result.
- Configure Anki Settings (First-Time Only):
- Select the Anki deck, model, and corresponding fields.
- Click Save Anki Settings after configuration.
- Select Content:
- Choose which items to include in the Anki note.
- Finalize:
- Modify the content if necessary and click Add to Anki to create the flashcard.
Customize how Lemoe Web Helper interacts with AI services:
- API Presets: Choose from predefined API presets like Ollama, SiliconFlow, Azure, OpenAI, Claude, GLM, or create a custom preset.
- Prompts: Modify system prompts and specific prompts for summarizing, translating, explaining, or custom processing to tailor the AI responses to your needs.
This project is licensed under the MIT License. See the LICENSE file for more details.
Contributions are welcome! Please submit a pull request or open an issue to discuss improvements or feature requests.