MCPcopy Create free account

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

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

↓ 1 callersFunctionlinkifyMentionsMd
Convert @username in markdown source to links (skip inside code fences/backticks)
apps/web/src/components/shared/client-markdown.tsx:51
↓ 1 callersFunctionlistCustomThemes
(opts: { type?: CustomThemeType; search?: string; page?: number; perPage?: number; })
apps/web/src/lib/theme-store.ts:198
↓ 1 callersFunctionlistGhostConversations
( userId: string, limit = 10, )
apps/web/src/lib/chat-store.ts:174
↓ 1 callersFunctionlistPromptRequestComments
( promptRequestId: string, )
apps/web/src/lib/prompt-request-store.ts:231
↓ 1 callersFunctionlistPromptRequests
( owner: string, repo: string, opts?: { status?: PromptRequestStatus }, )
apps/web/src/lib/prompt-request-store.ts:94
↓ 1 callersFunctionloadMoreDiscussions
( owner: string, repo: string, cursor: string, )
apps/web/src/app/(app)/repos/[owner]/[repo]/discussions/actions.ts:18
↓ 1 callersFunctionlogFixedCostUsage
(params: { userId: string; taskType: string; costUsd?: number | undefined; })
apps/web/src/lib/billing/token-usage.ts:140
↓ 1 callersFunctionmakePrisma
()
apps/web/src/lib/db.ts:40
↓ 1 callersFunctionmapAdvisoryDetail
(data: unknown)
apps/web/src/lib/github.ts:6216
↓ 1 callersFunctionmapDependabotAlert
(alert: unknown)
apps/web/src/lib/github.ts:6028
↓ 1 callersFunctionmapLinesToSteps
(lines: LogLine[], stepsMeta: JobStepMeta[])
apps/web/src/app/api/job-logs/route.ts:54
↓ 1 callersFunctionmapSecretScanningAlert
(alert: unknown)
apps/web/src/lib/github.ts:6067
↓ 1 callersFunctionmapSecurityReport
(report: unknown)
apps/web/src/lib/github.ts:6081
↓ 1 callersFunctionmapViewerPermission
(perm: string | null)
apps/web/src/lib/github.ts:6765
↓ 1 callersFunctionmarkBadgeParagraphs
Mark <p> tags that contain only images/badge links as .ghmd-badges so they render inline
apps/web/src/components/shared/markdown-renderer.tsx:309
↓ 1 callersFunctionmarkGithubSyncJobFailed
(id: number, attempts: number, error: string)
apps/web/src/lib/github-sync-store.ts:216
↓ 1 callersFunctionmarkGithubSyncJobSucceeded
(id: number)
apps/web/src/lib/github-sync-store.ts:212
↓ 1 callersFunctionmarkPRReadyForReview
(owner: string, repo: string, pullNumber: number)
apps/web/src/app/(app)/repos/[owner]/[repo]/pulls/pr-actions.ts:218
↓ 1 callersFunctionmatchRepoFromPathname
Try to match /:owner/:repo from a clean pathname (skipping known app prefixes)
apps/web/src/components/ai-command-content.tsx:28
↓ 1 callersFunctionmatches
(node: HeadingNode)
apps/web/src/components/repo/document-outline.tsx:99
↓ 1 callersFunctionmergeAdjacentEdits
(regions: EditRegion[])
apps/web/src/lib/three-way-merge.ts:219
↓ 1 callersFunctionmergeCommitActivity
( existing: CommitActivityItem, incoming: CommitActivityItem, )
apps/web/src/components/users/activity-timeline/helpers.ts:151
↓ 1 callersFunctionmergeIssueEntries
(existing: IssueEntry[], incoming: IssueEntry[])
apps/web/src/components/users/activity-timeline/helpers.ts:135
↓ 1 callersFunctionmergeMonthGroups
( eventMonthGroups: EventMonthGroup[], contributionMonthGroups: TimelineMonthGroup[], )
apps/web/src/components/users/activity-timeline/aggregators.ts:434
↓ 1 callersFunctionmergeProfileReposIntoMonths
( monthGroups: TimelineMonthGroup[], profileRepoMonthMap: Map<string, CreatedRepoEntry[]>, )
apps/web/src/components/users/activity-timeline/aggregators.ts:582
↓ 1 callersFunctionmergePullRequest
( owner: string, repo: string, pullNumber: number, method: MergeMethod, commitTitle?: string, commitMess
apps/web/src/app/(app)/repos/[owner]/[repo]/pulls/pr-actions.ts:120
↓ 1 callersFunctionmergePullRequestEntries
( existing: PullRequestEntry[], incoming: PullRequestEntry[], )
apps/web/src/components/users/activity-timeline/helpers.ts:116
↓ 1 callersFunctionmigrateLegacyThemeId
( legacyId: string, )
apps/web/src/lib/themes/index.ts:90
↓ 1 callersFunctionmutate
(options: MutateOptions<T>)
apps/web/src/hooks/use-mutation.ts:21
↓ 1 callersFunctionnormalizeBaseURL
(url: string)
apps/web/src/components/theme-store/icon-theme-preview.tsx:73
↓ 1 callersFunctionnormalizeCssColor
(value: string)
apps/web/src/lib/themes/index.ts:98
↓ 1 callersFunctionnormalizeSecurityStatus
(status: unknown)
apps/web/src/lib/github.ts:5987
↓ 1 callersFunctiononError
()
apps/web/src/app/api/ai/ghost/route.ts:3431
↓ 1 callersFunctionparseDiffHunkLines
(diffHunk: string)
apps/web/src/components/pr/collapsible-review-card.tsx:89
↓ 1 callersFunctionparseErrorMessage
(error: Error | undefined)
apps/web/src/components/shared/ai-chat.tsx:65
↓ 1 callersFunctionparseHunkHeader
(content: string)
apps/web/src/lib/github-utils.ts:566
↓ 1 callersFunctionparseJson
(value: string)
apps/web/src/lib/github-sync-store.ts:29
↓ 1 callersFunctionparseOAuthRestriction
(error: Error & { digest?: string })
apps/web/src/app/(app)/error.tsx:33
↓ 1 callersFunctionparseRawLines
(raw: string)
apps/web/src/app/api/job-logs/route.ts:47
↓ 1 callersFunctionparseStoreTheme
(ext: { id: string; slug: string; name: string; description: string; dataJson: string | null; })
apps/web/src/components/theme/theme-provider.tsx:130
↓ 1 callersFunctionparseSuggestionBlock
Parse suggestion blocks from comment body
apps/web/src/components/pr/pr-diff-viewer.tsx:3255
↓ 1 callersFunctionparseTemplateFrontmatter
(content: string, filename: string)
apps/web/src/app/(app)/repos/[owner]/[repo]/issues/actions.ts:109
↓ 1 callersFunctionparseYamlTemplate
(content: string, filename: string)
apps/web/src/app/(app)/repos/[owner]/[repo]/issues/actions.ts:147
↓ 1 callersFunctionpatSignIn
()
apps/web/src/lib/auth-plugins/pat-signin.ts:8
↓ 1 callersFunctionpickRepoSlug
( repoRef: RepoRef | null | undefined, fallbackOwner: string, fallbackRepo: string, )
apps/web/src/components/actions/run-link-targets.ts:27
↓ 1 callersFunctionpinItem
( userId: string, owner: string, repo: string, url: string, title: string, itemType: string, )
apps/web/src/lib/pinned-items-store.ts:38
↓ 1 callersFunctionprImage
( owner: string, repo: string, number: number, fonts: Awaited<ReturnType<typeof ogFonts>>, )
apps/web/src/app/api/og/route.tsx:194
↓ 1 callersFunctionprefetchPRData
( owner: string, repo: string, opts?: { prefetchIssues?: boolean }, )
apps/web/src/lib/github.ts:5863
↓ 1 callersFunctionprocessAlerts
(html: string)
apps/web/src/components/shared/markdown-renderer.tsx:158
↓ 1 callersFunctionprocessGitDataSyncJob
( authCtx: GitHubAuthContext, jobType: GitDataSyncJobType, payload: GitDataSyncJobPayload, )
apps/web/src/lib/github.ts:1753
↓ 1 callersFunctionprune
(list: HeadingNode[])
apps/web/src/components/repo/document-outline.tsx:104
↓ 1 callersFunctionpullRequestActionLabel
(action: PullRequestEntry["action"])
apps/web/src/components/users/activity-timeline/helpers.ts:103
↓ 1 callersFunctionpullRequestStatusCounts
(items: PullRequestEntry[])
apps/web/src/components/users/activity-timeline/helpers.ts:90
↓ 1 callersFunctionread
()
apps/web/src/lib/resumable-stream.ts:99
↓ 1 callersFunctionreadThemePrefsFromCookie
* Read theme preferences from cookies. * Uses dynamic import of next/headers to avoid issues in non-request contexts.
apps/web/src/lib/shiki.ts:44
↓ 1 callersFunctionrecallMemoriesForContext
(userId: string, messages: UIMessage[])
apps/web/src/app/api/ai/ghost/route.ts:157
↓ 1 callersFunctionrecoverTimedOutRunningJobs
(userId: string)
apps/web/src/lib/github-sync-store.ts:155
↓ 1 callersFunctionregisterStoreTheme
(theme: ThemeDefinition)
apps/web/src/lib/themes/index.ts:72
↓ 1 callersFunctionrehighlight
()
apps/web/src/components/shared/reactive-code-blocks.tsx:32
↓ 1 callersFunctionremoveDiscussionReaction
( subjectId: string, content: DiscussionReactionContent, )
apps/web/src/lib/github.ts:4803
↓ 1 callersFunctionremoveDiscussionReactionAction
( subjectId: string, content: DiscussionReactionContentType, )
apps/web/src/app/(app)/repos/[owner]/[repo]/discussions/discussion-actions.ts:102
↓ 1 callersFunctionremovePromptRequestReaction
( promptRequestId: string, userId: string, content: PromptReactionContent, )
apps/web/src/lib/prompt-request-store.ts:322
↓ 1 callersFunctionremoveReaction
( owner: string, repo: string, contentType: "issue" | "issueComment" | "pullRequestReviewComment", content
apps/web/src/app/(app)/repos/[owner]/[repo]/reaction-actions.ts:114
↓ 1 callersFunctionrenameGhostTab
(userId: string, tabId: string, label: string)
apps/web/src/lib/chat-store.ts:418
↓ 1 callersFunctionrenamePullRequest
( owner: string, repo: string, pullNumber: number, title: string, )
apps/web/src/app/(app)/repos/[owner]/[repo]/pulls/pr-actions.ts:95
↓ 1 callersMethodrender
()
apps/web/src/components/users/user-profile-activity-timeline-boundary.tsx:23
↓ 1 callersFunctionrenderCellContent
(line: DiffLine | null, tokens: SyntaxToken[] | undefined)
apps/web/src/components/pr/pr-diff-viewer.tsx:3704
↓ 1 callersFunctionrenderFileRef
Parse inline code text for file:line patterns and return clickable elements
apps/web/src/components/shared/ai-chat.tsx:199
↓ 1 callersFunctionrenderResults
()
apps/web/src/components/search/search-content.tsx:616
↓ 1 callersFunctionreopenPromptRequest
(id: string)
apps/web/src/app/(app)/repos/[owner]/[repo]/prompts/actions.ts:107
↓ 1 callersFunctionreopenPullRequest
(owner: string, repo: string, pullNumber: number)
apps/web/src/app/(app)/repos/[owner]/[repo]/pulls/pr-actions.ts:165
↓ 1 callersFunctionreorderPinnedRepos
(fromIndex: number, toIndex: number)
apps/web/src/lib/pinned-repos.ts:67
↓ 1 callersFunctionrepoAge
(createdAt: string)
apps/web/src/components/repo/insights-view.tsx:78
↓ 1 callersFunctionrepoImage
(owner: string, repo: string, fonts: Awaited<ReturnType<typeof ogFonts>>)
apps/web/src/app/api/og/route.tsx:25
↓ 1 callersFunctionrepoTag
(owner: string, repo: string)
apps/web/src/lib/repo-data-cache-vc.ts:22
↓ 1 callersFunctionrerankResults
( query: string, documents: { id: string; text: string }[], topK: number = 10, )
apps/web/src/lib/mixedbread.ts:53
↓ 1 callersFunctionreset
()
apps/web/src/components/prompt-request/suggest-prompt-dialog.tsx:40
↓ 1 callersFunctionresize
()
apps/web/src/components/ui/halftone-background.tsx:200
↓ 1 callersFunctionresolveCustomIcon
( name: string, type: "file" | "dir", mapping: IconMapping, isOpen?: boolean, )
apps/web/src/components/shared/file-icon.tsx:146
↓ 1 callersFunctionresolveFileIcon
(base: string, mapping: IconMapping, file: PreviewFile)
apps/web/src/components/theme-store/icon-theme-preview.tsx:77
↓ 1 callersFunctionresolveFolderIcon
( base: string, mapping: IconMapping, folder: PreviewFolder, )
apps/web/src/components/theme-store/icon-theme-preview.tsx:105
↓ 1 callersFunctionresolveIconUrl
(owner: string, repo: string, iconPath: string)
apps/web/src/lib/extension-scanner.ts:205
↓ 1 callersFunctionresolveModel
(userModel: string, task: GhostTaskType = "default")
apps/web/src/app/api/ai/ghost/route.ts:45
↓ 1 callersFunctionresolveThemePair
( highlighter: Highlighter, )
apps/web/src/lib/shiki.ts:161
↓ 1 callersFunctionresolveUrls
(html: string, ctx: RepoContext)
apps/web/src/components/shared/markdown-renderer.tsx:93
↓ 1 callersFunctionresumeStream
( streamId: string, skipCharacters?: number, )
apps/web/src/lib/resumable-stream.ts:150
↓ 1 callersFunctionrevalidateBranches
(owner: string, repo: string)
apps/web/src/app/(app)/repos/[owner]/[repo]/readme-actions.ts:108
↓ 1 callersFunctionrevalidateContributorAvatars
( owner: string, repo: string, )
apps/web/src/app/(app)/repos/[owner]/[repo]/readme-actions.ts:74
↓ 1 callersFunctionrevalidateLanguages
( owner: string, repo: string, )
apps/web/src/app/(app)/repos/[owner]/[repo]/readme-actions.ts:58
↓ 1 callersFunctionrevalidateRepoPageData
(owner: string, repo: string)
apps/web/src/app/(app)/repos/[owner]/[repo]/revalidate-actions.ts:7
↓ 1 callersFunctionrevalidateRepoTree
( owner: string, repo: string, defaultBranch: string, )
apps/web/src/app/(app)/repos/[owner]/[repo]/revalidate-actions.ts:11
↓ 1 callersFunctionrevalidateTags
(owner: string, repo: string)
apps/web/src/app/(app)/repos/[owner]/[repo]/readme-actions.ts:126
↓ 1 callersFunctionsave
()
apps/web/src/components/pr/editable-pr-title.tsx:41
↓ 1 callersFunctionsaveMessage
( conversationId: string, message: { id: string; role: string; content: string; partsJson?: string }, )
apps/web/src/lib/chat-store.ts:92
↓ 1 callersFunctionsavePrOverviewAnalysis
( owner: string, repo: string, pullNumber: number, headSha: string, groups: ChangeGroup[], )
apps/web/src/lib/pr-overview-store.ts:66
↓ 1 callersFunctionscopesToGroupIds
(scopes: string[])
apps/web/src/lib/github-scopes.ts:120
↓ 1 callersFunctionscoreActivity
(input: ProfileScoreInput)
apps/web/src/lib/user-profile-score.ts:76
↓ 1 callersFunctionscoreCommunityPresence
(input: ProfileScoreInput)
apps/web/src/lib/user-profile-score.ts:36
↓ 1 callersFunctionscoreCommunityStanding
(input: ScoreInput)
apps/web/src/lib/contributor-score.ts:51
↓ 1 callersFunctionscoreDescription
(total: number)
apps/web/src/components/users/user-profile-score-ring.tsx:30
← previousnext →801–900 of 1,887, ranked by callers