explaingit

whale-yd00/whale-yd00-whale-browser-extension

19JavaScriptAudience · generalComplexity · 2/5LicenseSetup · easy

TLDR

A Chrome and Edge browser extension that extracts visible text from any web page, including login-gated sites, and sends it to an AI chat tool for analysis in one click.

Mindmap

mindmap
  root((repo))
    What it does
      Extracts page text
      Sends to AI
      Works on gated pages
    Targets
      Whale AI
      SullyOS
    Tech stack
      JavaScript
      Chrome Extension API
    Audience
      AI power users
      Researchers
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Extract the full text of a login-required Zhihu or Xiaohongshu post and send it to an AI chat tool for summarization.

USE CASE 2

Forward a web article to an AI agent in SullyOS without manually copy-pasting the content.

USE CASE 3

Read logged-in pages where other text-extraction tools fail and pass the content to an AI for analysis.

Tech stack

JavaScriptChrome Extension API

Getting it running

Difficulty · easy Time to first run · 5min

Install as an unpacked extension via Chrome developer mode, not available through the Chrome Web Store.

MIT license, use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

This is a browser extension for Chrome and Microsoft Edge that reads the text content of whatever web page you currently have open and forwards that text to one of two applications: Whale (an AI chat tool) or SullyOS (another AI platform). The README is written in Chinese. The main appeal is that it can grab text from pages that require you to be logged in, such as Zhihu (a Chinese Q&A site) or Xiaohongshu (a social media platform), where other text-extraction tools sometimes fail. It extracts only the visible text that has already loaded on the page, not images, videos, or canvas content. It does not read cookies, passwords, or account tokens. Once installed, you click the extension icon while viewing any page, confirm the text looks correct in the popup, choose your target application, enter the destination URL, and click Send. When sending to SullyOS, you can also pick which AI character or agent within that platform should receive the content. Installation follows the standard Chrome/Edge developer mode process: you load the project folder as an unpacked extension rather than installing through an official extension store. The project is MIT licensed.

Copy-paste prompts

Prompt 1
Help me modify this Chrome extension to strip HTML tags and clean up extra whitespace from the extracted text before it gets sent to the AI.
Prompt 2
I want to add a keyboard shortcut to this extension so I can send page text without opening the popup. Show me how to add a command in the manifest.json file.
Prompt 3
This extension sends text to Whale and SullyOS. Help me add a third destination option that posts the extracted text to a local Ollama API endpoint instead.
Prompt 4
The extension only captures visible text. Help me also extract text inside hidden accordion sections that are already in the DOM but collapsed and not visible.
Open on GitHub → Explain another repo

← whale-yd00 on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.