Skip to content

wnzzer/rank-analysis

Repository files navigation

Logo

Rank Analysis

🎮 League of Legends Ranked Match Analysis Tool based on LCU API

Tauri Rust Vue TypeScript Windows License

Latest Release Downloads Stars

中文 | English


📖 Introduction

Rank Analysis is a League of Legends ranked match data analysis tool developed based on Riot's LCU API. It helps players easily query match history, identify teammate risks, and provides AI-powered intuitive match analysis. This project is built with Tauri 2.0, combining Rust's high performance with the flexibility of web frontends to deliver the most lightweight and efficient match query experience.

✨ Features

📊 Match History Query

  • Win Rate Highlighting: Intuitively displays teammates' recent performance
  • MVP Display: Quickly identify carry players
  • Player Tags: Auto-tags win streaks, loss streaks, and non-ranked players
  • Relationship Display: Identifies nemeses and friends

🔍 Match Analysis

  • Premade Detection: Marks pre-grouped players (duo/squad detection)
  • Match History: Marks previously encountered players
  • Match Details Panel: Independent window showing 10 players' KDA, economy, CS, damage taken, towers destroyed, items, skills, and runes/augments
  • Augment Recognition: Special queues like Arena automatically switch to augment display with rarity differentiation

🤖 AI Analysis

  • Lobby-level AI Assessment: During lobby/queue phase, quickly assess teammate and opponent risks based on recent match history, favorite champions, role distribution, and tag information
  • Full Match AI Review: One-click generation of complete match outcome analysis in match details, identifying who performed best, who fed, who got stomped, and who was dragged down by teammates
  • Single Player AI Review: Supports individual analysis for any participant, determining if they performed well, poorly, got stomped, were dragged down, or played normally
  • Data Evidence-Driven: AI conclusions are generated based on KDA, damage share, tank share, gold, kill participation, towers, and CS - not pure subjective commentary
  • Result Caching: Same-match AI analysis results are cached locally within the session to reduce repeated request wait times

🤖 Automation Assistant

  • Auto Matchmaking: Automatically starts searching for matches
  • Auto Accept: Automatically accepts matches when found
  • Auto Pick/Ban: Automatically selects and bans preset champions

📸 Screenshots

Main Interface Preview Main Interface Preview
Analysis Feature Demo Automation Feature Demo
Tag Management
AI Analysis

🚀 Usage

  1. Download:

    System Requirements: Windows 10 1803 or higher (WebView2 support required)

  2. Run: Extract and run the executable directly - no admin privileges required

  3. Connect: The software automatically detects the game client when running

    Notes:

    • Currently only supports Tencent servers (China)
    • Can be opened mid-game and will auto-connect
    • AI analysis requires internet access to call model services; network unavailability only affects AI features, not basic match history queries

🛠️ Development & Build

If you want to compile this project yourself, follow these steps:

Prerequisites

  • Node.js (LTS version recommended)
  • Rust
  • C++ Build Environment (Visual Studio C++ Build Tools)

Build Steps

  1. Clone and enter the Tauri directory:

    cd lol-record-analysis-tauri
  2. Install dependencies:

    npm install
  3. Run in development mode:

    npm run tauri dev
  4. Build production version:

    npm run tauri build

    The executable will be located in src-tauri/target/release/bundle

📊 Code Quality

This project uses modern development toolchain to ensure code quality and consistency:

Quality Tools

  • ESLint: Static code analysis
  • Prettier: Code formatting
  • TypeScript: Strict type checking
  • Clippy: Rust code linting
  • Rustfmt: Rust code formatting
  • GitHub Actions: Automated CI/CD

Quality Check Commands

# Frontend code checks
cd lol-record-analysis-tauri
npm run lint          # ESLint check
npm run format        # Prettier formatting
npm run typecheck     # TypeScript type check

# Backend code checks (requires Windows environment)
cd src-tauri
cargo fmt             # Formatting
cargo clippy          # Lint check

For detailed code quality standards and contribution guidelines, please refer to:

🤝 Contributing

Issues and Pull Requests are welcome!

  • Bug Reports: Submit via GitHub Issues
  • Code Contributions: Improvements and new features are welcome

📄 License

This project is open-sourced under the MIT License.

Maintained with AI assistance experiments (Claude / LLM tooling)

Star History

Star History Chart

About

基于Tauri 2 + Rust,构建的一个LOL 英雄联盟腾讯服战绩查询助手,创新式标签标记机制,一键分析的混子、牛马队友

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors