Skip to content
H0777Public

About

AICompare — Blind AI Model Comparison (2–6 models) with Native Windows MP4 Screen Recording, Multi-Provider Support, and Local SQLite History.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

AICompare — Blind AI Model Comparison & Native MP4 Screen Recording

Release Platform Framework License

العربية | English

AICompare (formerly ModelDuel) is a high-performance Windows desktop application built with Tauri 2 and Rust that lets you compare 2 to 6 AI models side-by-side on the exact same prompt with blind anonymous evaluation, ticketed voting, independent model sources, local SQLite history, safe markdown rendering, shareable comparison cards, and in-app native screen recording directly to standard H.264 MP4 video without external tools like ffmpeg.


⚡ Direct Download (Windows)

Get the latest verified release builds for Windows 10 & 11 (x64):

Visit the Releases Page for full release notes and SHA-256 checksums.


🌟 Key Features

1. Compare 2–6 AI Models Simultaneously

  • Connect your desired providers and toggle Compare 2–6 models.
  • Assign any source and model to participants A through F.
  • Send the exact same prompt across all participants in parallel.
  • Identities remain completely blind (Slots A–F) until you cast a vote (Winner, Tie, or Neither).
  • Immediate cancellation: cancel stops local waiting while preserving completed answers.

2. Independent Sources per Side (Local & Cloud)

  • Local Ollama: Direct HTTP (http://127.0.0.1:11434), zero API key required. Strict LAN-only validation blocks private metadata and loopback abuse.
  • 10 Built-in Cloud Providers: OpenAI, Anthropic, Google Gemini, OpenRouter, Groq, Together AI, Mistral AI, DeepSeek, Fireworks AI, and Hugging Face.
  • Custom Endpoints: Connect to any public HTTPS OpenAI-compatible endpoint.
  • Mix & Match: Run Local vs Cloud (e.g., Ollama llama3.2 vs OpenAI gpt-4o) or compare completely different cloud providers with independent API credentials.
  • Mandatory Pre-Flight Validation: In-memory connection test validates endpoints and credentials before comparison begins.

3. Pure In-App MP4 Screen Recording (Zero ffmpeg)

  • Native Windows Graphics Capture API via scap.
  • Pure in-app H.264 video compression via openh264.
  • Streaming standard MP4 muxing via minimp4.
  • Bounded capture buffering ($O(1)$ memory usage), wall-clock output pacing, and collision-safe file naming with full Arabic/Unicode support.

4. Local SQLite Persistence & Privacy-Safe Export

  • Offline SQLite database (rusqlite) stores comparisons locally with auto-save toggle and manual save.
  • Spreadsheet-safe CSV export (neutralizes formula injection characters =, +, -, @) and full JSON export.
  • Zero Telemetry & 100% Privacy: API keys and sensitive tokens are memory-only and never written to disk.

5. Safe Markdown & Code Copying

  • Sanitized markdown formatting with raw HTML neutralization (<script>, <img onerror>) and dangerous URI blocking.
  • Code blocks with syntax highlighting and one-click copy buttons.

6. Bilingual UI & Shareable Cards

  • Warm editorial palette (#f2eadc, #fffaf2, #0c5848) with Fraunces, Outfit, and IBM Plex Sans Arabic typography.
  • Instant switch between English (LTR) and Arabic (RTL) without reloading the page.
  • 20 bilingual starter prompt packs across Coding, Reasoning, Creative Writing, and Arabic Linguistics.
  • Local client-side HTML5 canvas PNG comparison card export (600×360) and text clipboard copying with prompt privacy masking.

💻 System Requirements

  • Operating System: Windows 11 x64 (Build 22621+) or Windows 10 x64 (21H2+)
  • Runtime: Microsoft Edge WebView2 Evergreen Runtime (pre-installed on Windows 11)

🛠️ Development & Building from Source

Prerequisites

  • Rust Toolchain (Stable x86_64-pc-windows-msvc 1.88+)
  • Visual Studio 2022 Build Tools (with "Desktop development with C++")
  • Node.js v20.x or v22.x+ and npm 10+
  • LLVM / Clang for minimp4-sys (choco install llvm -y, set LIBCLANG_PATH="C:\Program Files\LLVM\bin")

Commands

# 1. Install dependencies
npm install

# 2. Run test suites
npm test
cargo test --manifest-path src-tauri/Cargo.toml

# 3. Run desktop app in development
npm run dev

# 4. Build production installer (.msi & .exe)
npm run build

📄 License

This project is open-source under the MIT License.

About

AICompare — Blind AI Model Comparison (2–6 models) with Native Windows MP4 Screen Recording, Multi-Provider Support, and Local SQLite History.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages