Skip to content

Chrome extension to give Alice AI Assistant access to user browser via tool usage and browser context menu

Notifications You must be signed in to change notification settings

pmbstyle/alice-chrome-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alice Browser Context Extension

This Chrome extension provides comprehensive browser context data to the Alice AI Assistant application via WebSocket communication.

Features

  • Real-time browser context retrieval: Extracts URL, page title, visible text, links, user selection, and surrounding context

  • WebSocket-based communication: Persistent connection to Alice

  • Atomic data collection: Retrieves all requested data types in a single operation

  • Selection-aware: Captures user-selected text and surrounding context

  • Link extraction: Collects all hyperlinks with their text and URLs

  • Context menu for selected content

    Available actions for selected content on the web page:

    • "Fact check this": ask Alice to use a web search to check if the content is fake or true
    • "Summarize this": ask Alice to summarize selected content
    • "Tell me more about it": ask Alice to use a web search to get more information on a selected content

Installation

  1. Load the extension in Chrome:

    $ git clone https://github.com/pmbstyle/alice-chrome-extension.git
    • Open Chrome and navigate to chrome://extensions/
    • Enable "Developer mode" in the top right
    • Click "Load unpacked" and select the alice-chrome-extension folder
  2. Verify installation:

    • The extension should appear in your Chrome toolbar
    • Double-click on the extension icon to open a pop-up
image image

About

Chrome extension to give Alice AI Assistant access to user browser via tool usage and browser context menu

Topics

Resources

Stars

Watchers

Forks