# bilistream | InitCool | Knowledge Base | Instagit

bilistream是一个支持无人值守自动转播Twitch和Youtube（包括预告类型直播）的B站直播自动转播工具。

GitHub Stars: 166

Repository: https://github.com/limitcool/bilistream

---

## Articles

### [What Is the Current Version of Bilistream? A Complete Guide to v0.1.12](/limitcool/bilistream/what-is-the-current-version-of-bilistream)

Discover the current version of bilistream v0.1.12. Get a complete guide on the latest release and its features directly from the repository.

- Tags: getting-started
- Published: 2026-03-06

### [How Bilistream Handles Network Timeouts During Requests: Implementation and Configuration](/limitcool/bilistream/how-does-bilistream-handle-network-timeouts-during-requests)

Discover how Bilistream uses reqwest and reqwest-retry to manage network timeouts with a 30-second deadline and exponential backoff ensuring service continuity.

- Tags: internals
- Published: 2026-03-06

### [What Is the Purpose of yt-dlp Integration in Bilistream?](/limitcool/bilistream/what-is-the-purpose-of-yt-dlp-integration-in-bilistream)

Discover how yt-dlp integration in Bilistream unlocks YouTube live HLS streaming URLs for seamless re-streaming, overcoming API limitations.

- Tags: deep-dive
- Published: 2026-03-06

### [How the Bilistream Project Is Structured: A Rust RTMP Forwarding Architecture](/limitcool/bilistream/how-is-the-bilistream-project-structured)

Explore the Rust RTMP forwarding architecture of the Bilistream project, featuring modular configs, trait-based plugins, and a polling loop for seamless YouTube/Twitch stream forwarding to Bilibili.

- Tags: architecture
- Published: 2026-03-06

### [What Does the `select_live` Function Do in Bilistream?](/limitcool/bilistream/what-does-the-select_live-function-do-in-bilistream)

Discover how the select_live function in bilistream creates platform-specific live-stream providers, enabling uniform handling for YouTube, Twitch, and more.

- Tags: how-to-guide
- Published: 2026-03-06

### [How Bilistream Detects When a YouTube Stream Ends: A Technical Deep Dive](/limitcool/bilistream/how-does-bilistream-detect-when-a-youtube-stream-ends)

Learn how Bilistream detects YouTube stream endings by polling live pages and checking the isLive flag in ytInitialData. Understand the technical process.

- Tags: deep-dive
- Published: 2026-03-06

### [FFmpeg Transcoding Command Parameters in Bilistream: Complete Guide](/limitcool/bilistream/what-are-the-parameters-for-the-ffmpeg-transcoding-command-in-bilistream)

Explore FFmpeg transcoding command parameters in bilistream. Learn how to use -re -vcodec copy -acodec aac -f flv for HLS to RTMP relay. Get the complete guide.

- Tags: deep-dive
- Published: 2026-03-06

### [How to Switch Between Twitch and YouTube in bilistream Configuration](/limitcool/bilistream/how-to-switch-between-twitch-and-youtube-in-bilistream-configuration)

Easily switch between Twitch and YouTube in bilistream configuration by changing the Platform field in config.yaml. Restart the app to update your livestream source instantly.

- Tags: how-to-guide
- Published: 2026-03-06

### [Understanding the bilistream MIT License: Permissions and Requirements](/limitcool/bilistream/what-is-the-mit-license-mentioned-for-bilistream)

Understand the bilistream MIT License for limitcool/bilistream. Learn about its permissions for free use, modification, and distribution requirements. Get clarity on open-source usage.

- Tags: licensing-explanation
- Published: 2026-03-06

### [How Bilistream Handles Different Streaming Platforms: Trait-Based Architecture Explained](/limitcool/bilistream/how-does-bilistream-handle-different-streaming-platforms)

Discover how Bilistream's trait-based architecture unifies Twitch and YouTube streaming by abstracting platforms behind a single Live trait for uniform API access.

- Tags: architecture
- Published: 2026-03-06

### [Bilistream Default Check Interval: Technical Implementation Guide](/limitcool/bilistream/what-is-the-default-check-interval-for-bilistream)

Discover the default bilistream check interval of 60 seconds. Get technical details on its implementation and configuration in this guide.

- Tags: technical-implementation-guide
- Published: 2026-03-06

### [How to Monitor bilistream Live Broadcast Status with Gotify: Complete Configuration Guide](/limitcool/bilistream/how-to-monitor-bilistreams-live-broadcast-status-with-gotify)

Easily monitor bilistream live broadcast status with Gotify. Configure notifications in configyaml and receive alerts when monitored channels go live.

- Tags: how-to-guide
- Published: 2026-03-06

### [Setting Up Bilistream: System Requirements, Installation, and Configuration Guide](/limitcool/bilistream/what-are-the-requirements-for-setting-up-bilistream)

Learn how to set up Bilistream. Discover the system requirements, including FFmpeg, Python 3, yt-dlp, config.yaml with Bilibili cookies, and Docker or Rust. Get started today!

- Tags: getting-started
- Published: 2026-03-06

### [How Bilistream Parses YouTube Live Stream Data from HTML](/limitcool/bilistream/how-does-bilistream-parse-youtube-live-stream-data-from-html)

Learn how bilistream parses YouTube live stream data directly from HTML by extracting ytInitialData JSON. Discover live stream status without the YouTube Data API.

- Tags: how-to-guide
- Published: 2026-03-06

### [Which GraphQL API Does Bilistream Use for Twitch?](/limitcool/bilistream/what-graphql-api-does-bilistream-use-for-twitch)

Discover the Twitch GraphQL API bilistream uses. Learn how it checks for live streams using the StreamMetadata query at https://gql.twitch.tv/gql.

- Tags: how-to-guide
- Published: 2026-03-06

### [How to Configure Bilistream to Use Cookies for Twitch Streams](/limitcool/bilistream/how-to-configure-bilistream-to-use-cookies-for-twitch-streams)

Learn how to configure bilistream to use cookies for Twitch streams. Easily enable Twitch cookie authentication by updating your YAML configuration with the correct cookie file path.

- Tags: how-to-guide
- Published: 2026-03-06

### [Core Modules of the Bilistream System: Architecture and Implementation Guide](/limitcool/bilistream/what-are-the-core-modules-of-the-bilistream-system)

Explore the 7 core Rust modules of the Bilistream system including main.rs config.rs and push.rs Understand its architecture and implementation for Bilibili streaming.

- Tags: architecture
- Published: 2026-03-06

### [How Bilistream Ensures Stream Stability with Retry Mechanisms](/limitcool/bilistream/how-does-bilistream-ensure-stream-stability-with-retry-mechanisms)

Discover how Bilistream uses exponential back-off retries and FFmpeg restarts to guarantee stable, uninterrupted live-stream forwarding. Learn about its robust stream stability solutions.

- Tags: internals
- Published: 2026-03-06

### [What Is the Role of FFmpeg in the bilistream Process?](/limitcool/bilistream/what-is-the-role-of-ffmpeg-in-the-bilistream-process)

Discover FFmpeg's critical role in bilistream. Learn how it transcodes HLS streams in real time, relaying live video from YouTube or Twitch to Bilibili for seamless streaming.

- Tags: internals
- Published: 2026-03-06

### [How Configuration Files Are Managed in Bilistream: YAML-Based Runtime Loading](/limitcool/bilistream/how-are-configuration-files-managed-in-bilistream)

Discover how bilistream expertly manages runtime configuration using a single YAML file. Learn about strongly-typed Rust structs and optional field support for flexible setup.

- Tags: internals
- Published: 2026-03-06

### [How bilistream Supports YouTube Preview Live Streams: Complete Technical Guide](/limitcool/bilistream/can-bilistream-support-youtube-preview-live-streams)

Discover how bilistream supports YouTube preview live streams using the YoutubePreviewLive platform. This guide explains how to resolve IDs and relay live feeds to BiliBili.

- Tags: technical-guide
- Published: 2026-03-06

### [How Bilistream Detects Twitch Stream Status: GraphQL Implementation Guide](/limitcool/bilistream/how-does-bilistream-handle-twitch-stream-status-detection)

Discover how Bilistream detects Twitch stream status using a GraphQL query. Learn the implementation details for real-time stream monitoring.

- Tags: how-to-guide
- Published: 2026-03-06

### [Understanding the Live Trait in bilistream: A Unified Interface for Multi-Platform Streaming](/limitcool/bilistream/what-is-the-purpose-of-the-live-trait-in-bilistream)

Discover the Live trait in bilistream. Unify your multi-platform streaming interactions by treating diverse platforms with a single interface. Learn how bilistream simplifies complex streaming.

- Tags: internals
- Published: 2026-03-06

### [How to Set Up bilistream for YouTube Live Stream Rebroadcast (転播)](/limitcool/bilistream/how-to-set-up-bilistream-for-youtube-live-stream)

Easily set up bilistream to rebroadcast YouTube live streams to Bilibili automatically. This guide explains the process using yt-dlp and FFmpeg for seamless転播.

- Tags: how-to-guide
- Published: 2026-03-06

