EMM! is a Chrome extension that allows you to capture selected text from webpages, customize prompts, and fetch relevant information using OpenAI's API.
- Chrome Extension APIs
- JavaScript
- HTML
- CSS
- OpenAI API
- Fetch API
📌 Captures selected text from the active tab of the browser
💾 Stores the captured text in local storage for future reference.
📋 Displays list of captured texts on the webpage.
✅ Select a text from the list.
💭 Handles user prompts to customize the generated prompt for OpenAI's text completion API.
🔎 Fetches relevant data from the OpenAI API.
📊 Displays the response from the OpenAI API
Clone the Repository
1. Clone the EMM! repository from GitHub to your local machine.2. Open the `popup.js` file and replace `API_KEY` with your OpenAI API Key.
Open Chrome Extensions
1. In the top-right corner of the Chrome Extensions page, toggle the Developer mode switch to enable it.2. Click on the "Load unpacked" button and Navigate to the cloned EMM! repository folder on your local machine, select it and load the extension.
Verify in the browser
1. EMM appears in the list of installed extensions on the Chrome Extensions page. Enable it.2. Click on the extension icon to capture selected text, customize prompts, and fetch relevant information.
Explore EMM!
1. Capture selected text by selecting it on the webpage.2. The captured text will be stored locally and displayed in a scrollable list on the extension's popup.
3. Select a text from the list to customize prompts for fetching information.
4. Use the provided input field to modify the prompt.
5. Click the "Do Something!" button to fetch data using OpenAI's API.
6. The response from the API will be displayed below.
7. Repeat