GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - marcelogdomingues/whispa-pi: Turn a Raspberry Pi into a fully offline voice assistant — whisper.cpp + Ollama + Piper, hands-free, no cloud. Install script, systemd service and hardware guide included.

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
assets
assets
 
 
docs
docs
 
 
scripts
scripts
 
 
src
src
 
 
systemd
systemd
 
 
test
test
 
 
.gitignore
.gitignore
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
README.pt.md
README.pt.md
 
 
mkdocs.yml
mkdocs.yml
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.build.json
tsconfig.build.json
 
 
tsconfig.json
tsconfig.json
 
 
whispa-pi.config.example.json
whispa-pi.config.example.json
 
 

Repository files navigation

whispa-pi

Turn a Raspberry Pi into a fully offline voice assistant. No cloud, no accounts, no data leaving your home — speech recognition, the LLM, and the voice all run on the device. Built on whispa (whisper.cpp + Ollama + Piper) with a ready-to-run install script, a systemd service, and a hardware guide.

🌍 English · Português · 📚 Documentation

whispa-pi running on a Raspberry Pi

CI License: MIT Raspberry Pi

Why

Commercial smart speakers are microphones pointed at someone else's cloud. whispa-pi is the opposite: a private, hackable appliance you fully own. Ask it things, run local tools, and nothing is ever uploaded. A great weekend build and a genuinely useful device.

Hardware (bill of materials)

Part Notes
Raspberry Pi 5 (8 GB) — or Pi 4 (4 GB+) 8 GB recommended for a snappier LLM
microSD (32 GB+) or NVMe models + OS
USB microphone or a ReSpeaker HAT any 16 kHz-capable mic works
Speaker USB, 3.5 mm, or I²S
Power supply official PD supply recommended
(optional) 3D-printed case see docs/en/hardware.md

Quick start (on the Pi)

# One-shot installer: audio tools, Node, whisper.cpp, Ollama, Piper + models
curl -fsSL https://raw.githubusercontent.com/marcelogdomingues/whispa-pi/main/scripts/install-pi.sh | bash

# Run it
whispa-pi                      # uses defaults / env vars
whispa-pi my-config.json       # or a config file

Speak, pause, and it replies out loud. Configuration is via a JSON file or WHISPA_* environment variables — see docs/en/setup.md.

Run at boot

sudo cp systemd/whispa-pi.service /etc/systemd/system/
sudo systemctl enable --now whispa-pi

How it works

🎙️ mic → sox/arecord → whisper.cpp (STT) → Ollama (LLM) → Piper (TTS) → speaker 🔊

The loop (record → think → speak) lives in this repo; the STT/LLM/TTS orchestration comes from whispa. Both are MIT and fully offline.

Use as a library

import { Appliance, SoxVadRecorder, AplayPlayer } from 'whispa-pi';
import { VoicePipeline, WhisperCppStt, OllamaLlm, PiperTts } from 'whispa';

const appliance = new Appliance({
  recorder: new SoxVadRecorder(),
  pipeline: new VoicePipeline({ stt, llm, tts }),
  player: new AplayPlayer(),
});
await appliance.loop();

License

MIT © Marcelo Domingues

About

Turn a Raspberry Pi into a fully offline voice assistant — whisper.cpp + Ollama + Piper, hands-free, no cloud. Install script, systemd service and hardware guide included.

marcelogdomingues.github.io/whispa-pi/

Topics

diylocal-firstofflineollamapiperprivacyraspberry-pivoice-assistantwhisper

Resources

Readme
MIT license

Contributing

Contributing
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.