Skip to content
in5devilinspacePublic

About

πŸ–±οΈπŸ—£οΈ Mouse OS β€” your voice is the pointer. Voice-controlled cursor for Ubuntu (Wayland-native, offline, accessibility-first).

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Mouse OS πŸ–±οΈπŸ—£οΈ

Your voice is the pointer. Mouse OS is a voice-controlled cursor agent for Ubuntu β€” say "point to firefox", "click", "scroll down", and the real on-screen pointer obeys, then confirms out loud. Built accessibility-first for people who can't use their hands. Wayland-native, fully offline.

Landing page & live demo: see docs/index.html (GitHub Pages). Feature roadmap decided by an AI roundtable: docs/roadmap/2026-07-07-feature-roundtable.md.

β–Ά Prefer watching? The 2-minute tutorial film β€” install to "goodbye", narrated by the cursor itself (its real offline voice), captions included. Pipeline: tools/video/tutorial/.

How it works

mic (pw-record) β†’ Vosk (grammar-locked, ~60 phrases, offline) β†’ Intent β†’ Engine (FSM)
                                                                    β”œβ”€ pointer: uinput virtual mouse (abs β†’ rel β†’ dummy ladder)
                                                                    β”œβ”€ resolve: screen regions, 3Γ—3 grid, optional window lookup
                                                                    └─ feedback: spd-say (≀2 words) + console
  • A real cursor, not a widget β€” a kernel-level virtual input device moves the pointer in every app, on Wayland.
  • It talks back β€” every consequential action gets a spoken confirmation ("done", "held", "pardon?"). The feedback lexicon shares no word with the command grammar, so the system can never command itself.
  • Safe by default β€” starts asleep; mouse quit needs confirm quit within 10 s; stop / undo / never mind are always in the grammar.
  • Honest degradation β€” before the one-time permission setup, it runs in practice (dummy) mode and says so.

Quick start

# 1. Install (uv recommended)
uv venv .venv && VIRTUAL_ENV=$PWD/.venv uv pip install -e '.[voice,test]'

# 2. One-time: allow virtual input devices (prints what it does; needs sudo)
./scripts/setup-uinput.sh        # then log out & back in

# 3. Health check β€” tells you exactly what works and how to fix what doesn't
./.venv/bin/mouseos doctor

# 4. Try it without a microphone (text REPL, real cursor if step 2 done)
./.venv/bin/mouseos run --input repl

# 5. Voice: download the offline model (~40 MB) and go
./.venv/bin/mouseos setup-model
./.venv/bin/mouseos run --input voice

Say this

You say It does
mouse wake / mouse sleep arm / disarm listening (starts asleep)
point to firefox Β· focus files cursor to that window (aliases configurable)
click Β· double click Β· right click Β· middle click clicks at the cursor
hold … release drag
move up Β· move left a little Β· move right a lot nudge 100 / 25 / 300 px
go to center Β· go to top left Β· go to right edge named regions
grid one … grid nine 3Γ—3 grid jump, then nudge to refine
scroll up Β· scroll down a lot wheel
stop Β· undo Β· never mind always-hot recovery
where am i Β· list windows orientation
show my cameras launches your camera wall (configurable command)
mouse quit β†’ confirm quit exit (two-step, expires in 10 s)

Text-REPL extras: move to 960 600, move to 50% 50%, status, help.

Configuration

~/.config/mouseos/config.toml:

start_asleep = true
[steps]
little = 25
normal = 100
lot = 300
[apps]           # window aliases for "point to <app>" / "focus <app>"
firefox = "firefox"
files = "nautilus"
[cameras]        # what "show my cameras" launches β€” see docs/research/reolink-cameras-on-ubuntu.md
command = "xdg-open http://localhost:1984/stream.html?src=cam1&src=cam2&src=cam3&src=cam4"

Docs

  • docs/superpowers/specs/2026-07-08-mouse-os-v1-design.md β€” the v1 design (judge-panel synthesis + roundtable amendments)
  • docs/roadmap/2026-07-07-feature-roundtable.md β€” the four-persona roadmap debate, with dissents
  • docs/research/reolink-cameras-on-ubuntu.md β€” verified: view 4 Reolink cams (Home Hub) on Ubuntu; VLC test + go2rtc grid
  • docs/research/speech-to-speech.md β€” the talking-cursor upgrade path (Piper β†’ conversational)
  • docs/research/web-agent-integration.md β€” hand-off design for "have the web agent do it"

Roadmap

v1.1 β‘  hot interrupt grammar during TTS β‘‘ taskbar indicator with hard mute + "heard you" light β‘’ GNOME window-lookup extension + "which one?" disambiguation. v2 speech-to-speech persona Β· eye-tracking (gaze moves, voice clicks) Β· web-agent errands Β· ghost cursor.

Development

./.venv/bin/pytest        # fully headless β€” no mic, no display, no uinput needed

MIT license. Built with voice. Literally.

About

πŸ–±οΈπŸ—£οΈ Mouse OS β€” your voice is the pointer. Voice-controlled cursor for Ubuntu (Wayland-native, offline, accessibility-first).

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages