← Back to Leaderboard
P5235aa-web

5235aa-web/Pebble_companionchat

Local-first AI roleplay with a Tauri desktop shell and FastAPI backend

View on GitHub ↗
Engineering Health (Methodology)
A · 77/100
Maintenance Activity
● Updated yesterday
Latest Release
v1.0.6
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption2/25
Release Cadence20/20
License Clarity20/20
Self-HostedLocal AIAPI
Total Stars
★ 105
24h Growth
+0
7d Growth
+1
Forks
1

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

5235aa-web/Pebble_companionchat Star History (2026-11-19 - 2026-12-04) DAILY STAR HISTORY (16-DAY D1 TELEMETRY) +104 in 15d · avg +7/day 111 56 0 2026-11-19: ★ 12026-11-20: ★ 392026-11-21: ★ 852026-11-22: ★ 912026-11-23: ★ 992026-11-24: ★ 1022026-11-25: ★ 1042026-11-26: ★ 1042026-11-27: ★ 1042026-11-28: ★ 1052026-11-29: ★ 1052026-11-30: ★ 1052026-12-01: ★ 1052026-12-02: ★ 1052026-12-03: ★ 1052026-12-04: ★ 105 ★ 105 11-19 11-26 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Pebble separates the Vue 3, Pinia, and Vite UI in frontendV2 from a Python service at backend.main:app. FastAPI runs under Uvicorn, WebSockets provide an RPC channel, and SQLite persists conversations, character cards, and extracted memories locally. The Python service can be packaged with PyInstaller, while Tauri 2 provides the desktop shell for the same frontend used in the browser.

Integrations are primarily service connections: httpx handles outbound HTTP, and remote chat requests use bearer authentication against OpenAI-compatible /chat/completions. Text handling is model-aware: tiktoken covers OpenAI vocabularies, while Hugging Face tokenizers can read a tokenizer.json supplied alongside a local model. Voice follows a separate ASR → LLM → TTS cascade, so choosing a chat model does not lock the user into one speech engine.

Key Capabilities & Differentiators

Character chat supports streaming replies, alternate response swipes, separate branches, and manual token-aware context compaction. Pebble imports SillyTavern PNG and JSON cards, CHARX, and RisuAI .risum packages, and can import SillyTavern JSONL into new branches. Group rooms support up to three companions, with @ speaker cues, multi-turn Relay, and room-scoped memories. Script Mode adds per-scene turn budgets, rewind, and retained summary cards.

Local model options include Ollama, LM Studio, and llama.cpp with GGUF and mmproj for vision. The streaming voice pipeline offers Silero VAD barge-in and supports audio.cpp engines, including Qwen3-ASR for recognition and OmniVoice for synthesis. Picture Studio accepts custom ComfyUI workflow JSON and also supports hosted image services. Images, documents, and sampled video frames can be attached to chats; video speech transcription is opt-in.

Trade-offs & Limitations

Pebble is a strong fit when a move from SillyTavern is driven by integrated voice calls, group staging, or picture generation. Card and JSONL support lowers the migration cost, but it does not establish compatibility with extensions or custom workflows. SQLite and BM25 avoid running a separate database service, vector store, or embedding model. The retrieval trade-off is lexical matching: paraphrased memories may be harder to recover than with semantic search.

Local storage and local inference are separate choices. Remote chat, speech, or image providers can reduce workstation load, but requests to them may carry conversation content or media and incur usage charges. Local inference avoids sending those requests to a provider, but capacity depends on the chosen weights, context size, and concurrent speech or image tasks. The OpenAI-compatible chat interface reduces integration work at the cost of excluding native-only provider APIs unless a compatible gateway is available.

Hardware & Deployment Guide

The Windows installer needs no separate Python or Node.js installation. It bundles audio.cpp but not llama-server.exe: to have Pebble launch a GGUF model directly, install a suitable llama.cpp build and configure its path in Backstage. Source web runs require Python 3.10+, Node.js 18+, and npm. The manual development setup runs Uvicorn on port 8002 and Vite on 5176; bind the backend to loopback for local-only use rather than copying the 0.0.0.0 example. Building a Tauri installer requires Rust. Optional See-through portrait decomposition has its own PyTorch environment and model weights.

Writable state defaults to ~/.pebblecompanion, including companions.db, uploads, configuration, and voice clips. PEBBLE_DATA_ROOT and PEBBLE_MODELS_ROOT let operators separate writable state from model storage. For offline use, configure local engines and obtain their runtime files and weights in advance. Release v1.0.6 improves FFmpeg duration probing and timeout recovery, adds timestamped storyboard grids and 10-minute transcription chunks, and cleans up attachment files once they are no longer referenced.

Model routing: Connect llama.cpp, Ollama, or LM Studio locally, or use a remote endpoint exposing OpenAI-compatible /chat/completions.
Conversation portability: Import SillyTavern JSONL into separate branches with swipes and variables preserved; export to JSONL, HTML, Markdown, or Pebble JSON.
Group direction: Stage up to three companions with @ speaker cues, multi-turn Relay, room-scoped memories, and a separate narration mode.
Voice pipeline: Replace ASR and TTS independently around the streaming LLM, with Silero VAD for barge-in and audio.cpp for local speech.
Memory retrieval: Rank extracted memories with BM25, without an embedding service or vector store, and count tokens with provider-aware tokenizers.
Video attachments: v1.0.6 packs timestamped frames into 2×2, 3×3, or 4×4 grids and retries with a compact grid when image or payload limits are hit.
Best For

Character-chat users who want local conversation history, portable cards and branches, and integrated group scenes, voice, and image generation with a choice of local or hosted engines.

Skip If

Your workflow depends on specific SillyTavern extensions, native-only provider APIs without a gateway, or a managed multi-user service rather than a locally operated workspace.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Self-HostedLocal AIAPI
# Core backend dependencies
pip install -r requirements.txt

# Frontend dependencies
cd frontendV2
npm install

Comparison vs. Top Chat UI & AI Apps Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
Pebble_companionchat ★105+1PythonApache-2.0Local-first AI roleplay with a Tauri desktop shell and FastAPI backend
unsloth80.7k+380PythonApache-2.0Local AI workspace for model chat, fine-tuning, and API serving
khoj38.3k+77PythonAGPL-3.0Self-hosted AI workspace for searchable documents, web research, and scheduled a
ODS8k+88PythonApache-2.0A Docker Compose stack for private AI chat and inference on your own hardware

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/5235aa-web/Pebble_companionchat.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

5235aa-web/Pebble_companionchat Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about Pebble_companionchat

How do I connect a local model or an existing provider gateway?

In Backstage → Model, connect Ollama, LM Studio, llama.cpp, or an endpoint that exposes OpenAI-compatible /chat/completions. For a remote provider, configure the API key and a compatible base URL. Anthropic and Gemini need a gateway or proxy if the URL you use does not expose that protocol.

Do I need a GPU, and how much VRAM should I budget?

There is no fixed VRAM requirement. If you use remote APIs, the desktop or web app does not need to run those models locally. For a local setup, size for the chosen GGUF model, context length, and any speech, vision, or image-generation workloads running concurrently. PyTorch is only needed for the optional See-through portrait decomposition workflow.

Can I use or redistribute Pebble commercially while keeping data local?

Apache-2.0 permits commercial use and self-hosting, subject to its terms. For redistribution, review LICENSE and THIRD-PARTY-NOTICES.md, retain applicable notices, and check the separate terms for model weights, imported character assets, and hosted services. Local storage does not prevent content from being sent to the external providers you select.

Can Pebble replace my current SillyTavern setup?

Pebble can import SillyTavern PNG and JSON character cards and bring JSONL logs into new branches with swipes and variables intact. It can also export branches as SillyTavern JSONL. Pilot a representative card and conversation before migrating: these interchange formats do not establish compatibility with SillyTavern extensions or every custom workflow.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining 5235aa-web/Pebble_companionchat? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature 5235aa-web/Pebble_companionchat on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare