restream

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Restream Skill

Restream Skill

Overview

概述

Enables Claude to use Restream for multistreaming management including configuring destinations, viewing cross-platform analytics, and managing stream settings.
让Claude能够使用Restream进行多流直播管理,包括配置直播目标平台、查看跨平台数据分析以及管理直播设置。

Quick Install

快速安装

bash
curl -sSL https://canifi.com/skills/restream/install.sh | bash
Or manually:
bash
cp -r skills/restream ~/.canifi/skills/
bash
curl -sSL https://canifi.com/skills/restream/install.sh | bash
或手动安装:
bash
cp -r skills/restream ~/.canifi/skills/

Setup

设置

Configure via canifi-env:
bash
undefined
通过canifi-env进行配置:
bash
undefined

First, ensure canifi-env is installed:

首先,确保已安装canifi-env:

canifi-env set RESTREAM_EMAIL "your-email@example.com" canifi-env set RESTREAM_PASSWORD "your-password"
undefined
canifi-env set RESTREAM_EMAIL "your-email@example.com" canifi-env set RESTREAM_PASSWORD "your-password"
undefined

Privacy & Authentication

隐私与认证

Your credentials, your choice. Canifi LifeOS respects your privacy.
你的凭证,由你掌控。 Canifi LifeOS尊重你的隐私。

Option 1: Manual Browser Login (Recommended)

选项1:手动浏览器登录(推荐)

If you prefer not to share credentials with Claude Code:
  1. Complete the Browser Automation Setup using CDP mode
  2. Login to the service manually in the Playwright-controlled Chrome window
  3. Claude will use your authenticated session without ever seeing your password
如果你不想与Claude Code共享凭证:
  1. 使用CDP模式完成浏览器自动化设置
  2. 在Playwright控制的Chrome窗口中手动登录该服务
  3. Claude将使用你的已认证会话,全程不会获取你的密码

Option 2: Environment Variables

选项2:环境变量

If you're comfortable sharing credentials, you can store them locally:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"
Note: Credentials stored in canifi-env are only accessible locally on your machine and are never transmitted.
如果你愿意共享凭证,可以将其存储在本地:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"
注意:存储在canifi-env中的凭证仅能在你的本地机器上访问,绝不会被传输至外部。

Capabilities

功能特性

  • Configure streaming destinations
  • View cross-platform analytics
  • Manage stream schedules
  • Access unified chat dashboard
  • View recorded streams
  • Configure stream branding
  • 配置直播目标平台
  • 查看跨平台数据分析
  • 管理直播日程
  • 访问统一聊天仪表盘
  • 查看已录制的直播内容
  • 配置直播品牌标识

Usage Examples

使用示例

Example 1: Check Connected Channels

示例1:查看已连接的平台

User: "What platforms am I streaming to?"
Claude: I'll check your connected channels.
1. Opening Restream via Playwright MCP
2. Navigating to channels section
3. Listing all connected platforms
4. Showing enabled/disabled status
用户:“我正在往哪些平台推流?”
Claude:我将为你查看已连接的平台。
1. 通过Playwright MCP打开Restream
2. 导航至平台管理板块
3. 列出所有已连接的平台
4. 展示平台启用/禁用状态

Example 2: View Stream Analytics

示例2:查看直播数据分析

User: "How did my last stream perform across platforms?"
Claude: I'll pull up cross-platform analytics.
1. Accessing analytics dashboard
2. Finding last stream data
3. Comparing performance by platform
4. Summarizing total reach and engagement
用户:“我上一场直播在各平台的表现如何?”
Claude:我将为你调取跨平台数据分析。
1. 访问数据分析仪表盘
2. 获取上一场直播的数据
3. 对比各平台的表现
4. 总结总覆盖人数和互动数据

Example 3: Schedule Stream

示例3:查看直播日程

User: "Check if I have any scheduled streams"
Claude: I'll check your schedule.
1. Opening scheduler section
2. Viewing upcoming streams
3. Listing scheduled events
4. Confirming dates and times
用户:“帮我看看有没有已安排的直播”
Claude:我将为你查看日程安排。
1. 打开日程管理板块
2. 查看即将到来的直播
3. 列出已安排的活动
4. 确认日期和时间

Authentication Flow

认证流程

  1. Navigate to restream.io via Playwright MCP
  2. Click "Log in" and enter email
  3. Enter password
  4. Handle Google/Twitch SSO if configured
  5. Complete 2FA if required (via iMessage)
  1. 通过Playwright MCP导航至restream.io
  2. 点击“登录”并输入邮箱
  3. 输入密码
  4. 若已配置,则处理Google/Twitch单点登录(SSO)
  5. 若需要,完成双因素认证(2FA,通过iMessage)

Error Handling

错误处理

  • Login Failed: Retry up to 3 times, notify via iMessage
  • Session Expired: Re-authenticate automatically
  • Rate Limited: Implement exponential backoff
  • 2FA Required: Send iMessage notification
  • Channel Error: Check platform connection
  • Analytics Delayed: Note data refresh timing
  • 登录失败:最多重试3次,通过iMessage发送通知
  • 会话过期:自动重新认证
  • 请求受限:实现指数退避策略
  • 需要2FA:发送iMessage通知
  • 平台错误:检查平台连接状态
  • 数据分析延迟:标注数据刷新时间

Self-Improvement Instructions

自我更新说明

When Restream updates:
  1. Document new platform integrations
  2. Update analytics capabilities
  3. Track studio improvements
  4. Log chat aggregation features
当Restream进行更新时:
  1. 记录新的平台集成
  2. 更新数据分析功能
  3. 追踪Studio功能改进
  4. 记录聊天聚合特性

Notes

注意事项

  • Supports 30+ streaming platforms
  • Unified chat across all platforms
  • Restream Studio for browser streaming
  • Analytics aggregated per stream
  • Scheduling with social promotion
  • 支持30+直播平台
  • 全平台统一聊天功能
  • 支持通过Restream Studio进行浏览器推流
  • 按单场直播聚合数据分析
  • 支持带社交推广的日程安排