Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KartikLabhshetwar/foliox
/ functions
Functions
191 in github.com/KartikLabhshetwar/foliox
⨍
Functions
191
◇
Types & classes
79
↓ 33 callers
Function
cn
(...inputs: ClassValue[])
lib/utils.ts:4
↓ 7 callers
Function
getCacheKey
(prefix: string, ...parts: string[])
lib/utils/cache.ts:9
↓ 7 callers
Function
setCache
( key: string, value: T, options: CacheOptions = {} )
lib/utils/cache.ts:55
↓ 7 callers
Function
verifyUsername
(username: string)
lib/utils/user.ts:5
↓ 4 callers
Method
fetch
( endpoint: string, options?: FetchOptions )
lib/utils/api-client.ts:42
↓ 4 callers
Function
getGraphQLClient
(token: string)
lib/modules/github/fetcher.ts:6
↓ 4 callers
Function
normalizeUrl
(url: string, baseUrl?: string)
lib/utils/readme-parser.ts:53
↓ 3 callers
Function
createCachedFunction
( fn: () => Promise<T>, keyParts: string[], options: CacheOptions = {} )
lib/utils/cache.ts:123
↓ 3 callers
Function
findBestMatch
( content: string, username: string, patterns: RegExp[], platform: SocialPlatform )
lib/utils/readme-parser.ts:113
↓ 3 callers
Method
generateFallbackSEO
(profile: NormalizedProfile)
lib/modules/ai/generator.ts:217
↓ 3 callers
Method
generateFallbackSummary
(profile: NormalizedProfile)
lib/modules/ai/generator.ts:202
↓ 3 callers
Function
getCache
(key: string)
lib/utils/cache.ts:27
↓ 3 callers
Function
trackEvent
(eventName: string, eventData?: Record<string, unknown>)
lib/utils/analytics.ts:9
↓ 3 callers
Function
validateCustomSlug
(slug: string)
lib/utils/custom-url.ts:25
↓ 2 callers
Method
cleanJSON
(jsonString: string)
lib/modules/ai/generator.ts:264
↓ 2 callers
Method
extractJSON
(content: string)
lib/modules/ai/generator.ts:226
↓ 2 callers
Function
fetchPortfolioData
(username: string)
app/(portfolio)/[username]/page.tsx:17
↓ 2 callers
Method
getHeaders
()
lib/modules/github/repository-fetcher.ts:23
↓ 2 callers
Function
getSessionGitHubUsername
(request?: Request)
lib/utils/github-username.ts:34
↓ 2 callers
Function
getSessionUserToken
(request?: Request)
lib/utils/github-token.ts:26
↓ 2 callers
Function
getUserGitHubToken
(userId?: string)
lib/utils/github-token.ts:4
↓ 2 callers
Function
isOwner
(request: Request | undefined, username: string)
lib/utils/owner-check.ts:3
↓ 2 callers
Method
normalizeHomepageUrl
(url: string | null | undefined)
lib/modules/github/projects.ts:165
↓ 2 callers
Function
parseSocialLinksFromReadme
( readmeContent: string, username?: string )
lib/utils/readme-parser.ts:173
↓ 2 callers
Function
resolveProfile
( username: string, options: CacheOptions & { userToken?: string | null; isOwner?: boolean } = {} )
lib/services/profile-cache.ts:23
↓ 2 callers
Function
resolveUsername
(rawUsername: string)
app/(portfolio)/[username]/page.tsx:45
↓ 1 callers
Method
buildProfilePrompt
(profile: NormalizedProfile)
lib/modules/ai/generator.ts:52
↓ 1 callers
Function
buildProfileTags
(username: string, extraTags?: string[])
lib/services/profile-cache.ts:8
↓ 1 callers
Method
buildSEOPrompt
(profile: NormalizedProfile)
lib/modules/ai/generator.ts:136
↓ 1 callers
Method
calculateScore
( repo: Repository, pinnedRepos: string[] )
lib/modules/github/project-scorer.ts:14
↓ 1 callers
Function
calculateSimilarity
(str1: string, str2: string)
lib/utils/readme-parser.ts:15
↓ 1 callers
Function
canonicalizeSocialUrl
(platform: SocialPlatform, value: string)
lib/utils/readme-parser.ts:73
↓ 1 callers
Function
cleanupExpiredCache
()
lib/utils/cache.ts:13
↓ 1 callers
Method
convertToFeaturedProject
( repo: Repository, gqlRepo?: GraphQLRepository )
lib/modules/github/projects.ts:187
↓ 1 callers
Function
createAPIClient
(apiKey?: string, baseUrl?: string)
lib/utils/api-client.ts:128
↓ 1 callers
Function
createCustomUrl
(customSlug: string, githubUsername: string)
lib/utils/custom-url.ts:83
↓ 1 callers
Method
enrichRepositoriesWithGraphQL
( username: string, userToken?: string | null )
lib/modules/github/projects.ts:126
↓ 1 callers
Method
extractAvatarUrl
(html: string)
lib/modules/linkedin/fetcher.ts:56
↓ 1 callers
Method
extractEducation
(_html: string)
lib/modules/linkedin/fetcher.ts:79
↓ 1 callers
Method
extractExperience
(_html: string)
lib/modules/linkedin/fetcher.ts:70
↓ 1 callers
Function
extractHandleFromUrl
(url: string)
lib/utils/readme-parser.ts:148
↓ 1 callers
Method
extractHeadline
(html: string)
lib/modules/linkedin/fetcher.ts:46
↓ 1 callers
Method
extractLocation
(html: string)
lib/modules/linkedin/fetcher.ts:51
↓ 1 callers
Method
extractName
(html: string)
lib/modules/linkedin/fetcher.ts:41
↓ 1 callers
Method
extractSkills
(_html: string)
lib/modules/linkedin/fetcher.ts:88
↓ 1 callers
Method
extractSummary
(html: string)
lib/modules/linkedin/fetcher.ts:65
↓ 1 callers
Method
fetchAllRepositories
(username: string, userToken?: string | null)
lib/modules/github/repository-fetcher.ts:35
↓ 1 callers
Method
fetchContributions
(username: string)
lib/modules/github/contributions.ts:38
↓ 1 callers
Method
fetchPRStatistics
(username: string, userToken?: string | null)
lib/modules/github/fetcher.ts:224
↓ 1 callers
Function
fetchPRsByOrg
(username: string)
app/api/user/[username]/prs-by-org/route.ts:8
↓ 1 callers
Function
fetchPRsByOrg
(username: string)
app/(portfolio)/[username]/page.tsx:24
↓ 1 callers
Method
fetchPRsByOrg
(username: string)
lib/modules/github/prs-by-org.ts:65
↓ 1 callers
Method
fetchPinnedRepositories
(username: string)
lib/modules/github/repository-fetcher.ts:156
↓ 1 callers
Function
fetchPreview
()
app/page.tsx:118
↓ 1 callers
Method
fetchProfileAsync
(username: string)
lib/modules/linkedin/fetcher.ts:4
↓ 1 callers
Method
fetchReadmeContent
(username: string, userToken?: string | null)
lib/modules/github/fetcher.ts:293
↓ 1 callers
Function
fetchScreenshot
(params: ScreenshotParams)
app/api/screenshot/route.ts:14
↓ 1 callers
Function
fetchStarCount
()
app/page.tsx:32
↓ 1 callers
Method
fetchUserProfile
(username: string, userToken?: string | null)
lib/modules/github/fetcher.ts:352
↓ 1 callers
Function
generatePortfolioProfile
(username: string, userToken?: string | null)
lib/services/profile.ts:10
↓ 1 callers
Method
generateProfileSummary
(profile: NormalizedProfile)
lib/modules/ai/generator.ts:13
↓ 1 callers
Method
generateSEOContents
(profile: NormalizedProfile)
lib/modules/ai/generator.ts:33
↓ 1 callers
Method
getAbout
(username: string, options?: FetchOptions)
lib/utils/api-client.ts:82
↓ 1 callers
Method
getAbsoluteUrl
(endpoint: string)
lib/utils/api-client.ts:24
↓ 1 callers
Method
getAllLanguages
(repos: Repository[])
lib/modules/github/language-ranker.ts:88
↓ 1 callers
Function
getCachedContributions
(username: string)
app/api/user/[username]/contributions/route.ts:6
↓ 1 callers
Function
getCachedLinkedInProfile
(username: string)
app/api/linkedin/[username]/route.ts:6
↓ 1 callers
Function
getCachedPRsByOrg
(username: string)
app/api/user/[username]/prs-by-org/route.ts:12
↓ 1 callers
Function
getCachedProjects
(username: string, userToken?: string | null, isOwnerViewing: boolean = false)
app/api/user/[username]/projects/route.ts:8
↓ 1 callers
Method
getContributionLevel
(count: number)
lib/modules/github/contributions.ts:111
↓ 1 callers
Function
getEditDistance
(str1: string, str2: string)
lib/utils/readme-parser.ts:25
↓ 1 callers
Method
getFeatured
(username: string, userToken?: string | null)
lib/modules/github/projects.ts:227
↓ 1 callers
Method
getFullPortfolio
( username: string, options?: FetchOptions )
lib/utils/api-client.ts:96
↓ 1 callers
Function
getGithubUsernameByCustomSlug
(slug: string)
lib/utils/custom-url.ts:71
↓ 1 callers
Function
getGraphQLClient
(token: string)
lib/modules/github/projects.ts:8
↓ 1 callers
Method
getProfile
(username: string, options?: FetchOptions)
lib/utils/api-client.ts:68
↓ 1 callers
Method
getProjects
(username: string, options?: FetchOptions)
lib/utils/api-client.ts:75
↓ 1 callers
Method
getTopProjects
( repos: Repository[], pinnedRepos: string[], topN: number = 8 )
lib/modules/github/project-scorer.ts:69
↓ 1 callers
Function
getUserGitHubUsername
(userId?: string)
lib/utils/github-username.ts:5
↓ 1 callers
Function
handleCopy
()
components/portfolio/share-button.tsx:142
↓ 1 callers
Function
isCustomSlugAvailable
(slug: string)
lib/utils/custom-url.ts:54
↓ 1 callers
Method
parseProfileSummary
(content: string, profile: NormalizedProfile)
lib/modules/ai/generator.ts:156
↓ 1 callers
Method
parseSEOContent
(content: string, profile: NormalizedProfile)
lib/modules/ai/generator.ts:179
↓ 1 callers
Function
redirectToPortfolio
()
app/page.tsx:56
↓ 1 callers
Method
scoreRepositories
( repos: Repository[], pinnedRepos: string[] )
lib/modules/github/project-scorer.ts:55
↓ 1 callers
Function
selectThemeFamily
(family: ThemeFamily)
components/portfolio/portfolio-controls.tsx:71
↓ 1 callers
Function
updateDimensions
()
components/portfolio/proof-of-work-section.tsx:18
↓ 1 callers
Function
updateDimensions
()
components/portfolio/contribution-graph.tsx:17
↓ 1 callers
Function
useDebounce
(value: T, delay: number)
lib/utils/debounce.ts:3
↓ 1 callers
Function
validateEnv
()
lib/config/settings.ts:20
↓ 1 callers
Function
verifyLinkedinUsername
(username: string)
lib/utils/user.ts:25
Function
Accordion
({ ...props }: React.ComponentProps<typeof AccordionPrimitive.Root>)
components/ui/accordion.tsx:9
Function
AccordionContent
({ className, children, ...props }: React.ComponentProps<typeof AccordionPrimitive.Content>)
components/ui/accordion.tsx:50
Function
AccordionItem
({ className, ...props }: React.ComponentProps<typeof AccordionPrimitive.Item>)
components/ui/accordion.tsx:15
Function
AccordionTrigger
({ className, children, ...props }: React.ComponentProps<typeof AccordionPrimitive.Trigger>)
components/ui/accordion.tsx:28
Function
Badge
({ className, variant, ...props }: BadgeProps)
components/ui/badge.tsx:29
Function
BentoLayout
({ profile, about, projects, username, prsByOrg, }: BentoLayoutProps)
components/portfolio/bento-layout.tsx:23
Function
BentoLoading
()
components/portfolio/bento-loading.tsx:4
Function
Button
({ className, variant, size, asChild = false, ...props }: React.ComponentProps<"button"> & Variant
components/ui/button.tsx:39
Function
CapabilitiesSection
({ about }: CapabilitiesSectionProps)
components/portfolio/capabilities-section.tsx:10
next →
1–100 of 191, ranked by callers