mirror of
https://github.com/moeru-ai/airi.git
synced 2026-04-28 06:29:33 +00:00
| .. | ||
| assets | ||
| components | ||
| entrypoints | ||
| public | ||
| src | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| uno.config.ts | ||
| wxt.config.ts | ||
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.