How arkajitadhikary-gif/repo-finder works
RepoFinder turns a project description into repository recommendations: the search endpoint combines smart keyword planning and architectural analysis, searches GitHub, ranks results, and adds relevance insights. Users can then generate an implementation blueprint, compare repositories, or open repository details and explore files. The README documents these product branches; sampled source confirms key search, GitHub, and repository-detail calls. Some UI-to-route and explorer wiring is documented but not visible in the sampled excerpts.
Main entry points: app/page.tsx Search page · route.ts Search endpoint · [repo]/page.tsx Repository details · CodeExplorer.tsx Code explorer
Components 19
Search and discovery
- Search page
app/page.tsx - Search endpoint
app/api/search/route.ts - Smart search
lib/smart-search.ts - GitHub search
lib/github.ts
Architecture and planning
- AI architect
lib/architect.ts - Blueprint endpoint
app/api/blueprint/route.ts - Blueprint roadmap
components/BlueprintModal.tsx
Repository inspection
- Repository details
app/repo/[owner]/[repo]/page.tsx - Repository metadata
lib/github.ts - README and explorer tabs
components/RepoDetailTabs.tsx - Code explorer
components/CodeExplorer.tsx - Repository tree endpoint
app/api/repo-tree/route.ts - Repository file endpoint
app/api/repo-file/route.ts
Result presentation
- Repository cards
components/RepoCard.tsx - Repository comparison
components/RepoComparisonModal.tsx
Other components
- Builder
- Groq AI
- GitHub
- Launch platforms
Connections 22
- Builder → Search page: describes project
README.md - Search page → Search endpoint: submits search
README.md - Search endpoint → Smart search: builds plan
app/api/search/route.ts - Search endpoint → AI architect: analyzes idea
app/api/search/route.ts - Search endpoint → GitHub search: searches queries
app/api/search/route.ts - Smart search → GitHub search: ranks results
lib/smart-search.ts - AI architect → Groq AI: generates analysis
lib/architect.ts - Search endpoint → Repository cards: returns recommendations
README.md - Search page → Blueprint endpoint: requests blueprint
README.md - Blueprint endpoint → AI architect: generates roadmap
app/api/blueprint/route.ts - Search page → Blueprint roadmap: presents roadmap
README.md - Search page → Repository comparison: opens comparison
README.md - Repository cards → Repository comparison: selects repositories
README.md - Repository details → Repository metadata: loads repository data
app/repo/[owner]/[repo]/page.tsx - Repository metadata → GitHub: fetches metadata
lib/github.ts - Repository details → README and explorer tabs: renders tabs
app/repo/[owner]/[repo]/page.tsx - README and explorer tabs → Code explorer: shows explorer
components/RepoDetailTabs.tsx - Code explorer → Repository tree endpoint: loads file tree
README.md - Code explorer → Repository file endpoint: loads file content
README.md - Repository tree endpoint → GitHub: fetches tree
app/api/repo-tree/route.ts - Repository file endpoint → GitHub: fetches file
app/api/repo-file/route.ts - Repository details → Launch platforms: launches environment
README.md