Skip to content

qinscode/GitHubRepoAnalyzer

Repository files navigation

GitHub Repository Analyzer Logo

GitHub Repository Analyzer

GitHub Release License GitHub Stars GitHub Issues GitHub Forks
React Tauri TypeScript Vite

A powerful desktop application built with React and Tauri that provides comprehensive analysis of GitHub repositories, individually or in batch.

🚀 Features

  • Single Repository Analysis: Deep dive into metrics of individual GitHub repositories
  • Batch Processing: Analyze multiple repositories simultaneously
  • Data Visualization: Interactive charts and graphs for repository metrics
  • Modern UI: Clean, intuitive interface built with Material UI components

🛠️ Tech Stack

Frontend

  • React 18 with TypeScript
  • Vite for fast development and optimized builds
  • TanStack ecosystem:
    • Router for navigation
    • React Query for data fetching
    • Table for data display
  • Material UI for component library
  • Recharts for data visualization
  • Zustand for state management
  • React Hook Form with Zod validation
  • Tailwind CSS for styling

Backend

  • Tauri (Rust-based desktop framework)
    • Used for cross-platform desktop packaging (Windows, macOS, Linux)
    • Optional if you only need the web version without desktop integration
  • Tauri API and Plugin Opener

🔧 Development Setup

Prerequisites

  • Node.js (latest LTS version)
  • pnpm 10.11.0 or newer
  • Rust and Cargo (for Tauri development)

Installation

  1. Clone the repository
git clone https://github.com/qinscode/GitHubRepoAnalyzer.git
cd github-repository-analyzer
  1. Install dependencies
pnpm install
  1. Setup development environment
pnpm setup

Development

pnpm dev           # Web-only development
pnpm tauri:dev     # Tauri app development (optional if you don't need desktop integration)

Building

pnpm build         # Web build
pnpm tauri:build   # Tauri app build (optional for desktop packaging)

📜 Available Scripts

Command Description
pnpm dev Start Vite development server
pnpm build Build the web application
pnpm tauri:dev Start Tauri development
pnpm tauri:build Build the Tauri application
pnpm lint Run ESLint to check for issues
pnpm lint:fix Fix linting issues automatically
pnpm format Format code with Prettier

📁 Project Structure

  • src/ - React application source code
  • src-tauri/ - Tauri backend code (Rust)
  • public/ - Static assets

📝 License

MIT License - See LICENSE file for details.

⚠️ macOS Installation Note

Since this application is not signed with an Apple Developer Certificate, macOS users may encounter security warnings. If you see:

"GH Analyzer.app" is damaged and can't be opened. You should move it to the Bin.

To resolve this issue:

  1. Open Terminal
  2. Run the following command:
sudo xattr -rd com.apple.quarantine "/path/to/GH Analyzer.app"

Replace /path/to/GH Analyzer.app with the actual path to the application.

Example:

sudo xattr -rd com.apple.quarantine /Users/username/Downloads/GH\ Analyzer.app

This removes the macOS quarantine attribute that blocks unsigned applications.

About

A powerful desktop application built with React and Tauri that provides comprehensive analysis of GitHub repositories, individually or in batch.

Topics

Resources

License

Stars

Watchers

Forks

Contributors