A simple, ready-to-use client for testing the WebSocket transport with Pipecat.
Project description
SmallWebSocket Prebuilt
A simple, ready-to-use client for testing the WebSocketTransport with Pipecat.
This prebuilt client provides basic WebSocket voice AI functionality and serves as a lightweight tool to quickly verify transport behavior without needing a custom implementation.
Ideal for development, debugging, and quick prototyping.
📦 Installation & Usage
If you just want to use the prebuilt WebSocket client in your own Python project:
✅ Install from PyPI
pip install small-websocket-prebuilt
🧰 Example Usage
from fastapi import FastAPI
from fastapi.responses import RedirectResponse
from small_websocket_prebuilt.frontend import SmallWebSocketPrebuiltUI
app = FastAPI()
# Mount the frontend at /prebuilt
app.mount("/prebuilt", SmallWebSocketPrebuiltUI)
@app.get("/", include_in_schema=False)
async def root_redirect():
return RedirectResponse(url="/prebuilt/")
⌨ Development Quick Start
If you want to work on the prebuilt client itself or use it locally in development:
📋 Prerequisites
🔗 WebSocket Transport
The client uses @pipecat-ai/websocket-transport to connect to your Pipecat bot.
You can connect either:
- Directly using a WebSocket URL:
ws://localhost:7860/ws - Via endpoint: provide an HTTP URL that returns the WebSocket connection info
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file small_websocket_prebuilt-0.1.0.tar.gz.
File metadata
- Download URL: small_websocket_prebuilt-0.1.0.tar.gz
- Upload date:
- Size: 480.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53bedcdd1570a8ad9bfcefe4cc7a9d2c5241b0091067b470aad65eafe4c78055
|
|
| MD5 |
0d9f878814284cd420ce8a83efd87ddd
|
|
| BLAKE2b-256 |
58bd9e586326b4066085240db5f41162eedad13bed904793656e0c8d4d988608
|
Provenance
The following attestation bundles were made for small_websocket_prebuilt-0.1.0.tar.gz:
Publisher:
publish.yml on Qiliang/small-websocket-prebuilt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
small_websocket_prebuilt-0.1.0.tar.gz -
Subject digest:
53bedcdd1570a8ad9bfcefe4cc7a9d2c5241b0091067b470aad65eafe4c78055 - Sigstore transparency entry: 1324273064
- Sigstore integration time:
-
Permalink:
Qiliang/small-websocket-prebuilt@5182ba128bc4699098a13b0cb468caee172a25ec -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Qiliang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5182ba128bc4699098a13b0cb468caee172a25ec -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file small_websocket_prebuilt-0.1.0-py3-none-any.whl.
File metadata
- Download URL: small_websocket_prebuilt-0.1.0-py3-none-any.whl
- Upload date:
- Size: 480.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ae4cae97bbca59de5118693f7b6df05b5cd08fa444756fe85ba9e1eb9f35c1c
|
|
| MD5 |
e890143c56a06f113f5e6566c8f1e09e
|
|
| BLAKE2b-256 |
1458008fdb961e5f99a601a0e2e83e871de381d359654fb2a8b9b59d0a298c9e
|
Provenance
The following attestation bundles were made for small_websocket_prebuilt-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on Qiliang/small-websocket-prebuilt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
small_websocket_prebuilt-0.1.0-py3-none-any.whl -
Subject digest:
5ae4cae97bbca59de5118693f7b6df05b5cd08fa444756fe85ba9e1eb9f35c1c - Sigstore transparency entry: 1324273166
- Sigstore integration time:
-
Permalink:
Qiliang/small-websocket-prebuilt@5182ba128bc4699098a13b0cb468caee172a25ec -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Qiliang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5182ba128bc4699098a13b0cb468caee172a25ec -
Trigger Event:
workflow_dispatch
-
Statement type: