//github-profile-analyzerbylulunac27a

github-profile-analyzer

AI Powered Github Profile analyzer or analyser and reviewer tool. Gives review based on first 100 repos and only includes those forks in which user has contributions to avoid fake results | #1 Profile analyzer tool on GitHub

0
0
0
GitHub Profile Analyzer

GitHub Profile Analyzer

Comprehensive GitHub profile analysis tool with AI-powered scoring, real-time metrics, and exportable reports.

Features

undefinedProfile Analysisundefined

  • AI-driven GitHub profile evaluation with detailed scoring
  • Language detection and proficiency analysis
  • Repository analysis and contribution metrics
  • Developer type classification

undefinedAuthentication & Securityundefined

  • GitHub OAuth 2.0 integration
  • JWT-based session management
  • AES-256-GCM encryption for sensitive data
  • Rate limiting and abuse prevention
  • SQL injection and XSS protection

undefinedData & Exportundefined

  • Real-time contribution calendar parsing
  • Contribution streak calculation
  • PDF report generation with profile snapshots
  • Encrypted data storage
  • Analysis history and snapshots

undefinedPerformanceundefined

  • Response caching with Upstash Redis
  • Optimized database queries
  • Concurrent request handling
  • Content compression

undefinedUser Experienceundefined

  • GitHub authentication required
  • Star verification for access control
  • Guest session support
  • User settings and preferences
  • Responsive design with Tailwind CSS
  • Dark mode support

Tech Stack

  • undefinedFramework: Next.js 16 with React 19
  • undefinedLanguage: TypeScript
  • undefinedDatabase: Neon PostgreSQL
  • undefinedAuthentication: JWT with jose
  • undefinedCaching: Upstash Redis
  • undefinedRate Limiting: Upstash Rate Limit
  • undefinedPDF Generation: react-pdf
  • undefinedStyling: Tailwind CSS with custom UI components
  • undefinedValidation: Zod schemas
  • undefinedRuntime: Bun

Getting Started

Prerequisites

  • Bun runtime
  • GitHub OAuth application credentials
  • Neon PostgreSQL database
  • Upstash Redis instance

Installation

git clone https://github.com/0xarchit/github-profile-analyzer.git
cd github-profile-analyzer
bun install

Environment Variables

Create a .env.local file:

GITHUB_TOKENS=
NEXT_PUBLIC_APP_URL=
GITHUB_PAT_TOKENS=
GITHUB_MODEL=
DATABASE_WRITE=
DATABASE_READ=
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
JWT_SECRET=
UPSTASH_TOKEN=
UPSTASH_URL=
ENCRYPTION_SECRET=

Development

bun run dev

Server runs on http://localhost:3000

Production Build

bun run build
bun run start

API Routes

  • POST /api/analyze - Analyze GitHub profile
  • GET /api/contributions - Fetch contribution data
  • GET /api/star-status - Verify star status
  • GET /api/scans/[id] - Retrieve scan results
  • POST /api/auth/github - Initiate GitHub OAuth
  • GET /api/auth/github/callback - OAuth callback handler
  • GET /api/auth/me - Get current user
  • POST /api/auth/logout - Logout user
  • GET /api/users/settings - Fetch user settings
  • POST /api/users/settings - Update user settings

Project Structure

src/
├── app/                 # Next.js app router
├── components/          # React components
├── lib/                 # Utilities and helpers
├── types/               # TypeScript types

Contributing

Contributions are welcome. Please see CONTRIBUTING.md for guidelines.

Security

For security vulnerabilities, see SECURITY.md.

License

MIT License - see LICENSE for details.

Support

Open an issue for bug reports or feature requests.

[beta]v0.14.0