airi/plugins/airi-plugin-web-extension
2026-04-18 19:18:17 +08:00
..
assets init(airi-plugin-web-extension): init (#276) 2025-07-21 14:36:21 +08:00
components init(airi-plugin-web-extension): init (#276) 2025-07-21 14:36:21 +08:00
entrypoints refactor(airi-plugin-web-extension): use eventa for ipc 2026-01-18 03:51:40 +08:00
public init(airi-plugin-web-extension): init (#276) 2025-07-21 14:36:21 +08:00
src fix(plugin-sdk,server-*): type mismatch 2026-02-07 03:31:44 +08:00
package.json chore(deps): bump dependencies 2026-04-18 19:18:17 +08:00
README.md feat(airi-plugin-web-extension): integrated to server-sdk, now supports to read context from browser 2026-01-18 02:19:28 +08:00
tsconfig.json init(airi-plugin-web-extension): init (#276) 2025-07-21 14:36:21 +08:00
uno.config.ts init(airi-plugin-web-extension): init (#276) 2025-07-21 14:36:21 +08:00
wxt.config.ts refactor(airi-plugin-web-extension): use eventa for ipc 2026-01-18 03:51:40 +08:00

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:notify events to the character.
  • Exposes a popup to configure WebSocket, toggles, and quick status.

Quick start

  1. pnpm -F @proj-airi/airi-plugin-web-extension dev
  2. Load the unpacked extension from .wxt/dev in your browser.
  3. Open the popup to set the WebSocket URL (default: ws://localhost:6121/ws).
  4. Watch a YouTube/Bilibili video and confirm the popup shows the detected title/subtitle.