Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/better-auth/better-hub
/ functions
Functions
1,887 in github.com/better-auth/better-hub
⨍
Functions
1,887
◇
Types & classes
448
↓ 2 callers
Function
fetchRepoNavCountsFromGitHub
( octokit: Octokit, owner: string, repo: string, openIssuesAndPrs: number, )
apps/web/src/lib/github.ts:1677
↓ 2 callers
Function
fetchRepoPullRequestsFromGitHub
( octokit: Octokit, owner: string, repo: string, state: "open" | "closed" | "all", )
apps/web/src/lib/github.ts:1192
↓ 2 callers
Function
fetchRepoTagsFromGitHub
(octokit: Octokit, owner: string, repo: string)
apps/web/src/lib/github.ts:562
↓ 2 callers
Function
fetchRepoTreeFromGitHub
( octokit: Octokit, owner: string, repo: string, treeSha: string, recursive?: boolean, )
apps/web/src/lib/github.ts:529
↓ 2 callers
Function
fetchRepoWorkflowRunsFromGitHub
( octokit: Octokit, owner: string, repo: string, perPage: number, )
apps/web/src/lib/github.ts:1658
↓ 2 callers
Function
fetchRepoWorkflowsFromGitHub
(octokit: Octokit, owner: string, repo: string)
apps/web/src/lib/github.ts:1653
↓ 2 callers
Function
fetchSearchIssuesFromGitHub
(octokit: Octokit, query: string, perPage: number)
apps/web/src/lib/github.ts:656
↓ 2 callers
Function
fetchStarredReposFromGitHub
( octokit: Octokit, perPage: number, )
apps/web/src/lib/github.ts:1125
↓ 2 callers
Function
fetchTrendingReposFromGitHub
( octokit: Octokit, since: "daily" | "weekly" | "monthly", perPage: number, language?: string, )
apps/web/src/lib/github.ts:1149
↓ 2 callers
Function
fetchUserEventsPublicUnauthenticated
(username: string, perPage: number)
apps/web/src/lib/github.ts:674
↓ 2 callers
Function
fetchUserOrgsFromGitHub
(octokit: Octokit, perPage: number)
apps/web/src/lib/github.ts:622
↓ 2 callers
Function
fetchUserPublicOrgsFromGitHub
(octokit: Octokit, username: string)
apps/web/src/lib/github.ts:1611
↓ 2 callers
Function
fetchUserPublicReposFromGitHub
( octokit: Octokit, username: string, perPage: number, token?: string | null, )
apps/web/src/lib/github.ts:1570
↓ 2 callers
Function
fetchUserReposFromGitHub
(octokit: Octokit, sort: RepoSort, perPage: number)
apps/web/src/lib/github.ts:499
↓ 2 callers
Function
filterFn
(t: (typeof colorThemes)[0])
apps/web/src/components/command-menu.tsx:1247
↓ 2 callers
Function
flushBots
()
apps/web/src/components/discussion/discussion-conversation.tsx:50
↓ 2 callers
Function
flushBots
()
apps/web/src/components/issue/issue-conversation.tsx:74
↓ 2 callers
Function
flushBots
()
apps/web/src/components/pr/pr-conversation.tsx:142
↓ 2 callers
Function
formatDate
(iso: string)
apps/web/src/components/theme-store/theme-detail.tsx:56
↓ 2 callers
Function
formatDownloads
(n: number)
apps/web/src/components/repo/release-detail.tsx:67
↓ 2 callers
Function
formatElapsed
(ms: number)
apps/web/src/components/shared/ai-chat.tsx:77
↓ 2 callers
Function
formatNum
(n: number)
apps/web/src/app/(app)/[owner]/opengraph-image.tsx:164
↓ 2 callers
Function
formatNum
(n: number)
apps/web/src/app/(app)/repos/[owner]/[repo]/opengraph-image.tsx:97
↓ 2 callers
Function
formatRelativeDate
(iso: string)
apps/web/src/components/theme-store/theme-detail.tsx:40
↓ 2 callers
Function
formatWeekDate
(unixTimestamp: number)
apps/web/src/components/repo/insights-view.tsx:67
↓ 2 callers
Function
generateTabId
()
apps/web/src/lib/chat-store.ts:281
↓ 2 callers
Function
getActiveSubscription
(userId: string)
apps/web/src/lib/billing/spending-limit.ts:35
↓ 2 callers
Function
getAncestorPaths
(filePath: string)
apps/web/src/lib/file-tree.ts:62
↓ 2 callers
Function
getClient
()
apps/web/src/lib/image-upload-r2.ts:19
↓ 2 callers
Function
getClientHighlighter
()
apps/web/src/lib/shiki-client.ts:15
↓ 2 callers
Function
getCommitBody
(message: string)
apps/web/src/lib/commit-utils.ts:29
↓ 2 callers
Function
getContributionData
(username: string)
apps/web/src/lib/github.ts:2699
↓ 2 callers
Function
getConversation
( userId: string, contextKey: string, )
apps/web/src/lib/chat-store.ts:129
↓ 2 callers
Function
getCurrentUser
()
apps/web/src/app/(app)/repos/[owner]/[repo]/discussions/discussion-actions.ts:124
↓ 2 callers
Function
getDiscussion
( owner: string, repo: string, number: number, )
apps/web/src/lib/github.ts:4668
↓ 2 callers
Function
getDiscussionComments
( owner: string, repo: string, number: number, )
apps/web/src/lib/github.ts:4679
↓ 2 callers
Function
getExistingContentHash
( userId: string, contentType: string, contentKey: string, )
apps/web/src/lib/embedding-store.ts:57
↓ 2 callers
Function
getFileIcon
(name: string)
apps/web/src/components/shared/file-icon.tsx:85
↓ 2 callers
Function
getForkSyncContext
(owner: string, repo: string)
apps/web/src/app/(app)/repos/[owner]/[repo]/actions.ts:31
↓ 2 callers
Function
getGitHubToken
()
apps/web/src/lib/ai-auth.ts:10
↓ 2 callers
Function
getInlineComments
( line: DiffLine | null, side: "LEFT" | "RIGHT", )
apps/web/src/components/pr/pr-diff-viewer.tsx:3683
↓ 2 callers
Function
getIssueTimelineEvents
( owner: string, repo: string, issueNumber: number, )
apps/web/src/lib/github.ts:3911
↓ 2 callers
Function
getMonthFromDate
(date: string)
apps/web/src/components/dashboard/contribution-chart.tsx:53
↓ 2 callers
Function
getOGIssue
( owner: string, repo: string, number: number, )
apps/web/src/lib/og/og-data.ts:104
↓ 2 callers
Function
getOGOrg
(org: string)
apps/web/src/lib/og/og-data.ts:166
↓ 2 callers
Function
getOGPullRequest
( owner: string, repo: string, number: number, )
apps/web/src/lib/og/og-data.ts:127
↓ 2 callers
Function
getOGRepo
(owner: string, repo: string)
apps/web/src/lib/og/og-data.ts:88
↓ 2 callers
Function
getOctokitFromSession
()
apps/web/src/lib/ai-auth.ts:4
↓ 2 callers
Function
getOrCreateConversation
( userId: string, chatType: string, contextKey: string, )
apps/web/src/lib/chat-store.ts:63
↓ 2 callers
Function
getOrg
(org: string)
apps/web/src/lib/github.ts:2586
↓ 2 callers
Function
getOrgMembers
(org: string, perPage = 100)
apps/web/src/lib/github.ts:6541
↓ 2 callers
Function
getOrgRepos
( org: string, { perPage = 100, sort = "updated", type = "all", }: { perPage?: number; sort?: Org
apps/web/src/lib/github.ts:2561
↓ 2 callers
Function
getPageContext
Extract a repo context identifier (e.g. "vercel/next.js") from a pathname, or a page category
apps/web/src/components/shared/global-chat-provider.tsx:92
↓ 2 callers
Function
getPersonRepoActivity
( owner: string, repo: string, username: string, )
apps/web/src/lib/github.ts:7138
↓ 2 callers
Function
getPullRequestStatusFromContribution
( node: PullRequestContributionNode, )
apps/web/src/components/users/activity-timeline/helpers.ts:37
↓ 2 callers
Function
getRepoContents
(owner: string, repo: string, path: string, ref?: string)
apps/web/src/lib/github.ts:2791
↓ 2 callers
Function
getRepoContributorStats
( owner: string, repo: string, )
apps/web/src/lib/github.ts:6587
↓ 2 callers
Function
getRepoDiscussionsPage
( owner: string, repo: string, )
apps/web/src/lib/github.ts:4619
↓ 2 callers
Function
getRepoEvents
(owner: string, repo: string, perPage = 30)
apps/web/src/lib/github.ts:7041
↓ 2 callers
Function
getRepoIssues
( owner: string, repo: string, state: "open" | "closed" | "all" = "open", )
apps/web/src/lib/github.ts:4078
↓ 2 callers
Function
getRepoIssuesWithStats
( owner: string, repo: string, state: "open" | "closed" = "open", opts?: { includeCounts?: boolean; pe
apps/web/src/lib/github.ts:5020
↓ 2 callers
Function
getRepoReleaseByTag
(owner: string, repo: string, tag: string)
apps/web/src/lib/github.ts:2920
↓ 2 callers
Function
getRepositoryAdvisory
( owner: string, repo: string, ghsaId: string, )
apps/web/src/lib/github.ts:6287
↓ 2 callers
Function
getRunLinkTargets
( owner: string, repo: string, run: WorkflowRunLinkInput, )
apps/web/src/components/actions/run-link-targets.ts:40
↓ 2 callers
Function
getSessionUserId
()
apps/web/src/app/api/ai/ghost-tabs/route.ts:11
↓ 2 callers
Function
getStepLog
( jobId: number, stepName: string, stepNumber?: number, )
apps/web/src/components/actions/run-comparison-diff.tsx:682
↓ 2 callers
Function
getStoredPreferences
()
apps/web/src/components/theme/theme-provider.tsx:83
↓ 2 callers
Function
getSupermemoryClient
()
apps/web/src/app/api/ai/ghost/route.ts:89
↓ 2 callers
Function
getTabLabelFromPathname
* Derive a short context-aware label for a new Ghost tab. * Format: "Label · detail" where detail is shown dimmer in the UI.
apps/web/src/components/shared/global-chat-panel.tsx:137
↓ 2 callers
Function
getThemePairForClient
( highlighter: Highlighter, themeId: string, )
apps/web/src/lib/shiki-client.ts:117
↓ 2 callers
Function
getUserOrgTopRepos
(orgLogins: string[])
apps/web/src/lib/github.ts:6534
↓ 2 callers
Function
getUserProfileRepositories
(login: string, perPage = 100)
apps/web/src/lib/github.ts:6517
↓ 2 callers
Function
getUserPublicRepos
(username: string, perPage = 30)
apps/web/src/lib/github.ts:6492
↓ 2 callers
Function
getWorkflowRunJobs
(owner: string, repo: string, runId: number)
apps/web/src/lib/github.ts:6441
↓ 2 callers
Function
getYearFromDate
(date: string)
apps/web/src/components/dashboard/contribution-chart.tsx:64
↓ 2 callers
Function
grantSignupCredits
(userId: string)
apps/web/src/lib/billing/credit.ts:7
↓ 2 callers
Function
handleCancel
()
apps/web/src/components/issue/editable-issue-description.tsx:82
↓ 2 callers
Function
handleClose
(reason: CloseReason)
apps/web/src/components/issue/issue-comment-form.tsx:142
↓ 2 callers
Function
handleLineClick
(lineNum: number, side: "LEFT" | "RIGHT", shiftKey: boolean)
apps/web/src/components/pr/pr-diff-viewer.tsx:1347
↓ 2 callers
Function
handleLineHover
(lineNum: number)
apps/web/src/components/pr/pr-diff-viewer.tsx:1389
↓ 2 callers
Function
handleLineMouseDown
(lineNum: number, side: "LEFT" | "RIGHT")
apps/web/src/components/pr/pr-diff-viewer.tsx:1365
↓ 2 callers
Function
handleProtocolChange
(protocol: "https" | "ssh")
apps/web/src/components/repo/code-toolbar.tsx:72
↓ 2 callers
Function
handleToggleMode
()
apps/web/src/components/settings/tabs/general-tab.tsx:203
↓ 2 callers
Function
hasModelPricing
(model: string)
apps/web/src/lib/billing/ai-models.ts:52
↓ 2 callers
Function
hasPrInRepo
(owner: string, repo: string)
apps/web/src/lib/github.ts:1300
↓ 2 callers
Function
highlightDiffLinesClient
( patch: string, filename: string, themeId = "default", )
apps/web/src/lib/shiki-client.ts:201
↓ 2 callers
Function
highlightFullFile
(code: string, filename: string)
apps/web/src/lib/shiki.ts:299
↓ 2 callers
Function
injectAll
()
apps/web/src/components/shared/markdown-copy-handler.tsx:29
↓ 2 callers
Function
invalidatePullRequestCache
(owner: string, repo: string, pullNumber: number)
apps/web/src/lib/github.ts:5158
↓ 2 callers
Function
invalidateRepoDiscussionsCache
(owner: string, repo: string)
apps/web/src/lib/github.ts:4914
↓ 2 callers
Function
invalidateRepoIssuesCache
(owner: string, repo: string)
apps/web/src/lib/github.ts:5207
↓ 2 callers
Function
isCommentFormLine
(line: DiffLine | null, side: "LEFT" | "RIGHT")
apps/web/src/components/pr/pr-diff-viewer.tsx:3694
↓ 2 callers
Function
isGitHubUserAttachmentAssetUrl
(url: string)
apps/web/src/lib/github-user-attachments.ts:4
↓ 2 callers
Function
isItemPinned
( userId: string, owner: string, repo: string, url: string, )
apps/web/src/lib/pinned-items-store.ts:69
↓ 2 callers
Function
isLineSelected
(line: DiffLine | null, side: "LEFT" | "RIGHT")
apps/web/src/components/pr/pr-diff-viewer.tsx:3672
↓ 2 callers
Function
isPinnedRepo
(fullName: string)
apps/web/src/lib/pinned-repos.ts:28
↓ 2 callers
Function
isRepoPublic
(owner: string, repo: string)
apps/web/src/lib/og/og-data.ts:30
↓ 2 callers
Function
languagesKey
(owner: string, repo: string)
apps/web/src/lib/repo-data-cache.ts:21
↓ 2 callers
Function
listBranchesForRepo
( octokit: Awaited<ReturnType<typeof getOctokit>>, repoOwner: string, repoName: string, defaultBranch: str
apps/web/src/app/(app)/repos/[owner]/[repo]/pulls/new/actions.ts:126
↓ 2 callers
Function
listThemes
()
apps/web/src/lib/themes/index.ts:56
← previous
next →
301–400 of 1,887, ranked by callers