Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NiladriHazra/WhatToBuild
/ functions
Functions
378 in github.com/NiladriHazra/WhatToBuild
⨍
Functions
378
◇
Types & classes
98
↓ 96 callers
Function
cn
(...inputs: ClassValue[])
lib/utils.ts:4
↓ 14 callers
Method
getHeaders
()
lib/github.ts:77
↓ 11 callers
Method
generateContent
(prompt: string)
lib/gemini.ts:476
↓ 7 callers
Function
getKeyFilesCache
()
components/RepositoryKeyFiles.tsx:63
↓ 7 callers
Function
getLanguageColor
(language: string)
components/CompareCard.tsx:161
↓ 7 callers
Function
getLanguageColor
(language: string)
components/Hero/ComapringThEDevCard.tsx:106
↓ 7 callers
Function
getLanguageColor
(language: string)
app/compare/page.tsx:1288
↓ 6 callers
Function
countryCodeToFlagEmoji
(code: string)
components/LocationFlag.tsx:14
↓ 6 callers
Function
delay
(ms: number)
app/readme/page.tsx:191
↓ 6 callers
Method
getFileContent
(owner: string, repo: string, path: string)
lib/github.ts:143
↓ 6 callers
Function
ghHeaders
()
app/api/search-trending-repos/route.ts:6
↓ 6 callers
Function
stickToBottomIfNeeded
(el: HTMLElement | null)
app/readme/page.tsx:107
↓ 5 callers
Function
getNodeIcon
(type: string)
components/RepositoryFlowAnalysis.tsx:201
↓ 4 callers
Function
formatNumber
(num: number)
components/RepositoryCard.tsx:33
↓ 4 callers
Method
getRepositoryIssues
( repoFullName: string, state: 'open' | 'closed' | 'all' = 'open', perPage = 10, page = 1,
lib/github.ts:287
↓ 4 callers
Function
handleSuggestionSelect
(username: string, isFirstInput: boolean)
app/compare/page.tsx:269
↓ 3 callers
Function
animate
()
app/compare/animation.tsx:47
↓ 3 callers
Function
fetchAndRankRepos
(searchQuery: string, searchPage: number)
app/search/page.tsx:65
↓ 3 callers
Function
fetchFileContent
(filePath: string)
app/analyze/page.tsx:268
↓ 3 callers
Function
fetchTrendingRepos
(selectedFilter: string, selectedLanguage: string, pageNumber: number)
app/opensource/page.tsx:168
↓ 3 callers
Function
filterOutCJKIssues
(list: GitHubIssue[])
app/opensource/page.tsx:165
↓ 3 callers
Function
formatNumber
(num: number)
components/RepositoryDetails.tsx:129
↓ 3 callers
Function
getDefaultRepositories
(filter: string, language?: string)
app/api/get-trending-repos-with-issues/route.ts:4
↓ 3 callers
Function
getDetailedFileAnalysis
(repoFullName: string, filePath: string)
components/RepositoryKeyFiles.tsx:329
↓ 3 callers
Method
getFullFileTree
(repoFullName: string)
lib/github.ts:261
↓ 3 callers
Function
pick
()
app/compare/page.tsx:314
↓ 3 callers
Function
searchRepos
(q: string, page: number, per_page: number)
app/api/search-trending-repos/route.ts:22
↓ 3 callers
Function
useSidebar
()
components/ui/sidebar.tsx:23
↓ 2 callers
Function
categorizeFile
(path: string)
components/RepositoryArchitecture.tsx:33
↓ 2 callers
Method
cleanMermaidDiagram
(diagram: string)
lib/gemini.ts:114
↓ 2 callers
Function
cleanMermaidSyntax
(diagram: string)
components/MermaidDiagram.tsx:32
↓ 2 callers
Function
copyToClipboard
(text: string, id: string)
components/page/ProjectPlanDisplay.tsx:18
↓ 2 callers
Method
ensureMermaidDarkTheme
(diagram: string)
lib/gemini.ts:123
↓ 2 callers
Function
extractNode
(nodeStr: string)
components/FlowDiagram.tsx:115
↓ 2 callers
Function
formatDate
(dateString: string)
components/RepositoryIssues.tsx:100
↓ 2 callers
Function
formatDate
(dateString: string)
components/RepositoryCard.tsx:25
↓ 2 callers
Function
formatDate
(dateString: string)
components/RepositoryDetails.tsx:119
↓ 2 callers
Function
formatDate
(dateString: string)
components/opensource/IssueCard.tsx:37
↓ 2 callers
Method
generateFallbackSummary
(path: string, content: string)
lib/gemini.ts:488
↓ 2 callers
Function
getBadge
(user: GitHubUser, stats: GitHubStats)
components/Hero/ComapringThEDevCard.tsx:403
↓ 2 callers
Function
getBadge
(user: GitHubUser, stats: GitHubStats)
app/compare/page.tsx:402
↓ 2 callers
Function
getColorForLabel
(color: string)
components/RepositoryIssues.tsx:109
↓ 2 callers
Function
getFileIcon
(filePath: string)
components/RepositoryKeyFiles.tsx:14
↓ 2 callers
Function
getFileIcon
(extension: string | undefined)
app/analyze/page.tsx:52
↓ 2 callers
Function
getIssuesCache
()
components/RepositoryIssues.tsx:39
↓ 2 callers
Method
getRepositoryStats
(owner: string, repo: string)
lib/github.ts:220
↓ 2 callers
Function
gh
(path: string, token: string, init?: RequestInit)
app/api/create-readme-pr/route.ts:30
↓ 2 callers
Function
handleFeatureClick
(id: string)
components/Hero/Features.tsx:90
↓ 2 callers
Function
handlePageChange
(newPage: number)
app/opensource/page.tsx:384
↓ 2 callers
Function
handlePageChange
(newPage: number)
app/search/page.tsx:285
↓ 2 callers
Function
handleSearch
()
app/opensource/page.tsx:351
↓ 2 callers
Function
handleUsernameChange
(value: string, isFirstInput: boolean)
app/compare/page.tsx:235
↓ 2 callers
Function
isSepLine
(ln: string)
app/api/generate-readme/route.ts:168
↓ 2 callers
Function
isTableLine
(ln: string)
app/api/generate-readme/route.ts:167
↓ 2 callers
Function
searchGitHubUsers
(query: string)
app/compare/page.tsx:213
↓ 2 callers
Method
summarizeFiles
(files: { path: string; content: string }[])
lib/gemini.ts:385
↓ 2 callers
Function
updatePath
()
components/magicui/animated-beam.tsx:67
↓ 2 callers
Function
useDimension
()
components/ui/image-ripple.tsx:251
↓ 1 callers
Function
Images
(viewport: THREE.Vector2)
components/ui/image-ripple.tsx:162
↓ 1 callers
Function
animateContinueToTarget
(baseStepMs = 6)
app/readme/page.tsx:276
↓ 1 callers
Function
animateRefineReplace
(start: number, end: number, refined: string, baseStepMs = 8)
app/readme/page.tsx:195
↓ 1 callers
Function
animateSetMarkdown
(content: string, baseStepMs = 6)
app/readme/page.tsx:242
↓ 1 callers
Function
backgroundLoadIssueCounts
(repos: GitHubRepo[], selectedFilter: string)
app/opensource/page.tsx:105
↓ 1 callers
Function
buildFileTree
(files: TreeNode[])
app/api/get-repo-structure/route.ts:22
↓ 1 callers
Function
buildFileTree
(files: FileSummary[])
app/analyze/page.tsx:126
↓ 1 callers
Function
buildHref
()
components/Hero/Readme.tsx:13
↓ 1 callers
Function
buildPrompt
(repoFullName: string, repoMeta: GitHubRepoMeta, files: Array<{ path: string; content: string }>)
app/api/generate-readme/route.ts:198
↓ 1 callers
Function
calculateRepetitions
()
components/ui/text-scroll.tsx:60
↓ 1 callers
Function
categorizeFiles
(files: FileSummary[])
app/analyze/page.tsx:170
↓ 1 callers
Function
categorizePath
(p: string)
app/api/analyze-repo/route.ts:49
↓ 1 callers
Function
cleanMermaidSyntax
(diagram: string)
components/MermaidRenderer.tsx:7
↓ 1 callers
Function
countFileCategories
(files: FileNode[])
components/RepositoryArchitecture.tsx:53
↓ 1 callers
Function
draw
()
app/compare/page.tsx:1204
↓ 1 callers
Function
explainIssue
(issue: GitHubIssue)
app/opensource/page.tsx:429
↓ 1 callers
Function
extractFiles
(nodes: any[], result: any[] = [])
components/RepositoryKeyFiles.tsx:111
↓ 1 callers
Function
extractOwnerRepo
(raw: string)
app/api/search-repos/route.ts:15
↓ 1 callers
Function
extractTechnologiesFromPackageJson
(pkg: any)
components/TechnologyStack.tsx:92
↓ 1 callers
Function
fade
()
app/compare/page.tsx:1234
↓ 1 callers
Function
fetchAnalysis
()
app/analyze/page.tsx:299
↓ 1 callers
Function
fetchDiagram
()
app/visualize/page.tsx:32
↓ 1 callers
Function
fetchFileContent
(filePath: string)
components/RepositoryKeyFiles.tsx:363
↓ 1 callers
Function
fetchIssues
()
components/RepositoryIssues.tsx:58
↓ 1 callers
Function
fetchIssuesWithLabels
(repoFullName: string, selectedFilter: string, pageNumber: number)
app/opensource/page.tsx:240
↓ 1 callers
Function
fetchKeyFiles
()
components/RepositoryKeyFiles.tsx:81
↓ 1 callers
Function
fetchRealContributions
(username: string, githubToken: string)
app/api/github-user/route.ts:14
↓ 1 callers
Function
fetchRepoDetails
()
components/RepositoryDetails.tsx:46
↓ 1 callers
Function
fetchRepoStructure
()
components/RepositoryArchitecture.tsx:178
↓ 1 callers
Function
fetchStars
()
components/Hero/GitHubStarBadge.tsx:40
↓ 1 callers
Function
fetchTechStack
()
components/TechnologyStack.tsx:35
↓ 1 callers
Function
formatDate
(dateString: string)
app/opensource/page.tsx:469
↓ 1 callers
Function
formatTimeAgo
(days: number)
components/CompareCard.tsx:182
↓ 1 callers
Function
formatTimeAgo
(days: number)
components/Hero/ComapringThEDevCard.tsx:127
↓ 1 callers
Function
formatTimeAgo
(days: number)
app/compare/page.tsx:1309
↓ 1 callers
Method
generateAIIDEPrompt
(projectPlan: ProjectPlan)
lib/gemini.ts:206
↓ 1 callers
Function
generateApplicationFlow
(repoFullName: string)
components/RepositoryFlowAnalysis.tsx:33
↓ 1 callers
Function
generateContributionTraits
(user: GitHubUser, stats: GitHubStats)
components/CompareCard.tsx:192
↓ 1 callers
Function
generateContributionTraits
(user: GitHubUser, stats: GitHubStats)
components/Hero/ComapringThEDevCard.tsx:137
↓ 1 callers
Function
generateContributionTraits
(user: GitHubUser, stats: GitHubStats)
app/compare/page.tsx:1319
↓ 1 callers
Function
generateDependencyGraph
(dependencies: Record<string, string>)
components/RepositoryCard.tsx:203
↓ 1 callers
Method
generateDetailedArchitectureDiagram
(context: { repoFullName: string; readme?: string; fileTreeSample: string[]; // list of file paths
lib/gemini.ts:58
next →
1–100 of 378, ranked by callers