mirror of
https://github.com/moeru-ai/airi.git
synced 2026-08-14 08:52:42 +00:00
755 B
755 B
AIRI Plugin - Web Extension
Read what you are reading!
This is a plugin for the AIRI to understand what you are reading, looking at, or listening to on the web.
What it does now
- Captures page + video context from YouTube and Bilibili.
- Extracts subtitles from text tracks or DOM overlays.
- Sends context updates and optional
spark:notifyevents to the character. - Exposes a popup to configure WebSocket, toggles, and quick status.
Quick start
pnpm -F @proj-airi/airi-plugin-web-extension dev- Load the unpacked extension from
.wxt/devin your browser. - Open the popup to set the WebSocket URL (default:
ws://localhost:6121/ws). - Watch a YouTube/Bilibili video and confirm the popup shows the detected title/subtitle.