How peakk2011/mousse-de-valentin works
Mousse is a note-taking and idea-organizing application, with desktop and web entry points, a rich-text editor, marker-board windows and groups, and real-time collaboration. A typical workflow is to open the editor, work with notes, and organize or share them; marker-board state is persisted locally, while collaboration requests are routed through a session-aware worker. The tree also shows an injection framework and desktop integration. README content was not provided, and several runtime modules were not sampled, so uncertain connections are omitted.
Main entry points: router.js Request router · MarkerBoard.js Marker board · WindowManager.js Window manager · GroupManager.js Board groups
Components 25
Desktop runtime
- App entry
src/main.js - App initialization
src/initFascinateNotes.js - Window lifecycle
src/core/window/lifeCycle.js - IPC manager
src/core/ipcManager.js
Notes and editing
- Renderer app
src/renderer/content/app.js - Editor page
src/renderer/content/pages/editorPage.js - Note store
src/renderer/scripts/note/noteStore.js - Text safety
src/renderer/scripts/editor/textSafety.js - Command palette
src/renderer/content/contentComponents/commandPalette/controller/CommandPaletteController.js - Palette results
src/renderer/content/contentComponents/commandPalette/components/CommandPaletteResults.js
Marker board
- Marker board
src/api/marker/board/MarkerBoard.js - Window manager
src/api/marker/window/WindowManager.js - Window factory
src/api/marker/window/WindowFactory.js - Board groups
src/api/marker/group/GroupManager.js - Board persistence
src/api/marker/board/persistence.js - Zoom and pan
src/api/marker/controllers/zoomPan.js
Collaboration service
- Collaboration client
src/renderer/scripts/collab/realtimeCollab.js - Request router
workers/collab/router.js - HTTP helpers
workers/collab/http.js - Session security
workers/collab/security.js - Shared services
workers/collab/shared.js - Room actions
workers/collab/routes/roomActions.js - WebSocket route
workers/collab/routes/websocket.js
Content injection
- Injection framework
src/framework/units.js
Other components
- User
Connections 20
- App entry → App initialization: starts
src/main.js - App initialization → Window lifecycle: creates windows
src/initFascinateNotes.js - User → Renderer app: uses
- Window manager → Window factory: creates windows
src/api/marker/window/WindowManager.js - Window manager → Board persistence: persists board
src/api/marker/window/WindowManager.js - Board groups → Board persistence: persists groups
src/api/marker/group/GroupManager.js - Board groups → Text safety: truncates labels
src/api/marker/group/GroupManager.js - Marker board → Board persistence: loads and saves
- Marker board → Window manager: manages windows
- Marker board → Board groups: manages groups
- Marker board → Zoom and pan: supports navigation
- Command palette → Palette results: updates results
src/renderer/content/contentComponents/commandPalette/controller/CommandPaletteController.js - Editor page → Note store: uses notes
- Request router → HTTP helpers: reads request body
workers/collab/router.js - Request router → Session security: checks identity
workers/collab/router.js - Request router → Shared services: uses shared services
workers/collab/router.js - Request router → Room actions: dispatches actions
workers/collab/router.js - Request router → WebSocket route: dispatches upgrades
workers/collab/router.js - Shared services → Session security: uses security
workers/collab/shared.js - Collaboration client → Request router: sends requests