Home

Awesome

<link href="style.css" rel="stylesheet"> <!-- # ![Icon](chrome-extension/icons/icon48.png) AI Summary Helper --> <h1 style="display: flex; align-content: center; align-items: center; gap: 12px;"><img src="icon.svg" style="width:48px; height:48px">AI Summary Helper</h1>

You are on the hunt for interesting articles around the web, open 100 tabs and end up… not reading them. Sounds familiar?

Summary Helper allows to summarize articles with a custom prompt - so it can be as tailored to your language, profession or point of view as you define it. The summary gets inserted in the content area itself. This way you can easily forward the artice including the generated summary to your Kindle device e.g. using Reabbles Send-to-Kindle tool.

<a href="https://www.producthunt.com/posts/ai-summary-helper?embed=true&utm_source=badge-featured&utm_medium=badge&utm_souce=badge-ai&#0045;summary&#0045;helper" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=461601&theme=dark" alt="AI&#0032;Summary&#0032;Helper - Instantly&#0032;summarize&#0032;all&#0032;the&#0032;web&#0032;content&#0032;your&#0032;browse | Product Hunt" style="width: 250px; height: 54px;text-align: center;" width="250" height="54" /></a> <a href="https://chrome.google.com/webstore/detail/ai-summary-helper-summari/hldbejcjaedipeegjcinmhejdndchkmb" target="_blank"><img src="https://storage.googleapis.com/web-dev-uploads/image/WlD8wC6g8khYWPJUsQceQkhXSlv1/iNEddTyWiMfLSwFD6qGq.png" alt="Chrome Web Store" style="width: 206px; height: 58px;text-align: center;" width="206" height="58" /></a><a href="https://philffm.github.io/ai-summary-helper/bookmarklet-generator/" target="_blank"><img src="assets/createBookmarklet.svg" alt="Create Bookmarklet" /></a>

On the go I am way more likely to engage with the content I intentionally selected earlier. The tailored briefing then helps me to recall why I chose the article, suggests me books and other media related to it.

AI Summary Helper

Variant A: Create your Bookmarklet

Demo

Variant B: Download Chrome Browser Plugin

Overview

This project includes two components:

BookmarkletBrowser Extension
OpenAI
Mistral AI
Ollama (Local)
Custom Prompt🟠 Initially set base prompt✅ Base + custom prompt per request
Cross Platform

Project Structure

Installation and Usage

Chrome Extension

  1. Navigate to the chrome-extension directory and follow the instructions in the readme.md.

Bookmarklet Generator

  1. Navigate to the bookmarklet-generator directory and follow the instructions in the readme.md.

Feature Agenda 🚀

Bookmarklet generator generally ships faster since it is faster to iterate on.

Browser Plugin

Bookmarklet Generator

Privacy Policy

The privacy policy for this project is available in the Privacy section.

License

2024 Phil Wornath - MIT License

Troubleshooting

Configuring CORS for Ollama

If you want to use offline LLMs with this plugin you need to ensure that your Ollama-based applications can handle requests from different domains, you need to configure the CORS settings appropriately. Here’s how you can do it on different operating systems:

MacOS

  1. Open the Terminal application.
  2. run export OLLAMA_ORIGINS=*
  3. run / restart ollama

Alternatively, you can edit the ollama.service file using a text editor like nano: 2. Edit the ollama.service file using a text editor like nano:

sudo nano /Library/LaunchDaemons/com.ollama.ollama.plist
  1. Add or modify the Environment line to include the OLLAMA_ORIGINS variable with a wildcard (*) to allow all domains:
    Environment=OLLAMA_ORIGINS=*
    

Windows

  1. Ensure Ollama is not running by quitting the application from the taskbar.
  2. Open the Control Panel and navigate to “Edit system environment variables.”
  3. Choose to edit or create a new variable named OLLAMA_ORIGINS. To allow all domains, set it as follows:
    OLLAMA_ORIGINS=*
    
  4. Apply the changes and close the control panel.
  5. Run Ollama from a new terminal window to ensure it picks up the updated environment variables.

Linux

For Linux users running Ollama as a systemd service, follow these steps:

  1. Use systemctl edit ollama.service to open the service file in an editor.
  2. In the [Service] section, add the Environment line with your CORS settings. For unrestricted access, use:
    [Service]
    Environment="OLLAMA_ORIGINS=*"
    
  3. Save your changes, then reload systemd and restart Ollama with:
    systemctl daemon-reload
    systemctl restart ollama
    

These steps will help you configure Ollama to accept requests from all domains, ensuring seamless integration with your applications.

For more detailed guidance, refer to the comprehensive guide on handling CORS settings in Ollama here.

Compatible Tools

<!-- table with tools, name, description, url -->

Tools that are compatible with AI Summary Helper. Feel free to add your own tool to the list.

NameDescriptionURL
Reabble Send to KindleSend your summarized articles to Kindle.https://send.reabble.com/
Web ClipperClip your summarized web pages to different places (e.g. OneNote, Notion, GitHub etc.)https://clipper.website/
InoreaderRSS Feed Readerhttps://www.inoreader.com/