HSR-Scanner is a desktop application that automates the extraction of game data from Honkai: Star Rail using computer vision techniques. It simulates keyboard and mouse inputs to navigate the game's inventory system, captures screenshots of items, and uses OCR (Optical Character Recognition) to extract item statistics. The extracted data is exported to JSON format compatible with third-party optimizers. The application features a PyQt6-based GUI with configurable scan options, hotkeys, and performance tuning parameters.
This repository is a Python client library for the Mihomo API, which serves parsed data for the game Honkai: Star Rail. It provides a clean, async client (`MihomoAPI`) that fetches player profiles and character data, mapping the JSON responses into well-structured Pydantic models (version 1 and version 2). The codebase is tightly focused on this single external API, with no data processing or storage beyond the client. Architecture follows a typical API client pattern: a client class with request methods, Pydantic models for data representation, custom error classes, and utility functions for data manipulation (e.g., removing duplicates, merging character records, resolving icon URLs). The library is not a framework or service but a reusable component for any application that needs to consume Honkai: Star Rail player data from the Mihomo API. There are no data pipelines, notebooks, or research elements.
This repository serves as a comprehensive data and asset repository for the game Honkai: Star Rail. It contains structured JSON indexes for game entities such as characters, light cones, relics, items, achievements, and simulated universe content, localized into 13 languages. The data is organized in two versions (index_min and index_new), suggesting a migration or versioning strategy. Additionally, the repository includes a vast collection of game assets: icons for avatars, elements, paths, relics, skills, and more, as well as character portraits and preview images, light cone artwork, and simulated event images. Fonts used in the game are also provided. This repository is primarily used by developers and community tool builders to access up-to-date game data and assets for creating websites, apps, and analysis tools. The data is extracted directly from the game client and is structured in a consistent, machine-readable format, making it easy to integrate into various projects. While there is no executable code or ETL pipeline, the repository exemplifies good data organization practices with clear directory structures and multi-language support.