Date: 2026-03-09
Status: Partial Implementation
File: src/app/api/github/repo-details/route.ts
Features:
- ✅ Fetches repo details from GitHub API
- ✅ Gets user avatar, description, stars, forks
- ✅ Returns user/repo URLs
- ✅ Handles missing GitHub token gracefully
- ✅ Error handling with fallback data
API Endpoint:
POST / api / github / repo - details;
Body: {
(username, repo);
}
Response: {
(name, description, stars, forks, avatar, url, userUrl, company, blog, location);
}File: src/app/(public)/changelog/[username]/[repo]/page.tsx
Added:
- ✅
GitHubRepoHeaderclient component - ✅ Fetches repo details on mount
- ✅ Loading skeleton state
- ✅ Displays:
- User avatar (linked to GitHub)
- Repo name with badge
- Description
- User link
- Repo link
- Stars count
- Forks count
- Company
- Location
- Blog link
UI Features:
- Avatar links to GitHub user
- All links open in new tab
- Hover effects
- Responsive layout
- Fallback data if API fails
Status: Already good, minor enhancement needed
Current:
<a href="https://gitlog.app" className="...">
<GitMerge className="h-4 w-4" />
Create your changelog
</a>Suggested: Add Sparkles icon, make button more prominent
Not Implemented Yet
Needed:
- Twitter share button
- LinkedIn share button
- Copy link button
Not Implemented Yet
Needed:
- RSS API endpoint
- Add to page metadata
- Auto-generate from entries
Not Implemented Yet
Needed:
- Fetch user's other repos
- Display cross-links
- Show entry counts
Public changelog pages now show:
- ✅ GitHub user avatar
- ✅ Repo description
- ✅ Stars & forks count
- ✅ Links to GitHub
- ✅ User/company info
- ✅ Location & blog links
Example URL:
https://gitlog.app/changelog/acme/corp-website
Displays:
[Avatar] acme/corp-website Changelog [5 entries]
Automated changelog for Corp Website
@acme • corp-website • ⭐ 1.2k • 🍴 234
Corp Inc. • San Francisco • Blog
- ✅
src/app/api/github/repo-details/route.ts- NEW - ✅
src/app/(public)/changelog/[username]/[repo]/page.tsx- UPDATED
To complete remaining improvements:
-
Social Sharing (15 min)
- Add share buttons below header
- Twitter, LinkedIn, Copy link
-
RSS Feed (20 min)
- Create RSS API endpoint
- Add to page metadata
-
More from User (20 min)
- Fetch user's other repos
- Display section at bottom
-
Footer Enhancement (5 min)
- Make CTA more prominent
- Add Sparkles icon
Status: 2/6 improvements complete (33%)
Next: Social Sharing Buttons
Last Updated: 2026-03-09
Implementation in Progress