How buechijonas/masha works
Masha is a personal desktop assistant layered onto a Hyprland session. The main interaction is through its Quickshell widgets, windows, or Quick-Ask: chat is handed to Claude, while Quick-Ask uses local data, web sources, or Ollama; desktop controls also expose task and settings features. Mode switching coordinates the desktop’s appearance and behavior. The README documents these connections; backend and QML source excerpts were not provided, so the graph does not infer finer implementation details.
Main entry points: shell.qml Masha windows · userconf.py Personal settings · ask.py Quick-Ask backend · mode.sh Mode switching
Components 22
Desktop interface
- Masha widgets
home/.config/quickshell/masha-widget/shell.qml - Masha windows
home/.config/quickshell/masha-window/shell.qml - Quick-Ask UI
home/.config/quickshell/masha-ask/shell.qml - Shared chat and palette
home/.config/quickshell/masha-common/MashaChat.qml - Mascot overlay
home/.config/quickshell/masha-mascot/shell.qml - Task manager view
home/.config/quickshell/masha-window/TasksView.qml - Weather, news, markets
home/.config/quickshell/masha-window
Assistant backends
- Claude chat backend
home/.local/share/masha/chat.py - Quick-Ask backend
home/.local/share/masha/ask.py - Task operations
home/.local/share/masha/tasks.py - Local information
home/.local/share/masha/info.py - Desktop events
home/.local/share/masha/events.py - Random and patrol
home/.local/share/masha/alive.py - Personal settings
home/.local/share/masha/userconf.py
Desktop control
- Masha CLI
home/.local/bin/masha - Mode switching
home/.local/share/masha/mode.sh - Hyprland session
home/.config/hypr/hyprland.conf - Mode palette
home/.config/quickshell/masha-common/palette.json
External services
- Claude Code
- Ollama
- Weather, RSS, finance sources
Other components
- User
Connections 25
- User → Masha widgets: uses
README.md - User → Masha windows: opens
README.md - User → Quick-Ask UI: asks
README.md - Masha widgets → Shared chat and palette: shares components
README.md - Masha windows → Shared chat and palette: shares components
README.md - Shared chat and palette → Claude chat backend: streams chat
README.md - Claude chat backend → Claude Code: sends prompts
README.md - Quick-Ask UI → Quick-Ask backend: submits questions
README.md - Quick-Ask backend → Ollama: summarizes with
README.md - Quick-Ask backend → Weather, RSS, finance sources: searches sources
README.md - Masha windows → Task operations: requests tasks
README.md - Masha windows → Local information: requests information
README.md - Masha windows → Task manager view: shows task manager
README.md - Masha windows → Weather, news, markets: shows feature views
README.md - Local information → Weather, RSS, finance sources: fetches information
README.md - Masha CLI → Mode switching: switches mode
README.md - Mode switching → Hyprland session: updates desktop
README.md - Mode switching → Mode palette: sets mode colors
README.md - Desktop events → Hyprland session: uses session socket
README.md - Random and patrol → Masha windows: triggers popups
README.md - User → Mascot overlay: sees overlay
README.md - Personal settings → Quick-Ask backend: configures
README.md - Personal settings → Local information: configures
README.md - Personal settings → Masha widgets: configures
README.md - Personal settings → Hyprland session: provides settings
README.md