How kssemy/deskbuddy-pet works
DeskBuddy is an Electron desktop pet and shared-work companion for Windows and macOS. Users interact with the character to manage tasks, settings, wardrobe, and work-time records; the main process owns window behavior, local persistence, optional Supabase friend sync, and update flows. The graph includes README-documented UI capabilities whose renderer files are present in the tree, but their source was not sampled, so those links are omitted. Edges use only relationships visible in the excerpts or README.
Main entry points: main.js Electron main · preload.js IPC bridge · pet.html Pet and task UI · panel.html Settings UI
Components 20
Desktop experience
- Electron main
main.js - IPC bridge
preload.js - Pet and task UI
pet.html - Settings UI
panel.html - Speech UI
other.html - Display geometry
desktop.js - Character motion
motion.js
Personal workspace
- History UI
history.html - Wardrobe UI
wardrobe.html - Work-time status
worktime.js - Monthly history
history.js - Image bounds
image-bounds.js
Friend presence
- Meet reactions
meeting.js - Friend sync
main.js - Realtime events
release-events.js - Supabase backend
Update lifecycle
- Release checking
main.js - Verified download
update-download.js - GitHub releases
Other components
- User
Connections 22
- User → Pet and task UI: uses
README.md - User → Settings UI: configures
README.md - User → History UI: reviews
README.md - User → Wardrobe UI: manages
README.md - Pet and task UI → IPC bridge: invokes IPC
- Settings UI → IPC bridge: invokes IPC
- History UI → IPC bridge: requests history
- Wardrobe UI → IPC bridge: invokes IPC
- IPC bridge → Electron main: dispatches IPC
preload.js - Electron main → Work-time status: computes status
main.js - Electron main → Monthly history: computes records
main.js - Electron main → Image bounds: processes images
main.js - Electron main → Display geometry: uses geometry
main.js - Electron main → Character motion: uses motion
main.js - Electron main → Meet reactions: checks proximity
main.js - Electron main → Friend sync: manages presence
main.js - Electron main → Realtime events: registers events
main.js - Friend sync → Supabase backend: syncs presence
README.md - Electron main → Release checking: checks releases
main.js - Release checking → GitHub releases: queries latest
main.js - Electron main → Verified download: downloads asset
main.js - Verified download → GitHub releases: fetches release file
update-download.js