# RainbowCustoServer

A unified demonstration server for **Rainbow Custo-Manifest** integrations.  
It bundles several independent modules under a single Express server, each exposing REST endpoints and HTML demo pages that can be embedded as widgets or iframes inside Rainbow via Custo-Manifest configuration.

### Modules

| Module | Description |
|--------|-------------|
| 🏠 **Domotic** | Home automation dashboard — control lights, gate and thermostat in real time via REST API and WebSocket. Includes Adaptive Card integration for Rainbow. |
| 👥 **miniCRM** | Contact manager with call history — REST API, CSV import/export, phone lookup and FR/EN interface. |
| 🎫 **Incident Manager** | Create and track incidents and call logs. Returns Adaptive Cards and contact sheets for Rainbow Custo-Manifest. |
| 📇 **Contact Details** | Displays an enriched contact sheet inside Rainbow via Custo-Manifest. REST endpoint returning contact details. |
| 🃏 **Adaptive Card** | Demo and test suite for Rainbow Adaptive Card integration. Card preview, sample library with support status (green/orange/red), manifest builder and JSON editor. |
| 📋 **Manifest Event Viewer** | Displays in real time the events received from Rainbow via deep links configured in the Custo-Manifest. |
| 🤖 **IM Assistant** | Rainbow bot responding to IM commands. Custo-Manifest integration for conversations and bubbles. Powered by OpenAI / Gemini. AI license management (personal or shared per company) with persistent token usage tracking. |
| 🌈 **Rainbow Generator** | Visual tool to generate and preview Rainbow Custo-Manifest configurations with templates. |
| 🔗 **Rainbow URL Automation** | Deep-link URL builder and tester. Generates and tests `Rainbow://` URLs for login, page navigation, search filters, click-to-call and correlator. |

---


