A collection of examples demonstrating different usage patterns of ZebraStream for various streaming data scenarios.
A demonstration of embedding a web application at the start of a data stream. Shows how to combine a web app with its data stream in a single streaming response. Features a colorful typewriter animation driven by streaming text data.
A terminal-style web application that consumes streaming log data. Demonstrates how to build an interactive web client that can connect to and display live data streams, with features like auto-reconnect and authentication support.
A distributed speech-to-text system that streams audio from one device to another for real-time transcription. Demonstrates how to use ZebraStream for binary data streaming between Python applications.
A robust bash script for streaming command output through ZebraStream. Demonstrates how to build a reliable producer client with minimal dependencies, featuring automatic reconnection, exponential backoff, and proper process management.
A real-time, remotely controlled Snake game delivered via ZebraStream. The demo streams both the game HTML and control commands over a single channel. You can play using either keyboard (default) or a gamepad (with the --gamepad flag, Linux only). See the subfolder README for details, usage, and key mappings.
Each example is contained in its own directory and includes:
- Source code
- Documentation in README.md
- Sample data where applicable
- Implementation example for ZebraStream producer or consumer
The code in this repository can be freely copied and used in your projects. It is in the public domain. See LICENSE for details.