Repository navigation
DESKTOP_APP
Status: Partial
Last Updated: 2026-11-13
Audience: Developers and coding agents
Last verified: 2026-11-13 against 5f40af2d9 (startup, close-to-tray, and exit owners; update, account, and appearance behavior not rechecked)
Code: src/Martlet.Desktop/, packaging/windows/
How the Windows app itself behaves: accounts on this PC, app and host updates, closing to the notification area, exiting, palettes and the Martlet bird icon. Moved here from the README so the README can stay short.
Martlet signs you in with your Windows account, with no password. The button at the bottom of the left rail shows who uses Martlet now (a circle with your initials, your name and your role in the household).
- Click it to see everyone who uses Martlet on this Windows sign-in.
- Click a name to switch to that person. Martlet ends the conversation first, so listening and watching stop. It never switches while it replies.
- Click Add a person… for someone else who uses this Windows sign-in. Type their name and click Add. They get an account of their own, with no password, and Martlet switches to it.
The first Martlet on a household's computers becomes the owner's account. If you used Martlet before accounts, your computers in the Martlet network all sign in as the owner. Your household's accounts are kept the same on every computer through your hosts (Devices › Settings for all devices shows how that goes). Each person's own characters and memories come in a following update; the design is in Accounts and households.
Updates come from Martlet's public GitHub Releases (Settings › App updates). Checks are ON by default: Martlet checks at launch and then every 15 minutes to 24 hours (default: every hour) while it runs. Turning off Check GitHub for new versions automatically stops all automatic requests, and Check for updates now makes an explicit request instead. When a check finds a new version, Martlet asks once per version whether to update now.
Only normal (non-draft, non-prerelease) releases with the exact
Martlet-<version>-win-x64.exe asset are offered. Update now (or
Install) downloads it (at most 512 MiB) into updates\ in the local data
directory, verifies the exact bytes against GitHub's SHA-256 asset digest,
closes Martlet, runs the installer with its progress window (/SILENT, no
optional prerequisite tasks) and starts Martlet again; the next launch reports
the result.
With Download and install updates automatically this happens by itself as soon as the update is downloaded, whether or not you are at the PC, Martlet's window is in front or the character is showing. It waits only for a reply or something you are saying, a question waiting for your answer, or work that exiting would cut short (a setup task, a host update, a command from another computer, backup and restore, a troubleshooting report, a download), and Status in Settings › App updates says which. Martlet restarts minimized (or in the notification area when it was there) and shows the character and listens again when they were on as it closed.
An automatic install, and one another of your computers asks for
(martlet.update, see CLUSTER),
shows no installer window at all (/VERYSILENT): Martlet downloads, closes,
installs and restarts by itself. Every step still goes to the log: the helper's
steps (updates\update.log) and, after a failed install, the end of the
installer's own updates\install.log are copied into Martlet's log (the
Diagnostics page) when it starts again.
Choices live in update-checks.txt and updates.json, separately from profile
settings and configuration backup; a choice saved while checks were opt-in
resets to on, and unreadable preferences fall back to checks ON (installs and
host updates OFF) with a visible error.
Releases are normal GitHub releases. Code signing is not a requirement for this personal project, so the installer is unsigned. The digest detects a damaged download; it does not prove who published it. Do not run an internal build as an update.
Paired Martlet hosts follow the desktop's version: the gateway reports its
release, the Devices map shows Update available for older hosts, and clicking
it (or Update host) rebuilds that host's gateway from this version in a
Martlet run window (martlet-host update; identity, pairings and roles stay).
Keep my Martlet hosts on this PC's version does the same in the background every interval for hosts Martlet reaches over an SSH key or this PC's Docker Desktop; a host that needs a password, sudo or an approval keeps the Update host route. This PC's own host service follows its version whatever that setting says: Martlet installs its own update and is back moments later (the update helper starts the installer within about a second of Martlet's exit), then updates its host service in the background while you use it, and checks again every minute until it runs the same version.
The Windows packaging guide distinguishes local internal builds from the manually dispatched release workflow, which has no push, PR, tag or scheduled trigger.
Closing Martlet's window keeps it running in the notification area by the clock (on by default), so the character, sync, updates and commands from your other computers carry on. Click the icon to open Martlet; right-click it to talk to Martlet (or show the talk window), pause or resume Martlet (a reply, listening and vision stop until you resume), end the conversation, show or hide the character, change Keep running when closed and Start with Windows, or Exit Martlet, which closes it completely (as does Exit Martlet in Settings).
Settings › Startup and closing holds the same choices plus Start in the
notification area for a start at sign-in (the per-user Run entry Martlet, off
by default; Windows' own Startup apps switch is respected, and the uninstaller
removes the entry). It can also show the character and start listening (and
watching) as Martlet starts. Greet me once Martlet has warmed up after it
starts (on by default) has Martlet say hello on its own, once each time it
starts (see Greeting when Martlet starts);
the line under it says whether it greeted you. Starting Martlet again while it runs shows the
running window instead of a second copy (per data folder). Choices live in
background.json.
If an exit would cut work short (an update download, an install in a run window, backup and restore, a troubleshooting report, a download or a command from another computer), Martlet lists what it is still doing and asks: Exit anyway interrupts it, Keep Martlet open doesn't. While it closes, its window says what it is finishing (the notification-area tooltip too); if that takes more than a few seconds the window shows with Exit now, which says what exiting without waiting interrupts and asks once more. A part that fails to close is logged and skipped, so Martlet never stays stuck closing. An unattended update's exit (automatic, or asked for by another computer) never asks or shows the window: it starts only when nothing would be cut short (and otherwise waits for it), and a slow close stays out of sight.
Settings › Appearance › Your palette switches between Pink light (blush, cream and berry), Rose dark (deep plum and soft rose), the Character light/dark palettes, which take their colors from the character you show, and Custom, your own palette. Rounded controls, matching form fields, confirmation prompts and the companion home screen share the palette across every window. The transparent avatar overlay keeps its canvas clear while its controls and speech bubbles follow the current palette and Windows high contrast. Windows high contrast overrides the decorative colors; Windows file and folder pickers keep their system appearance.
Custom starts as a copy of the palette you used before. Under the choice, the editor lists the twelve parts of Martlet (window background, cards, buttons and side bar, text, quiet text, outlines, accent, text on accent, focus ring, good news, warnings and glow) with their colors:
- Select a part.
- Type its color code (#RRGGBB or #RGB), move the hue, saturation and lightness sliders, or select one of your character's colors.
- To start again from another palette, select it in Start from and select Use its colors. Martlet asks first when you changed the colors.
Every window and the character overlay change as you edit. A line under the editor says whether every color is easy to read (Martlet's contrast rules, Character palettes). When something may be hard to read, Make it easy to read moves the colors that break a rule in lightness only, so they keep their hue. A custom palette is dark when its window background is dark.
Pink light is the first-launch default. Changing the palette saves only
appearance.txt (and, for Custom, appearance-custom.json) in the selected
data directory, separately from profile
settings, credentials and consent. It is not part of configuration
backup/restore. Launch reads this preference without creating files;
inaccessible or malformed preferences are reported on the home screen (a
custom palette that can't be read starts as Pink light's colors). An
unsavable choice still applies for the current session. Appearance changes
never start a conversation, network or audio action.
The original Martlet bird icon matches the palettes: a cream bird with rosy
cheeks and a berry heart on a pink badge. It is embedded in the desktop
executable, window/taskbar icons and installer; the Start menu shortcut uses the
desktop executable's icon. src\Martlet.Desktop\Assets\Martlet.svg is the
editable vector source, alongside a transparent 256 px PNG and a multi-size ICO
(16, 20, 24, 32, 40, 48, 64, 128 and 256 px). Regenerate the PNG/ICO locally
after artwork changes with .\scripts\Generate-AppIcon.ps1 on Windows with
PowerShell 7; no downloads or third-party image tooling are needed.
The same bird is the in-app Martlet mascot: the navigation rail logo, the
Home hero, the welcome tour, and the Talk header and reply avatar draw it as a
round badge from the MascotImage vector in
src\Martlet.Desktop\Themes\Controls.xaml. Copy bird artwork changes from the
SVG into that resource too.
Martlet: download · repository · changelog · issues
These pages come from docs/wiki in the repository. To suggest a change, open an issue or a pull request there.
- Home
- Accounts and households
- Accounts and Household
- Android phones and tablets: what it takes, and the plan
- Martlet's API for other apps and scripts
- App Guides
- App Settings and Updates
- App guides: game and app knowledge from the web
- Architecture
- Bounded PCM playback
- Audio dependency inventory and notices
- Avatar guide: Live2D, VRM and speech animation
- V01a explicit microphone capture
- Chatterbox voice engines
- Cleaning up disk space
- One Martlet on all your computers
- Companion controls and behavior requirements
- Components, jobs and placement (design)
- Live conversation
- Creations
- Decision map: which file owns each decision
- Deep research: web search and long research jobs
- The desktop app: updates, notification area, exiting and appearance
- Linux and macOS desktop companion: research, decision and plan
- Developer Guide
- Dia voice engine
- Diagnostics
- Discord
- Architecture and provider contracts
- Discord
- Memory (P03a/P03b/P03c)
- Singing
- Desktop troubleshooting and local support
- Recognizing people by voice, and Parakeet
- Echo cancellation
- ElevenLabs voice: your cloned voice with tones
- F5 worker and reference-voice foundation
- FAQ
- First Steps
- Game state plan: implementation history
- Glossary: one name for each concept
- GPT-SoVITS voice
- Hosted Thinking: cloud models when Thinking can't run on this PC
- Installation and support
- Installing Martlet
- iOS and iPadOS: what it takes, and the plan
- Repository instructions for coding agents
- Repository knowledge base
- Knowledge base maintenance
- GitHub Wiki mirror
- Linux and Mac
- Listening and Voice ID
- Local model apps
- Lorebooks
- macOS: what it takes, and the plan
- Martlet MCP Server
- MCP in Martlet
- MCP: The app's window
- MCP: Apps, home and memory
- MCP: Characters
- MCP: Diagnostics and logs
- MCP: Computers, network and accounts
- MCP: Other
- MCP: Tool permissions
- MCP pages
- MCP: Server and protocol internals
- MCP: Settings
- MCP: Start here
- MCP: Thinking and models
- MCP: Voice and listening
- Memory
- Messaging apps
- Model catalog: sources, conflicts and design
- Motion host role
- Multiple Computers
- Your Martlet network
- OCR host role
- Share your language models: the OpenAI-compatible endpoint
- Packaging
- Perception worker contracts
- Personality and Characters
- Picture making
- Pictures and Creations
- Picture making host role
- Platforms: what each device can do
- Prerequisites: what Martlet bundles, installs for you, or needs from you
- Privacy and Safety
- Reading the text on your screen
- Wiki source
- Recommendation design: ask three questions, plan for three situations
- Recommended setups: one machine to unlimited budget
- Releasing
- Repository Layout
- Research and provenance ledger
- Resource footprints
- Roadmap
- Watch my screen: screen-aware commentary
- Search engine
- Image and audio models: who sees, who hears, who answers
- Setting Up a Host
- Setup, Windows credentials and local audio
- Sharing with Friends
- Singing
- Smart Home
- Smart home and cameras
- Source Projects
- Talking to Martlet
- Telegram and WhatsApp
- The Character
- Thinking
- Tools and MCP
- Troubleshooting
- Martlet desktop UI design
- User stories and target flows
- Voice activity detection
- Validating changes
- Validation and Testing
- Vision
- Voice latency: from you stopping talking to Martlet's voice
- Voice recognition host role
- Multi-engine voice setup and comparison
- Voices
- The welcome wizard
- XTTS-v2 voice engine