Cotton code
144 lines · 3.5 KB · JSONRaw
{  "//": "What each Android app's build copies beside the registry's facts (apps/registry.json): the libraries its own parts use (Books' reader, Cinemas' player) and the window's colour before the first frame, its ground's (Ground.kt). The painted layers each app carries are apps/loom/materials.json's, the list the iPhone build reads too.",  "books": {    "windowGround": "#141A2C",    "dependencies": [      "org.readium.kotlin-toolkit:readium-shared:3.3.0",      "org.readium.kotlin-toolkit:readium-streamer:3.3.0",      "org.readium.kotlin-toolkit:readium-navigator:3.3.0",      "org.jsoup:jsoup:1.23.2"    ]  },  "cinemas": {    "windowGround": "#4B0204",    "dependencies": [      "androidx.media3:media3-exoplayer:1.8.0",      "androidx.media3:media3-exoplayer-hls:1.8.0",      "androidx.media3:media3-datasource:1.8.0",      "androidx.media3:media3-database:1.8.0",      "androidx.media3:media3-ui:1.8.0",      "androidx.media3:media3-cast:1.8.0",      "androidx.mediarouter:mediarouter:1.7.0"    ]  },  "music": {    "windowGround": "#1D1D1C"  },  "developer": {    "windowGround": "#332F2E"  },  "downloads": {    "windowGround": "#514D51"  },  "journal": {    "windowGround": "#452A1B"  },  "money": {    "windowGround": "#DFA59A"  },  "photos": {    "windowGround": "#2D241E"  },  "story": {    "windowGround": "#EEEDF5"  },  "notes": {    "windowGround": "#F8F6F1",    "flatLaunch": {      "light": "#F8F6F1",      "dark": "#24262A"    }  },  "health": {    "windowGround": "#FFFFFF"  },  "keys": {    "windowGround": "#F1EEF3"  },  "people": {    "windowGround": "#874C95"  },  "messages": {    "windowGround": "#FAF7F2",    "flatLaunch": {      "light": "#FAF7F2",      "dark": "#1A1714"    },    "dependencies": [      "com.squareup.okhttp3:okhttp:4.12.0",      "io.getstream:stream-webrtc-android:1.3.10",      "com.google.firebase:firebase-messaging:24.1.0",      "androidx.webkit:webkit:1.14.0"    ],    "aars": [      {        "url": "https://github.com/k2-fsa/sherpa-onnx/releases/download/v2.0.1/sherpa-onnx-2.0.1.aar",        "sha256": "a8d09d1d32f3eb8520482c6d3d43fae674681c5b050385967c70a3c2c9bf0ee7"      }    ],    "kitFiles": [      "shell/voice/models.json"    ]  },  "voice": {    "windowGround": "#F8F6F1",    "urlScheme": {      "live": "cottonvoice",      "dev": "cottonvoice-dev"    },    "aars": [      {        "url": "https://github.com/k2-fsa/sherpa-onnx/releases/download/v2.0.1/sherpa-onnx-2.0.1.aar",        "sha256": "a8d09d1d32f3eb8520482c6d3d43fae674681c5b050385967c70a3c2c9bf0ee7"      }    ],    "kitFiles": [      "shell/voice/models.json"    ]  },  "meetings": {    "windowGround": "#F7F6F2"  },  "days": {    "windowGround": "#F1F2F6"  },  "data": {    "windowGround": "#EFF1EA",    "flatLaunch": {      "light": "#EFF1EA",      "dark": "#141812"    }  },  "mail": {    "windowGround": "#F1F3EE",    "flatLaunch": {      "light": "#F1F3EE",      "dark": "#131915"    }  },  "sites": {    "windowGround": "#F5F1F1",    "flatLaunch": {      "light": "#F5F1F1",      "dark": "#171213"    },    "dependencies": [      "androidx.webkit:webkit:1.14.0"    ]  },  "albums": {    "windowGround": "#F2F1EA",    "flatLaunch": {      "light": "#F2F1EA",      "dark": "#161612"    },    "dependencies": [      "com.google.mlkit:face-detection:16.1.7",      "com.google.mlkit:text-recognition:16.0.1",      "com.google.ai.edge.litert:litert:1.4.2"    ]  },  "contacts": {    "windowGround": "#F4F2EE"  }}