{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "pal-ai-lab-cortico--run-a-bilibili-live-room-bot",
 "repo": "Pal-AI-Lab/Cortico",
 "repo_url": "https://github.com/Pal-AI-Lab/Cortico",
 "repo_slug": "pal-ai-lab-cortico",
 "title": "Run a bot that reacts to Bilibili live room events",
 "page_title": "How to run a bot that reacts to Bilibili live room events with Cortico",
 "summary": "Connect the Bilibili World to answer danmaku, superchats, gifts and guards in a live room.",
 "who": "A live streamer on Bilibili who wants an AI companion that responds to viewers in real time.",
 "problem": "Watching chat, gifts and paid messages during a live stream while also replying to them is hard to do by hand.",
 "outcome": "A bot that receives real-time danmaku, superchats, gifts, guards and viewer traffic events, with a local OBS overlay.",
 "steps": [
  "Run `corepack pnpm install` in the Cortico folder.",
  "Run `pnpm start` to open the WebUI.",
  "Add the bilibili World to your deployment from the WebUI.",
  "Enter your live room settings and credentials in the WebUI or your environment file.",
  "Add the local OBS overlay to your stream and check that events arrive."
 ],
 "agent_prompt": "In the Cortico repo at <path>, enable the bilibili World for the default deployment and confirm that a test danmaku event reaches the bot. Expected output: a logged event and a bot reply. Verify that credentials are stored only in local configuration and not in committed files.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The README lists the bilibili World's events and an OBS overlay but does not describe the exact setup steps, so check the docs for the World before you go live.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "Node 22+",
  "A model endpoint that supports the Responses protocol, or a local llama-server runtime",
  "git, to clone the Cortina workspace for extension work",
  "A coding agent, for the Cortina extension workflow"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "Bilibili live room settings and any account credentials must stay in local configuration and must not be committed to a shared repository."
  }
 ],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/pal-ai-lab-cortico/run-a-bilibili-live-room-bot/",
 "md": "https://dedupedai.com/use-cases/pal-ai-lab-cortico/run-a-bilibili-live-room-bot/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/pal-ai-lab-cortico--run-a-bilibili-live-room-bot.json",
 "api_version": "v1"
}
