MagicHandy

module
v0.1.0-alpha.45 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2026 License: GPL-3.0

README

MagicHandy

MagicHandy is a free, open-source, local-first app for controlling The Handy with a customizable AI chatbot, hands-free modes, pattern library, and video funscript playback. App data stays on your machine, with cloud services available only when you enable them.

Download | Getting Started | Roadmap | Contributing

[!IMPORTANT] MagicHandy is still in early development (alpha). The current Windows build is v0.1.0-alpha.45 and remains unsigned.

Highlights

  • Local LLM chat through managed llama.cpp or an existing Ollama installation.
  • Immediate speed, stroke, and direction controls with safe Esc Stop.
  • Handy Cloud, browser Bluetooth, and Intiface support.
  • Optional local speech input and output modules.
  • Opt-in authenticated HTTPS for one exact private-LAN address; loopback stays the default. Setup and Settings can enable password-protected accounts; login, profile images, administrator management, and a Self-by-default linked control-profile selector are built. Certificate automation is not.

Install On Windows

Download the installer package from the latest release:

  • Setup EXE: standard installation, shortcuts, and Windows integration.
  • Portable ZIP: no installer or Windows integration.

Build From Source

Open PowerShell in the folder where MagicHandy should be installed and paste:

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$bootstrap = Join-Path $env:TEMP 'MagicHandy-bootstrap.ps1'
Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/MagicHandy/MagicHandy/main/bootstrap.ps1' -OutFile $bootstrap
powershell.exe -NoProfile -ExecutionPolicy Bypass -File $bootstrap

The bootstrap installs missing build prerequisites. Device, model runtime, and voice choices remain in the GUI. To update the same source installation later:

.\update.ps1

Developers with Go 1.25+ can run go run ./cmd/magichandy and open http://127.0.0.1:49717. See the Getting Started guide for manual setup, deployment flags, and validation commands.

Requirements

  • Windows x64 is the primary supported platform. Linux and macOS are best-effort.
  • A Handy with firmware v4 and API v3 access, or a supported linear actuator connected through Intiface Central.
  • A local LLM is needed for Chat and Autopilot, but not for manual, pattern, or video control. Models are not bundled.

Safety And Privacy

  • Emergency Stop remains available on every screen, including read-only tabs.
  • All motion sources use the same bounded motion engine and selected limits.
  • The Handy connection key is private and excluded from UI readback, logs, diagnostics, and exports.
  • LAN mode fails closed unless HTTPS and an enabled backend account are both configured; it is not intended for internet exposure or port forwarding.
  • Accounts gate entry but do not partition settings, chat, media, or libraries. A linked control profile does not impersonate another user or transfer the device-controller lease.
  • MagicHandy is for adults controlling an intimate device. Use it responsibly and at your own risk.

Project Status

Chat motion, Autopilot, Freestyle, personas, memory, pattern programs, video sync, voice providers, and model management are available for testing. Trusted Windows signing and broader release acceptance remain open work. See the implementation plan and risk register for current status.

Contributing

Changes use feature branches and merge into main through reviewed pull requests with green CI. Start with AGENTS.md, then use the validation guide.

Documentation

License

MagicHandy is licensed under the GNU General Public License v3.0 only. See LICENSE.

Directories

Path Synopsis
cmd
import-curated-patterns command
Command import-curated-patterns explicitly loads generated review files into a local library.
Command import-curated-patterns explicitly loads generated review files into a local library.
magichandy command
Command magichandy starts the MagicHandy local HTTP server.
Command magichandy starts the MagicHandy local HTTP server.
retarget-validate command
Command retarget-validate runs the Phase 7 live-device retarget checklist.
Command retarget-validate runs the Phase 7 live-device retarget checklist.
voice-elevenlabs-worker command
Command voice-elevenlabs-worker is the ElevenLabs cloud TTS worker (ADR 0007) speaking the ADR 0003 protocol on stdio.
Command voice-elevenlabs-worker is the ElevenLabs cloud TTS worker (ADR 0007) speaking the ADR 0003 protocol on stdio.
voice-openai-tts-worker command
Command voice-openai-tts-worker adapts OpenAI-compatible speech servers to MagicHandy's ADR 0003 protocol.
Command voice-openai-tts-worker adapts OpenAI-compatible speech servers to MagicHandy's ADR 0003 protocol.
voice-parakeet-worker command
Command voice-parakeet-worker is the ASR worker (ADR 0007) speaking the ADR 0003 protocol on stdio.
Command voice-parakeet-worker is the ASR worker (ADR 0007) speaking the ADR 0003 protocol on stdio.
voice-stub-worker command
Command voice-stub-worker is a model-free voice worker speaking the ADR 0003 protocol on stdio.
Command voice-stub-worker is a model-free voice worker speaking the ADR 0003 protocol on stdio.
internal
accounts
Package accounts owns authenticated user identities and opaque browser sessions.
Package accounts owns authenticated user identities and opaque browser sessions.
architecture
Package architecture contains tests for internal package dependency rules.
Package architecture contains tests for internal package dependency rules.
chat
Package chat orchestrates local LLM turns into app-level semantic actions.
Package chat orchestrates local LLM turns into app-level semantic actions.
chatapp
Package chatapp coordinates conversation use cases above chat persistence.
Package chatapp coordinates conversation use cases above chat persistence.
config
Package config defines startup defaults, versioned settings, and durable settings storage.
Package config defines startup defaults, versioned settings, and durable settings storage.
diagnostics
Package diagnostics records safe app traces and diagnostic exports.
Package diagnostics records safe app traces and diagnostic exports.
httpapi
Package httpapi exposes the local browser UI and core HTTP API routes.
Package httpapi exposes the local browser UI and core HTTP API routes.
llm
Package llm provides local model provider adapters.
Package llm provides local model provider adapters.
logging
Package logging creates structured loggers for the MagicHandy core.
Package logging creates structured loggers for the MagicHandy core.
media
Package media owns MagicHandy's bounded local video catalog.
Package media owns MagicHandy's bounded local video catalog.
memory
Package memory owns the user-managed long-term memory store: short facts the user chooses to keep, inject into chat, disable, or remove.
Package memory owns the user-managed long-term memory store: short facts the user chooses to keep, inject into chat, disable, or remove.
modes
Package modes implements autonomous motion behaviors (Freestyle, continuous chat) as clients of the motion engine.
Package modes implements autonomous motion behaviors (Freestyle, continuous chat) as clients of the motion engine.
motion
Package motion will own semantic motion targets, plans, sampling, retargeting, and active motion state.
Package motion will own semantic motion targets, plans, sampling, retargeting, and active motion state.
patterns
Package patterns owns the durable motion pattern and program library, authoring transforms, import/export, and visible preference feedback.
Package patterns owns the durable motion pattern and program library, authoring transforms, import/export, and visible preference feedback.
persona
Package persona owns named personalization presets.
Package persona owns named personalization presets.
processtree
Package processtree keeps app-owned worker descendants within one lifecycle.
Package processtree keeps app-owned worker descendants within one lifecycle.
store
Package store owns MagicHandy's embedded SQLite datastore, schema migrations, transaction helpers, and legacy JSON import bookkeeping.
Package store owns MagicHandy's embedded SQLite datastore, schema migrations, transaction helpers, and legacy JSON import bookkeeping.
transport
Package transport defines Handy transport contracts and deterministic fake implementations used before real device integration exists.
Package transport defines Handy transport contracts and deterministic fake implementations used before real device integration exists.
updatecheck
Package updatecheck compares the running build with MagicHandy's latest compatible GitHub release.
Package updatecheck compares the running build with MagicHandy's latest compatible GitHub release.
validation
Package validation drives repeatable hardware validation workflows.
Package validation drives repeatable hardware validation workflows.
voice
Package voice implements the optional voice worker boundary (ADR 0003): worker process lifecycle, the core-owned request queue, and status.
Package voice implements the optional voice worker boundary (ADR 0003): worker process lifecycle, the core-owned request queue, and status.
voice/elevenlabsworker
Package elevenlabsworker implements the ADR 0003 worker protocol for the ElevenLabs cloud TTS API (ADR 0007's premium non-Python path).
Package elevenlabsworker implements the ADR 0003 worker protocol for the ElevenLabs cloud TTS API (ADR 0007's premium non-Python path).
voice/openaittsworker
Package openaittsworker adapts an OpenAI-compatible text-to-speech HTTP service to MagicHandy's ADR 0003 worker protocol.
Package openaittsworker adapts an OpenAI-compatible text-to-speech HTTP service to MagicHandy's ADR 0003 worker protocol.
voice/parakeetworker
Package parakeetworker implements the ADR 0003 worker protocol for ASR by proxying to an OpenAI-compatible transcription server.
Package parakeetworker implements the ADR 0003 worker protocol for ASR by proxying to an OpenAI-compatible transcription server.
voice/protocol
Package protocol defines the versioned voice worker wire format (ADR 0003): NDJSON frames exchanged between the core and a worker process over stdio.
Package protocol defines the versioned voice worker wire format (ADR 0003): NDJSON frames exchanged between the core and a worker process over stdio.
voice/stubworker
Package stubworker implements the ADR 0003 worker protocol with no models attached.
Package stubworker implements the ADR 0003 worker protocol with no models attached.
voice/workerhost
Package workerhost shares the bounded job lifecycle used by provider workers.
Package workerhost shares the bounded job lifecycle used by provider workers.
Package web embeds the static single-page application built by Vite into web/dist.
Package web embeds the static single-page application built by Vite into web/dist.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL