MCPcopy Create free account

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

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

↓ 4 callersFunctiongetRepoCommits
( owner: string, repo: string, sha?: string, page = 1, perPage = 30, since?: string, until?: string, )
apps/web/src/lib/github.ts:7156
↓ 4 callersFunctiongetRepoPullRequestsWithStats
( owner: string, repo: string, state: "open" | "closed" | "all" = "open", opts?: { includeCounts?: boole
apps/web/src/lib/github.ts:5428
↓ 4 callersFunctiongetRepoTree
( owner: string, repo: string, treeSha: string, recursive?: boolean, )
apps/web/src/lib/github.ts:2814
↓ 4 callersFunctiongetSpendingLimit
(userId: string)
apps/web/src/lib/billing/spending-limit.ts:11
↓ 4 callersFunctiongetTrendingRepos
( language?: string, since: "daily" | "weekly" | "monthly" = "weekly", perPage = 10, )
apps/web/src/lib/github.ts:2737
↓ 4 callersFunctiongetWorkflowRun
(owner: string, repo: string, runId: number)
apps/web/src/lib/github.ts:6372
↓ 4 callersFunctionhighlightCodeClient
( code: string, lang: string, themeId: string, )
apps/web/src/lib/shiki-client.ts:172
↓ 4 callersFunctionhighlightDiffLines
( patch: string, filename: string, )
apps/web/src/lib/shiki.ts:325
↓ 4 callersFunctioninsertMarkdown
(prefix: string, suffix: string = prefix)
apps/web/src/components/discussion/create-discussion-dialog.tsx:215
↓ 4 callersFunctioninsertMarkdown
(prefix: string, suffix: string = prefix)
apps/web/src/components/issue/create-issue-dialog.tsx:539
↓ 4 callersFunctioninsertMarkdown
(prefix: string, suffix: string = prefix)
apps/web/src/app/(app)/repos/[owner]/[repo]/pulls/new/page.tsx:512
↓ 4 callersFunctionisAbsoluteUrl
(url: string)
apps/web/src/components/shared/markdown-renderer.tsx:76
↓ 4 callersFunctionisShareableCacheType
(jobType: string)
apps/web/src/lib/github.ts:128
↓ 4 callersFunctionlines
(snippet: string)
apps/web/src/lib/extract-snippet.test.ts:4
↓ 4 callersFunctionlinkifyFileRefs
Process text nodes to linkify file:line references in plain text
apps/web/src/components/shared/ai-chat.tsx:226
↓ 4 callersFunctionmapGQLAuthor
(author: { login: string; avatarUrl: string; __typename?: string } | null)
apps/web/src/lib/github.ts:4436
↓ 4 callersFunctionmarkNotificationDone
(threadId: string)
apps/web/src/app/(app)/repos/actions.ts:89
↓ 4 callersFunctionmaskApiKey
(key: string | null)
apps/web/src/app/api/user-settings/route.ts:6
↓ 4 callersFunctionnormalizeStepName
(name: string)
apps/web/src/components/actions/run-comparison-diff.tsx:36
↓ 4 callersFunctionpad2
(n: number)
apps/web/src/components/actions/run-detail.tsx:141
↓ 4 callersFunctionparseGitHubUrl
(htmlUrl: string)
apps/web/src/lib/github-utils.ts:252
↓ 4 callersFunctionretryStatsRequest
* GitHub stats endpoints return 202 while computing data in the background. * Retry with exponential backoff until we get a 200 with actual data.
apps/web/src/lib/github.ts:6558
↓ 4 callersFunctionsetThemeCookies
(themeId: string, mode: "dark" | "light")
apps/web/src/components/theme/theme-provider.tsx:62
↓ 4 callersFunctionsetWordWrap
(wordWrap: boolean)
apps/web/src/lib/diff-preferences.ts:50
↓ 4 callersFunctiontoConversation
(row: { id: string; userId: string; chatType: string; contextKey: string; title: string | null; activeSt
apps/web/src/lib/chat-store.ts:23
↓ 4 callersFunctiontouchCacheWithShared
(userId: string, cacheKey: string, cacheType: string)
apps/web/src/lib/github.ts:1746
↓ 4 callersFunctionuseGlobalChatOptional
()
apps/web/src/components/shared/global-chat-provider.tsx:130
↓ 4 callersFunctionuseMutation
()
apps/web/src/hooks/use-mutation.ts:16
↓ 4 callersFunctionuseNavVisibility
()
apps/web/src/components/shared/nav-visibility-provider.tsx:26
↓ 4 callersFunctionwithSafeTools
(tools: T)
apps/web/src/app/api/ai/ghost/route.ts:53
↓ 3 callersFunctionassertAuthorOrMaintainer
(promptUserId: string, owner: string, repo: string)
apps/web/src/app/(app)/repos/[owner]/[repo]/prompts/actions.ts:22
↓ 3 callersFunctionbuildFileContentCacheKey
(owner: string, repo: string, path: string, ref?: string)
apps/web/src/lib/github.ts:316
↓ 3 callersFunctionbuildImageProxyUrl
* Resolve relative URLs in the rendered HTML to point to raw.githubusercontent.com * for images and to our internal routes for links.
apps/web/src/components/shared/markdown-renderer.tsx:84
↓ 3 callersFunctionbuildInlineContextBlock
(inlineContexts?: InlineContext[])
apps/web/src/app/api/ai/ghost/route.ts:1751
↓ 3 callersFunctioncheckStatusRedisKey
(owner: string, repo: string)
apps/web/src/lib/github.ts:5690
↓ 3 callersFunctioncleanup
()
apps/web/src/lib/resumable-stream.ts:160
↓ 3 callersFunctioncopyToClipboard
(text: string, field: string)
apps/web/src/components/pr/prs-list.tsx:205
↓ 3 callersFunctiondebugLog
(...messages: unknown[])
apps/web/src/lib/resumable-stream.ts:21
↓ 3 callersFunctionenqueueGitDataSync
( authCtx: GitHubAuthContext, jobType: GitDataSyncJobType, cacheKey: string, payload: GitDataSyncJobPayloa
apps/web/src/lib/github.ts:2440
↓ 3 callersFunctionensureBuiltInThemeLoaded
* Ensure a built-in Shiki theme is loaded.
apps/web/src/lib/shiki.ts:73
↓ 3 callersFunctionfetchContent
( contentOwner: string, contentRepo: string, filePath: string, ref: string, )
apps/web/src/app/api/merge-conflicts/route.ts:62
↓ 3 callersFunctionfetchLatestCommit
(owner: string, repo: string)
apps/web/src/app/(app)/repos/[owner]/[repo]/commits/actions.ts:43
↓ 3 callersFunctionfetchRepoReleasesFromGitHub
(octokit: Octokit, owner: string, repo: string)
apps/web/src/lib/github.ts:571
↓ 3 callersFunctionfetchUserEventsFromGitHub
(octokit: Octokit, username: string, perPage: number)
apps/web/src/lib/github.ts:666
↓ 3 callersFunctionfindSameNameUploadTarget
( octokit: Awaited<ReturnType<typeof getOctokit>>, viewerLogin: string, repo: string, )
apps/web/src/app/(app)/repos/[owner]/[repo]/issues/actions.ts:336
↓ 3 callersFunctionfindUserForkUploadTarget
( octokit: Awaited<ReturnType<typeof getOctokit>>, viewerLogin: string, upstreamOwner: string, upstreamRep
apps/web/src/app/(app)/repos/[owner]/[repo]/issues/actions.ts:284
↓ 3 callersFunctionflashCheck
(btn: HTMLButtonElement)
apps/web/src/components/shared/markdown-copy-handler.tsx:12
↓ 3 callersFunctionflattenTree
(nodes: HeadingNode[])
apps/web/src/components/repo/document-outline.tsx:84
↓ 3 callersFunctionflushCommits
()
apps/web/src/components/pr/pr-conversation.tsx:148
↓ 3 callersFunctionformatBytes
(bytes: number)
apps/web/src/components/repo/insights-view.tsx:72
↓ 3 callersFunctionformatDate
(dateStr: string)
apps/web/src/components/people/person-detail.tsx:35
↓ 3 callersFunctionformatLogTimestamp
(timestamp: string | null)
apps/web/src/components/actions/run-detail.tsx:122
↓ 3 callersFunctionformatNum
(n: number)
apps/web/src/app/api/og/route.tsx:18
↓ 3 callersFunctionformatNumber
(num: number)
apps/web/src/components/shared/user-tooltip.tsx:34
↓ 3 callersFunctionformatUsd
(amount: number)
apps/web/src/components/settings/tabs/billing-tab.tsx:41
↓ 3 callersFunctionformatWeekLabel
(timestamp: number)
apps/web/src/components/people/person-detail.tsx:56
↓ 3 callersFunctiongetClient
()
apps/web/src/lib/mixedbread.ts:7
↓ 3 callersFunctiongetCommit
(owner: string, repo: string, ref: string)
apps/web/src/lib/github.ts:7184
↓ 3 callersFunctiongetCommitActivity
( owner: string, repo: string, )
apps/web/src/lib/github.ts:6621
↓ 3 callersFunctiongetCustomThemeBySlug
( slug: string, userId?: string, )
apps/web/src/lib/theme-store.ts:234
↓ 3 callersFunctiongetInitials
(name: string)
apps/web/src/lib/commit-utils.ts:42
↓ 3 callersFunctiongetIssueComments
(owner: string, repo: string, issueNumber: number)
apps/web/src/lib/github.ts:3763
↓ 3 callersFunctiongetLineNum
(line: DiffLine | null)
apps/web/src/components/pr/pr-diff-viewer.tsx:3661
↓ 3 callersFunctiongetNotifications
(perPage = 20)
apps/web/src/lib/github.ts:2599
↓ 3 callersFunctiongetOGUser
(username: string)
apps/web/src/lib/og/og-data.ts:153
↓ 3 callersFunctiongetPullRequestFiles
(owner: string, repo: string, pullNumber: number)
apps/web/src/lib/github.ts:2998
↓ 3 callersFunctiongetRecentViews
()
apps/web/src/lib/recent-views.ts:15
↓ 3 callersFunctiongetRepoPullRequests
( owner: string, repo: string, state: "open" | "closed" | "all" = "open", )
apps/web/src/lib/github.ts:5236
↓ 3 callersFunctiongetRepoReleases
(owner: string, repo: string)
apps/web/src/lib/github.ts:2866
↓ 3 callersFunctiongetSessionUserId
()
apps/web/src/app/api/ai/chat-history/route.ts:11
↓ 3 callersFunctiongetStripeClient
()
apps/web/src/lib/billing/stripe.ts:12
↓ 3 callersFunctiongetSyntaxTokens
(line: DiffLine | null)
apps/web/src/components/pr/pr-diff-viewer.tsx:3653
↓ 3 callersFunctiongetThemePair
* Get the user's theme pair, ensuring both are loaded. * Cached for 1s to deduplicate concurrent calls within the same render.
apps/web/src/lib/shiki.ts:152
↓ 3 callersFunctiongetUserEvents
(username: string, perPage = 30)
apps/web/src/lib/github.ts:2625
↓ 3 callersFunctiongetUserPublicOrgs
(username: string)
apps/web/src/lib/github.ts:6521
↓ 3 callersFunctiongetUserRepos
(sort: RepoSort = "updated", perPage = 30)
apps/web/src/lib/github.ts:2533
↓ 3 callersFunctiongetUserSettings
(userId: string)
apps/web/src/lib/user-settings-store.ts:57
↓ 3 callersFunctionhandleImageUpload
(file: File)
apps/web/src/components/discussion/create-discussion-dialog.tsx:118
↓ 3 callersFunctionhandleSend
(text?: string)
apps/web/src/components/shared/ai-chat.tsx:1133
↓ 3 callersFunctionhashContent
(text: string)
apps/web/src/lib/embedding-store.ts:40
↓ 3 callersFunctionhighlightCode
(code: string, lang: string)
apps/web/src/lib/shiki.ts:233
↓ 3 callersFunctioninsertLinePrefix
(prefix: string)
apps/web/src/components/discussion/create-discussion-dialog.tsx:235
↓ 3 callersFunctioninsertLinePrefix
(prefix: string)
apps/web/src/components/issue/create-issue-dialog.tsx:561
↓ 3 callersFunctioninsertLinePrefix
(prefix: string)
apps/web/src/app/(app)/repos/[owner]/[repo]/pulls/new/page.tsx:532
↓ 3 callersFunctioninvalidateBilling
()
apps/web/src/components/settings/tabs/billing-tab.tsx:119
↓ 3 callersFunctioninvalidateRepoPullRequestsCache
(owner: string, repo: string)
apps/web/src/lib/github.ts:5142
↓ 3 callersFunctionlistPromptRequestReactions
( promptRequestId: string, )
apps/web/src/lib/prompt-request-store.ts:332
↓ 3 callersFunctionmatchRepoFromPathname
(pathname: string)
apps/web/src/components/command-menu.tsx:116
↓ 3 callersFunctionparseCoAuthors
(message: string)
apps/web/src/lib/commit-utils.ts:13
↓ 3 callersFunctionparseMapping
(dataJson: string | null)
apps/web/src/components/theme-store/icon-theme-provider.tsx:30
↓ 3 callersFunctionreadmeKey
(owner: string, repo: string)
apps/web/src/lib/readme-cache.ts:3
↓ 3 callersFunctionredisKey
(userId: string, cacheKey: string)
apps/web/src/lib/github-sync-store.ts:25
↓ 3 callersFunctionreportUsageToStripe
( usageLogId: string, userId: string, costUsd: number, createdAt?: Date, )
apps/web/src/lib/billing/stripe.ts:19
↓ 3 callersFunctionreset
()
apps/web/src/components/repo/create-repo-dialog.tsx:65
↓ 3 callersFunctionrevalidateRepoPaths
(owner: string, repo: string)
apps/web/src/app/(app)/repos/[owner]/[repo]/actions.ts:82
↓ 3 callersFunctionsafeRedirect
(url: string | undefined, fallback = "/dashboard")
apps/web/src/lib/utils.ts:89
↓ 3 callersFunctionscanCustomThemeRepo
( octokit: Octokit, owner: string, repo: string, )
apps/web/src/lib/extension-scanner.ts:209
↓ 3 callersFunctionscoreColor
(total: number)
apps/web/src/components/users/user-profile-score-ring.tsx:9
↓ 3 callersFunctionsharedRedisKey
(cacheKey: string)
apps/web/src/lib/github-sync-store.ts:63
↓ 3 callersFunctionstarRepo
(owner: string, repo: string)
apps/web/src/app/(app)/repos/actions.ts:8
← previousnext →101–200 of 1,887, ranked by callers