Skip to content

Add GitHub Reality Check feature with AI-powered roast#147

Merged
ARUNNG2004 merged 1 commit into
ARUNNG2004:mainfrom
MaheshN1821:feat/github-roast
Jul 5, 2026
Merged

Add GitHub Reality Check feature with AI-powered roast#147
ARUNNG2004 merged 1 commit into
ARUNNG2004:mainfrom
MaheshN1821:feat/github-roast

Conversation

@MaheshN1821

Copy link
Copy Markdown
Contributor

Overview

This PR introduces a new GitHub Reality Check feature that analyzes a user's public GitHub repositories and generates an AI-powered roast with constructive suggestions to improve their GitHub profile.

Features Added

New GitHub Reality Check section

  • Added a dedicated section below the profile header.
  • Keeps the feature independent from the Account Information card.

GitHub link handling

  • If a GitHub profile is available:

    • Displays a GitHub Reality Check button.
    • Fetches repository statistics.
    • Generates an AI-powered roast with actionable suggestions.
  • If a GitHub profile is not available:

    • Displays a friendly prompt encouraging users to add their GitHub profile.
    • Includes a shortcut button that opens the Edit Profile modal.

Repository analysis

The backend analyzes public repositories and computes statistics such as:

  • Total repositories
  • Repositories without descriptions
  • Repositories without homepage/demo links
  • Potential abandoned ("graveyard") repositories
  • Forked repositories with no additional work
  • Well-maintained repositories

These summarized statistics are sent to the AI model to generate humorous but constructive feedback.

UI Improvements

  • Added a standalone GitHub Reality Check card.
  • Added loading state while generating the roast.
  • Added stat badges for repository metrics.
  • Added rerun functionality.
  • Added close button.
  • Improved spacing and responsiveness.

AI Response Improvements

  • Increased response token limit to allow complete responses.
  • Removed restrictive prompt length limits.
  • Allows the AI to provide more detailed feedback and actionable suggestions.

Files Added

  • app/api/github-roast/route.js

Files Updated

  • app/profile/page.js
Screenshot 2026-07-02 000152 Screenshot 2026-07-02 001057 Screenshot 2026-07-02 001107 Screenshot 2026-07-02 002302

@netlify

netlify Bot commented Jul 1, 2026

Copy link
Copy Markdown

Deploy Preview for devconnectai ready!

Name Link
🔨 Latest commit a88fc04
🔍 Latest deploy log https://app.netlify.com/projects/devconnectai/deploys/6a4564faeb2eb50008f8fe99
😎 Deploy Preview https://deploy-preview-147--devconnectai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 35
Accessibility: 97
Best Practices: 92
SEO: 100
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@ARUNNG2004 ARUNNG2004 merged commit 375020d into ARUNNG2004:main Jul 5, 2026
6 checks passed
@ARUNNG2004

Copy link
Copy Markdown
Owner

#147 closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants