Skip to main content

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

  • Node.js (for building the client)
  • uv (recommended for Python dependency management)

🔗 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

small_websocket_prebuilt-0.2.2.tar.gz (482.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

small_websocket_prebuilt-0.2.2-py3-none-any.whl (483.1 kB view details)

Uploaded Python 3

File details

Details for the file small_websocket_prebuilt-0.2.2.tar.gz.

File metadata

  • Download URL: small_websocket_prebuilt-0.2.2.tar.gz
  • Upload date:
  • Size: 482.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for small_websocket_prebuilt-0.2.2.tar.gz
Algorithm Hash digest
SHA256 121e6e9521147a9c66ce47d756057b4fd44e2bec1b3945844b1f75b378f36d8c
MD5 7311f65163992ad198757c6c30f03b38
BLAKE2b-256 eafdcef9e11ef057658f907d33054869ea75867b089d16e80137ddbdd903166e

See more details on using hashes here.

Provenance

The following attestation bundles were made for small_websocket_prebuilt-0.2.2.tar.gz:

Publisher: publish.yml on Qiliang/small-websocket-prebuilt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file small_websocket_prebuilt-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for small_websocket_prebuilt-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cdd9cb43aa1f44e9dcc0d34766cb2ddc63b85591ebf11595b5ae7f50674fcb2a
MD5 b837fed196bd401275c2ae62bb848b64
BLAKE2b-256 9564d60e15f56ce4d6c37bae7e9b3f39d6d1ecb0383c3ab651859a1cdc06df7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for small_websocket_prebuilt-0.2.2-py3-none-any.whl:

Publisher: publish.yml on Qiliang/small-websocket-prebuilt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page