MCPcopy Create free account

hub / github.com/better-auth/better-hub / functions

Functions1,887 in github.com/better-auth/better-hub

↓ 2 callersFunctionloadCustomSyntaxTheme
* Load a custom ShikiTheme object into the highlighter.
apps/web/src/lib/shiki.ts:127
↓ 2 callersFunctionloadCustomSyntaxTheme
( highlighter: Highlighter, theme: ShikiTheme, uniqueName: string, )
apps/web/src/lib/shiki-client.ts:69
↓ 2 callersFunctionloadFont
(name: string)
apps/web/src/lib/og/og-utils.tsx:39
↓ 2 callersFunctionloadLang
(lang: string)
apps/web/src/lib/shiki.ts:278
↓ 2 callersFunctionloadThemeWithCustomBg
* Load a built-in theme with a custom background color. * Returns a unique theme name that can be used for highlighting.
apps/web/src/lib/shiki.ts:92
↓ 2 callersFunctionloadThemeWithCustomBg
( highlighter: Highlighter, baseThemeId: string, bgColor: string, uniqueName: string, )
apps/web/src/lib/shiki-client.ts:86
↓ 2 callersFunctionmakeId
(userId: string, contentType: string, contentKey: string)
apps/web/src/lib/embedding-store.ts:33
↓ 2 callersFunctionmakeQueryClient
()
apps/web/src/components/providers/query-provider.tsx:6
↓ 2 callersFunctionmapReactionContent
(content: DiscussionReactionContentType)
apps/web/src/app/(app)/repos/[owner]/[repo]/discussions/discussion-actions.ts:80
↓ 2 callersFunctionmarkAllNotificationsRead
()
apps/web/src/app/(app)/repos/actions.ts:102
↓ 2 callersFunctionmatchRepoFromPathname
Try to match /:owner/:repo from a clean pathname (skipping known app prefixes)
apps/web/src/components/shared/global-chat-panel.tsx:34
↓ 2 callersFunctionmaybeSearchAsync
(query: string, localItems: MentionUser[])
apps/web/src/components/shared/mention-suggestion.tsx:166
↓ 2 callersFunctionmonthLabel
(monthKey: string)
apps/web/src/components/users/activity-timeline/helpers.ts:26
↓ 2 callersFunctionnormalizeCheckConclusion
(status: string, conclusion: string | null)
apps/web/src/lib/github.ts:5572
↓ 2 callersFunctionnormalizePath
(path: string)
apps/web/src/lib/github.ts:262
↓ 2 callersFunctionnormalizeStarredRepos
(items: unknown[])
apps/web/src/lib/github.ts:1119
↓ 2 callersFunctionnormalizeStepName
(name: string)
apps/web/src/components/actions/run-detail.tsx:112
↓ 2 callersFunctionnormalizeStepName
(name: string)
apps/web/src/app/api/job-logs/route.ts:76
↓ 2 callersFunctionparseLineHash
(hash: string)
apps/web/src/components/repo/code-viewer-client.tsx:93
↓ 2 callersFunctionparseLineParam
( param: string, )
apps/web/src/components/pr/pr-diff-viewer.tsx:141
↓ 2 callersFunctionparseRateLimitFromDigest
(message: string)
apps/web/src/app/(app)/error.tsx:22
↓ 2 callersFunctionpinRepo
(repo: Omit<PinnedRepo, "pinnedAt">)
apps/web/src/lib/pinned-repos.ts:33
↓ 2 callersFunctionpinToOverview
( owner: string, repo: string, url: string, title: string, itemType: string, )
apps/web/src/app/(app)/repos/[owner]/[repo]/pin-actions.ts:15
↓ 2 callersFunctionpublishCustomTheme
( scan: CustomThemeScanResult, authorGithubId: string, authorName: string, authorAvatarUrl: string | null,
apps/web/src/lib/theme-store.ts:136
↓ 2 callersFunctionremoveTopic
(tag: string)
apps/web/src/components/repo/repo-settings.tsx:384
↓ 2 callersFunctionrenderHalf
( line: DiffLine | null, side: "LEFT" | "RIGHT", tokens: SyntaxToken[] | undefined, isSelected: boolea
apps/web/src/components/pr/pr-diff-viewer.tsx:3765
↓ 2 callersFunctionreopenIssue
( owner: string, repo: string, issueNumber: number, comment?: string, )
apps/web/src/app/(app)/repos/[owner]/[repo]/issues/issue-actions.ts:395
↓ 2 callersFunctionrepoFromUrl
(repositoryUrl: string)
apps/web/src/components/search/search-content.tsx:312
↓ 2 callersFunctionresolveReviewThread
( threadId: string, owner: string, repo: string, pullNumber: number, )
apps/web/src/app/(app)/repos/[owner]/[repo]/pulls/pr-actions.ts:462
↓ 2 callersFunctionrevalidateReadme
( owner: string, repo: string, branch: string, )
apps/web/src/app/(app)/repos/[owner]/[repo]/readme-actions.ts:15
↓ 2 callersFunctionscoreColor
(total: number)
apps/web/src/components/pr/pr-author-dossier.tsx:63
↓ 2 callersFunctionscoreLabel
(total: number)
apps/web/src/components/users/user-profile-score-ring.tsx:23
↓ 2 callersFunctionsetBorderRadiusCookie
(preset: BorderRadiusPreset)
apps/web/src/lib/themes/border-radius.ts:60
↓ 2 callersFunctionsetCachedRepoTree
(owner: string, repo: string, tree: T)
apps/web/src/lib/repo-data-cache.ts:152
↓ 2 callersFunctionsetMpThemeDataCookie
(theme: ThemeDefinition)
apps/web/src/components/theme/theme-provider.tsx:68
↓ 2 callersFunctionsleep
(ms: number)
apps/web/src/app/(app)/repos/[owner]/[repo]/issues/actions.ts:269
↓ 2 callersFunctionsortNodes
(nodes: FileTreeNode[])
apps/web/src/lib/file-tree.ts:47
↓ 2 callersFunctionsplitCost
( tx: Prisma.TransactionClient, userId: string, fullCost: number, )
apps/web/src/lib/billing/token-usage.ts:59
↓ 2 callersFunctionsplitTitleOnPrToken
( title: string, prNumber: number | null, )
apps/web/src/components/actions/run-link-targets.ts:83
↓ 2 callersFunctionstatusTextClass
(status: PullRequestStatus | IssueStatus)
apps/web/src/components/users/activity-timeline/helpers.ts:45
↓ 2 callersFunctionstripAnsi
(str: string)
apps/web/src/components/repo/notebook-viewer.tsx:69
↓ 2 callersFunctionsyncAllTabs
(container: HTMLElement, tabIndex: number, skip?: HTMLElement)
apps/web/src/components/shared/markdown-copy-handler.tsx:199
↓ 2 callersFunctiontagsKey
(owner: string, repo: string)
apps/web/src/lib/repo-data-cache.ts:33
↓ 2 callersFunctiontimeAgo
(dateStr: string)
apps/web/src/components/repo/repo-overview.tsx:347
↓ 2 callersFunctiontoJsonOrNull
(obj: UsageDetails | CostDetails)
apps/web/src/lib/billing/token-usage.ts:53
↓ 2 callersFunctiontoPromptRequest
(row: { id: string; userId: string; userLogin: string | null; userName: string | null; userAvatarUrl: str
apps/web/src/lib/prompt-request-store.ts:22
↓ 2 callersFunctiontoPromptRequestComment
(row: { id: string; promptRequestId: string; userId: string; userLogin: string | null; userName: string;
apps/web/src/lib/prompt-request-store.ts:179
↓ 2 callersFunctiontoPromptRequestReaction
(row: { id: string; promptRequestId: string; userId: string; userLogin: string | null; userName: string;
apps/web/src/lib/prompt-request-store.ts:273
↓ 2 callersFunctiontoSlug
(owner: string, repo: string)
apps/web/src/lib/theme-store.ts:12
↓ 2 callersFunctiontoggleLabel
(name: string)
apps/web/src/components/issue/create-issue-dialog.tsx:365
↓ 2 callersFunctiontoggleViewed
(filename: string)
apps/web/src/components/pr/pr-diff-viewer.tsx:336
↓ 2 callersFunctiontokenizeStream
(stream: { key: string; content: string }[])
apps/web/src/lib/shiki.ts:358
↓ 2 callersFunctiontokenizeStream
(stream: { key: string; content: string }[])
apps/web/src/lib/shiki-client.ts:234
↓ 2 callersFunctiontouchSharedCacheEntrySyncedAt
(cacheKey: string)
apps/web/src/lib/github-sync-store.ts:84
↓ 2 callersFunctiontruncate
(text: string)
apps/web/src/lib/mixedbread.ts:19
↓ 2 callersFunctionunresolveReviewThread
( threadId: string, owner: string, repo: string, pullNumber: number, )
apps/web/src/app/(app)/repos/[owner]/[repo]/pulls/pr-actions.ts:498
↓ 2 callersFunctionupdateCachedRepoPageDataNavCounts
( userId: string, owner: string, repo: string, updates: { openPrs?: number; openIssues?: number }, )
apps/web/src/lib/repo-data-cache.ts:127
↓ 2 callersFunctionupdateIcon
(enabled)
packages/chrome-extension/background.js:123
↓ 2 callersFunctionupdateIcon
(enabled)
packages/firefox-extension/background.js:88
↓ 2 callersFunctionupdatePromptRequestStatus
( id: string, status: PromptRequestStatus, )
apps/web/src/lib/prompt-request-store.ts:116
↓ 2 callersFunctionupdateScrollState
()
apps/web/src/components/shared/ai-chat.tsx:1345
↓ 2 callersFunctionupdateStatus
(enabled)
packages/chrome-extension/popup.js:41
↓ 2 callersFunctionupdateStatus
(enabled)
packages/firefox-extension/popup.js:37
↓ 2 callersFunctionupsertEmbedding
(entry: EmbeddingEntry)
apps/web/src/lib/embedding-store.ts:70
↓ 2 callersFunctionuseDeletedComments
()
apps/web/src/components/pr/deleted-comments-context.tsx:26
↓ 2 callersFunctionuseElapsed
(active: boolean)
apps/web/src/components/shared/ai-chat.tsx:85
↓ 2 callersFunctionusePROptimisticComments
()
apps/web/src/components/pr/pr-optimistic-comments-provider.tsx:28
↓ 2 callersFunctionuseServerInitialData
(queryKey: QueryKey, serverData: T, fingerprint: string)
apps/web/src/hooks/use-server-initial-data.ts:22
↓ 2 callersFunctionuserImage
(username: string, fonts: Awaited<ReturnType<typeof ogFonts>>)
apps/web/src/app/api/og/route.tsx:298
↓ 2 callersFunctionwithSerializableTx
Run a Serializable transaction with automatic retry on write conflicts (P2034).
apps/web/src/lib/billing/token-usage.ts:23
↓ 1 callersFunctionaccountAgeMonths
(created: string)
apps/web/src/lib/contributor-score.ts:26
↓ 1 callersFunctionaccountAgeYears
(created: string)
apps/web/src/lib/user-profile-score.ts:23
↓ 1 callersFunctionaddDiscussionComment
( owner: string, repo: string, discussionNumber: number, discussionId: string, body: string, replyToId?:
apps/web/src/app/(app)/repos/[owner]/[repo]/discussions/discussion-actions.ts:50
↓ 1 callersFunctionaddDiscussionCommentViaGraphQL
( discussionId: string, body: string, replyToId?: string, )
apps/web/src/lib/github.ts:4690
↓ 1 callersFunctionaddDiscussionReaction
( subjectId: string, content: DiscussionReactionContent, )
apps/web/src/lib/github.ts:4773
↓ 1 callersFunctionaddDiscussionReactionAction
( subjectId: string, content: DiscussionReactionContentType, )
apps/web/src/app/(app)/repos/[owner]/[repo]/discussions/discussion-actions.ts:94
↓ 1 callersFunctionaddGhostTab
( userId: string, tabId: string, label: string, counter: number, )
apps/web/src/lib/chat-store.ts:342
↓ 1 callersFunctionaddHeadingAnchors
Add id anchors to headings, handling duplicates with -1, -2 suffixes
apps/web/src/components/shared/markdown-renderer.tsx:210
↓ 1 callersFunctionaddPRComment
(owner: string, repo: string, pullNumber: number, body: string)
apps/web/src/app/(app)/repos/[owner]/[repo]/pulls/pr-actions.ts:297
↓ 1 callersFunctionaddPRReviewComment
( owner: string, repo: string, pullNumber: number, body: string, commitId: string, path: string, line:
apps/web/src/app/(app)/repos/[owner]/[repo]/pulls/pr-actions.ts:337
↓ 1 callersFunctionaddPromptComment
(promptRequestId: string, body: string)
apps/web/src/app/(app)/repos/[owner]/[repo]/prompts/actions.ts:129
↓ 1 callersFunctionaddPromptRequestReaction
( promptRequestId: string, userId: string, userLogin: string | null, userName: string, userAvatarUrl: str
apps/web/src/lib/prompt-request-store.ts:295
↓ 1 callersFunctionaddReaction
( owner: string, repo: string, contentType: "issue" | "issueComment" | "pullRequestReviewComment", content
apps/web/src/app/(app)/repos/[owner]/[repo]/reaction-actions.ts:73
↓ 1 callersFunctionaddRecentView
(item: Omit<RecentViewItem, "viewedAt">)
apps/web/src/lib/recent-views.ts:26
↓ 1 callersFunctionaddTopic
(value: string)
apps/web/src/components/repo/repo-settings.tsx:373
↓ 1 callersFunctionaggregateStats
(node: DiffTreeNode)
apps/web/src/lib/file-tree.ts:147
↓ 1 callersFunctionarchiveRepository
(owner: string, repo: string)
apps/web/src/app/(app)/repos/[owner]/[repo]/settings/actions.ts:73
↓ 1 callersFunctionassertMaintainer
(owner: string, repo: string)
apps/web/src/app/(app)/repos/[owner]/[repo]/prompts/actions.ts:42
↓ 1 callersFunctionbuildAuthenticatedUserCacheKey
()
apps/web/src/lib/github.ts:326
↓ 1 callersFunctionbuildContributionMonthGroups
(contributions: ContributionData | null)
apps/web/src/components/users/activity-timeline/aggregators.ts:212
↓ 1 callersFunctionbuildDiffFileTree
(files: DiffFile[])
apps/web/src/lib/file-tree.ts:91
↓ 1 callersFunctionbuildGeneralSystemPrompt
( currentUser: { login: string } | null, pageContext?: PageContext, inlineContexts?: InlineContext[], sand
apps/web/src/app/api/ai/ghost/route.ts:1938
↓ 1 callersFunctionbuildInstallTabsHtml
(variants: PkgVariant[], id: number)
apps/web/src/components/shared/markdown-renderer.tsx:436
↓ 1 callersFunctionbuildIssueSystemPrompt
( issueContext: IssueContext, defaultBranch: string, inlineContexts?: InlineContext[], sandboxPrompt?: str
apps/web/src/app/api/ai/ghost/route.ts:1884
↓ 1 callersFunctionbuildMonthActivityItems
(monthEvents: ActivityEvent[])
apps/web/src/components/users/activity-timeline/aggregators.ts:23
↓ 1 callersFunctionbuildPersonRepoActivityCacheKey
(owner: string, repo: string, username: string)
apps/web/src/lib/github.ts:443
↓ 1 callersFunctionbuildPrHeadBranchTreeHref
({ baseOwner, baseRepo, headBranch, headRepoOwner, headRepoName, }: { baseOwner: string; baseRepo: stri
apps/web/src/lib/github-utils.ts:140
↓ 1 callersFunctionbuildProfileRepoMonthMap
( profileRepos: | { full_name: string; created_at: string | null; language?: string | null }[] | undefine
apps/web/src/components/users/activity-timeline/aggregators.ts:405
↓ 1 callersFunctionbuildRepoIssuesPageCacheKey
(owner: string, repo: string)
apps/web/src/lib/github.ts:5094
↓ 1 callersFunctionbuildRepoLanguagesCacheKey
(owner: string, repo: string)
apps/web/src/lib/github.ts:435
← previousnext →401–500 of 1,887, ranked by callers