RepositoryRust
wnzzer

wnzzer/rank-analysis

A League of Legends match history and performance analysis assistant built with Tauri 2 and Rust. Its innovative tagging system lets users instantly identify and analyze underperforming teammates, hard carries, and “passenger” players.

482stars
46forks
0issues
3views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: match-history

#1 Repository of the week

1
TINIX TRENDING·Topic: league-of-legends-api

#1 Repository of the week

1
TINIX TRENDING·Topic: riot-games

#1 Repository of the week

Logo

Rank Analysis

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

Tauri Rust Vue TypeScript Windows License AtomGitStars

Latest Release Downloads Stars

中文 | English


TL;DR for developers — A native LoL client tool built with Tauri 2 + Rust + Vue 3 + TypeScript. ~5 MB installer, single Windows binary, zero Electron overhead. Talks to the LCU WebSocket for live in-game state, async Rust HTTP for match history, on-device AI tagging pipeline on top. No DLL injection, no game memory access — uses only Riot's official local client API.

📖 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

cd lol-record-analysis-tauri

# One-shot gate — runs before every commit (mirrors CI exactly)
npm run check         # format + lint + typecheck + cargo fmt --check + clippy --all-targets --all-features -Dwarnings
npm run test          # vitest

# Individual steps (if you want to run them piecemeal)
npm run lint          # ESLint
npm run format        # Prettier
npm run typecheck     # vue-tsc
cd src-tauri && cargo fmt --all -- --check && cargo clippy --all-targets --all-features -- -Dwarnings

npm run check is the canonical pre-commit gate. It matches the flags used by .github/workflows/quality-checks.yml — if it passes locally, CI will pass.

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

Similar Projects

Discover other similar projects and AI models.

RepositoryRust
farion1231/cc-switch

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io

158.7k
Dec 2, 2026
RepositoryC++
PenguLoader/PenguLoader

The ultimate JavaScript plugin loader, build your unmatched LoL Client.

770
Aug 10, 2026
RepositoryC++
KebsCS/KBotExt

All-in-one application that sends custom requests to League of Legends LCU api

466
Dec 13, 2024
RepositoryHTML
KebsCS/lcu-and-riotclient-api

League of Legends LCU and Riot Client API Docs

169
Oct 18, 2026
RepositoryC#
BlossomiShymae/Needlework.Net

🪡 A .NET helper development tool for the LCU and Game Client!

163
May 25, 2026
RepositoryPython
KebsCS/LeagueClientDebugger

View and modify all requests sent and received by the League Client and Riot Client. Works on League of Legends, Valorant, 2XKO, Teamfight Tactics and Legends of Runeterra

131
Oct 19, 2026
RepositoryPython
sousa-andre/lcu-driver

🐍 Python3 interface for League of Legends Client API

123
Nov 30, 2024
RepositoryC#
Cat1Bot/league-patch-collection

Vanguard disabler and optimizer League Client

90
Apr 1, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
157.6M
Jun 1, 2026