MemChatGPT-Extension is a Chrome extension designed to enhance your workflow by integrating OpenAI's ChatGPT with Mem AI. This tool allows you to extract content from web pages, process it through ChatGPT, and then seamlessly push it to Mem for organized storage.
To install MemChatGPT-Extension in Chrome:
- Clone or download the repository from GitHub.
- Open Chrome and navigate to
chrome://extensions/
. - Enable "Developer mode" at the top right corner.
- Click on "Load unpacked" and select the directory of your downloaded extension.
- Go to Mem AI API setup page.
- Create a new API key and securely copy it.
- Keep this key confidential.
- Visit OpenAI API keys page to set up your API key.
- Note: Obtaining this key requires a credit card. Refer to OpenAI's pricing for detailed information.
In MemChatGPT-Extension, templates are used to format content before pushing to Mem. Templates can include placeholders for title, date, and URL. Use {title}
, {date}
, and {url}
as placeholders in your templates. For instance:
# {title}
- Date: {date}
- URL: {url}
Adding a Template
- Click on the "Create Mem Template" tab.
- Enter a name for your template.
- In the template area, enter your template using the placeholders.
- Click "Create Template".
Prompts are used to guide the ChatGPT in processing your content.
Adding a Prompt
- Navigate to the "Create ChatGPT Prompt" tab.
- Provide a name for your prompt.
- Enter the ChatGPT prompt details in the provided area.
- Click "Create Prompt".
- In the Main tab, select the desired Mem template and ChatGPT prompt.
- Click "Extract Content" while on a web page to pull its text content.
- The content is processed through ChatGPT and displayed in the output area. You can edit this content before pushing it to Mem.
The Collection feature in Mem enhances your content organization by allowing you to tag your mems with relevant keywords. It's an optional feature that provides you with the flexibility to associate your content with custom tags, making it easier to categorize and retrieve later in Mem.
- In the Main tab, you'll find a new input field labeled "Type or select a keyword (hit enter to validate the keyword)".
- Begin typing a keyword. If the keyword already exists in your collection, it will appear in the dropdown menu for you to select. If it's a new keyword, simply finish typing and press Enter to add it to your collection.
- The keyword will automatically be formatted according to Mem's tagging standards:
- Each keyword will be prefixed with a "#" symbol.
- Spaces within keywords will be replaced with hyphens.
- The selected keywords will appear in a separate text box, each separated by a comma, ready to be added to your content.
- When you push your content to Mem, the selected keywords will be included. If the
{collection}
placeholder is present in your template, the keywords will replace it. Otherwise, the keywords will be appended at the bottom of your content.
Adding Keywords to Your Mem
Simply type your keyword and press Enter. The extension will handle the formatting and addition of the tag.
Collection Input
The selected keywords will display in a dedicated area, clearly showing all the tags that will accompany your mem.
Selected Keywords
Remember, using the Collection feature is completely optional, but it can significantly enhance your content organization within Mem.
- Optionally modify the processed content in the output area.
- Click "Push to Mem" to send the content to your Mem account.
Future iterations of the extension aim to leverage ChatGPT's capabilities directly, without the need for an API key.
Remember to keep your API keys private and securely stored. Avoid sharing them or embedding them in shared code repositories.