# linuxmint/cinnamon-spices-applets architecture

> Architecture diagram of the GitHub repository linuxmint/cinnamon-spices-applets, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/linuxmint/cinnamon-spices-applets
- Repository: https://github.com/linuxmint/cinnamon-spices-applets

## Overview

This repository is a collection and distribution source for independent Cinnamon desktop applets, rather than one integrated runtime. The documented user workflow is to install a spice through the Cinnamon Spices website or Cinnamon System Settings; its packaged files are then interpreted by Cinnamon. The tree also shows applets for menus, weather, radio playback and downloads, screenshot editing, and keyboard controls. These are separate products, not stages in one shared pipeline. Connections among sampled modules are shown only where source references support them; many applet internals and the installation services were not sampled.

Main entry points: [`Cinnamenu@json/files/Cinnamenu@json/5.8/contextmenu.js`](https://github.com/linuxmint/cinnamon-spices-applets/blob/master/Cinnamenu%40json/files/Cinnamenu%40json/5.8/contextmenu.js) (Menu context actions), [`README.md`](https://github.com/linuxmint/cinnamon-spices-applets/blob/master/README.md) (Spices repository), [`radio@driglu4it/src/services/Config.ts`](https://github.com/linuxmint/cinnamon-spices-applets/blob/master/radio%40driglu4it/src/services/Config.ts) (Radio configuration), [`Cinnamenu@json/files/Cinnamenu@json/5.8/applet.js`](https://github.com/linuxmint/cinnamon-spices-applets/blob/master/Cinnamenu%40json/files/Cinnamenu%40json/5.8/applet.js) (Cinnamenu)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_distribution["Spice distribution"]
  node_spices_site["Spices website"]
  node_settings["System Settings"]
  node_spices_repo["Spices repository<br/>[README.md]"]
end

subgraph group_desktop["Desktop utilities"]
  node_cinnamenu["Cinnamenu<br/>[applet.js]"]
  node_curtain["Curtain hotkeys<br/>[keyhandler.js]"]
  node_screenshot["Screenshot tool<br/>[app.py]"]
end

subgraph group_media["Media applets"]
  node_radio30["Radio 3.0<br/>[applet.js]"]
  node_radio_player["Radio player<br/>[MpvHandler.ts]"]
  node_radio_download["YouTube downloads"]
end

subgraph group_information["Information applets"]
  node_weather["Weather applet<br/>[main.ts]"]
end

subgraph group_internals["Applet internals"]
  node_menu_context["Menu context actions<br/>[contextmenu.js]"]
  node_menu_emoji["Menu emoji support<br/>[emoji.js]"]
  node_weather_errors["Weather error events<br/>[error_handler.ts]"]
  node_radio_config["Radio configuration<br/>[Config.ts]"]
  node_radio_http["Radio HTTP handler<br/>[HttpHandler.ts]"]
end

node_user(("Cinnamon user"))

node_user -->|"installs from"| node_spices_site
node_user -->|"installs through"| node_settings
node_spices_site -->|"hosts spices"| node_spices_repo
node_settings -->|"installs spice"| node_spices_repo
node_cinnamenu -->|"uses"| node_menu_context
node_menu_context -->|"uses"| node_menu_emoji
node_weather -->|"references"| node_weather_errors
node_radio_player -->|"imports"| node_radio_config
node_radio_download -->|"imports"| node_radio_config

click node_spices_repo "https://github.com/linuxmint/cinnamon-spices-applets/blob/master/README.md"
click node_cinnamenu "https://github.com/linuxmint/cinnamon-spices-applets/blob/master/Cinnamenu%40json/files/Cinnamenu%40json/5.8/applet.js"
click node_menu_context "https://github.com/linuxmint/cinnamon-spices-applets/blob/master/Cinnamenu%40json/files/Cinnamenu%40json/5.8/contextmenu.js"
click node_menu_emoji "https://github.com/linuxmint/cinnamon-spices-applets/blob/master/Cinnamenu%40json/files/Cinnamenu%40json/5.8/emoji.js"
click node_curtain "https://github.com/linuxmint/cinnamon-spices-applets/blob/master/curtain%40AdvaitaSoni/files/curtain%40AdvaitaSoni/keyhandler.js"
click node_screenshot "https://github.com/linuxmint/cinnamon-spices-applets/blob/master/mint-screenshot%40khumnath/files/mint-screenshot%40khumnath/app.py"
click node_weather "https://github.com/linuxmint/cinnamon-spices-applets/blob/master/weather%40mockturtl/src/3_8/main.ts"
click node_weather_errors "https://github.com/linuxmint/cinnamon-spices-applets/blob/master/weather%40mockturtl/src/3_8/lib/services/error_handler.ts"
click node_radio30 "https://github.com/linuxmint/cinnamon-spices-applets/blob/master/Radio3.0%40claudiux/files/Radio3.0%40claudiux/applet.js"
click node_radio_player "https://github.com/linuxmint/cinnamon-spices-applets/blob/master/radio%40driglu4it/src/services/mpv/MpvHandler.ts"
click node_radio_download "https://github.com/linuxmint/cinnamon-spices-applets/blob/master/radio%40driglu4it/src/services/youtubeDownload/YoutubeDownloadManager.ts"
click node_radio_config "https://github.com/linuxmint/cinnamon-spices-applets/blob/master/radio%40driglu4it/src/services/Config.ts"
click node_radio_http "https://github.com/linuxmint/cinnamon-spices-applets/blob/master/radio%40driglu4it/src/lib/HttpHandler.ts"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_spices_site,node_settings,node_spices_repo,node_user toneBlue
class node_cinnamenu,node_curtain,node_screenshot toneAmber
class node_radio30,node_radio_player,node_radio_download toneMint
class node_weather toneRose
class node_menu_context,node_menu_emoji,node_weather_errors,node_radio_config,node_radio_http toneIndigo
```

## Components

### Spice distribution

- **Spices website**
- **System Settings**
- [Spices repository](https://github.com/linuxmint/cinnamon-spices-applets/blob/master/README.md): `README.md`

### Desktop utilities

- [Cinnamenu](https://github.com/linuxmint/cinnamon-spices-applets/blob/master/Cinnamenu%40json/files/Cinnamenu%40json/5.8/applet.js): `Cinnamenu@json/files/Cinnamenu@json/5.8/applet.js`
- [Curtain hotkeys](https://github.com/linuxmint/cinnamon-spices-applets/blob/master/curtain%40AdvaitaSoni/files/curtain%40AdvaitaSoni/keyhandler.js): `curtain@AdvaitaSoni/files/curtain@AdvaitaSoni/keyhandler.js`
- [Screenshot tool](https://github.com/linuxmint/cinnamon-spices-applets/blob/master/mint-screenshot%40khumnath/files/mint-screenshot%40khumnath/app.py): `mint-screenshot@khumnath/files/mint-screenshot@khumnath/app.py`

### Media applets

- [Radio 3.0](https://github.com/linuxmint/cinnamon-spices-applets/blob/master/Radio3.0%40claudiux/files/Radio3.0%40claudiux/applet.js): `Radio3.0@claudiux/files/Radio3.0@claudiux/applet.js`
- [Radio player](https://github.com/linuxmint/cinnamon-spices-applets/blob/master/radio%40driglu4it/src/services/mpv/MpvHandler.ts): `radio@driglu4it/src/services/mpv/MpvHandler.ts`
- [YouTube downloads](https://github.com/linuxmint/cinnamon-spices-applets/blob/master/radio%40driglu4it/src/services/youtubeDownload/YoutubeDownloadManager.ts): `radio@driglu4it/src/services/youtubeDownload/YoutubeDownloadManager.ts`

### Information applets

- [Weather applet](https://github.com/linuxmint/cinnamon-spices-applets/blob/master/weather%40mockturtl/src/3_8/main.ts): `weather@mockturtl/src/3_8/main.ts`

### Applet internals

- [Menu context actions](https://github.com/linuxmint/cinnamon-spices-applets/blob/master/Cinnamenu%40json/files/Cinnamenu%40json/5.8/contextmenu.js): `Cinnamenu@json/files/Cinnamenu@json/5.8/contextmenu.js`
- [Menu emoji support](https://github.com/linuxmint/cinnamon-spices-applets/blob/master/Cinnamenu%40json/files/Cinnamenu%40json/5.8/emoji.js): `Cinnamenu@json/files/Cinnamenu@json/5.8/emoji.js`
- [Weather error events](https://github.com/linuxmint/cinnamon-spices-applets/blob/master/weather%40mockturtl/src/3_8/lib/services/error_handler.ts): `weather@mockturtl/src/3_8/lib/services/error_handler.ts`
- [Radio configuration](https://github.com/linuxmint/cinnamon-spices-applets/blob/master/radio%40driglu4it/src/services/Config.ts): `radio@driglu4it/src/services/Config.ts`
- [Radio HTTP handler](https://github.com/linuxmint/cinnamon-spices-applets/blob/master/radio%40driglu4it/src/lib/HttpHandler.ts): `radio@driglu4it/src/lib/HttpHandler.ts`

### Other components

- **Cinnamon user**

## Connections

- Cinnamon user → Spices website: installs from (evidence: `README.md`)
- Cinnamon user → System Settings: installs through (evidence: `README.md`)
- Spices website → Spices repository: hosts spices (evidence: `README.md`)
- System Settings → Spices repository: installs spice (evidence: `README.md`)
- Cinnamenu → Menu context actions: uses (evidence: `Cinnamenu@json/files/Cinnamenu@json/5.8/contextmenu.js`)
- Menu context actions → Menu emoji support: uses (evidence: `Cinnamenu@json/files/Cinnamenu@json/5.8/contextmenu.js`)
- Weather applet → Weather error events: references (evidence: `weather@mockturtl/src/3_8/main.ts`)
- Radio player → Radio configuration: imports (evidence: `radio@driglu4it/src/services/mpv/MpvHandler.ts`)
- YouTube downloads → Radio configuration: imports (evidence: `radio@driglu4it/src/services/youtubeDownload/YoutubeDownloadManager.ts`)
