This repository implements a custom Lovelace card for Home Assistant that displays an interactive map of a robot vacuum's environment. It allows users to select zones, rooms, points, or paths for cleaning and sends corresponding service calls to the vacuum. The card supports multiple vacuum platforms (Xiaomi Miio, Roborock, Valetudo, Neato, Dreame, Roomba, etc.) via platform-specific templates that define map modes, tiles, and icons. It includes a visual editor, localization in 28 languages, pinch-zoom functionality, and a configurable tile/icon system. The architecture is a single-page web component built with LitElement, with modular internal components for map objects, map modes, generators, and UI elements. It relies on Home Assistant frontend internals and custom-card-helpers. The codebase is well-structured with reusable patterns like dependency injection (Context), coordinate transformation (CoordinatesConverter), and template-based service call generation (ServiceCallSchema). However, it has some technical drift due to deprecated rollup plugins, polyfills for legacy browsers, and tight coupling to HA APIs that may break with updates.
This repository is a community-maintained interactive web map for Red Dead Online (RDO), built as a single-page application using Leaflet. It provides players with a comprehensive overlay of in-game locations, including collectibles, animals, plants, shops, hideouts, random encounters, legendary animal spawns, free roam events, and daily challenges. The application is entirely client-side, loading static JSON data files and rendering markers on a Leaflet map with custom styling, clustering, and heatmaps. It features a rich side menu for filtering, a settings panel with localStorage persistence, user-customizable pins, and a localization system supporting over 30 languages via Crowdin. The architecture is modular, with separate JavaScript files for each map category (e.g., animals.js, plants.js, bounties.js) and utility modules for settings, language, and data loading. External dependencies include Leaflet, Bootstrap, Tippy, and several Leaflet plugins, all loaded via CDN or vendored copies. The repository also contains development scripts for extracting game data from binary files and generating route optimization algorithms. While primarily an application, it has a strong data component with curated JSON datasets that must be manually updated when the game changes.