MCPcopy Create free account

hub / github.com/Y80/bmm / functions

Functions544 in github.com/Y80/bmm

↓ 2 callersFunctionisReachableResponse
(response: FetchResponse)
src/controllers/BookmarkHostCheck.controller.ts:177
↓ 2 callersFunctionisTimeoutError
(error: unknown)
src/controllers/AiProvider.controller.ts:183
↓ 2 callersFunctionisValidThirdPartyIconApiSrcTemplate
(srcTemplate: string)
src/components/BookmarkIconDropdown.tsx:121
↓ 2 callersFunctionmarkOtherPublicHostsFresh
(pendingHostKeys: Set<string>)
src/controllers/tests/bookmark-host-check.test.ts:66
↓ 2 callersFunctionmergedSetTheme
(theme: string)
src/components/ThemeToggle.tsx:22
↓ 2 callersFunctiononRemove
(item: SelectBookmark)
src/components/BookmarkListPage.tsx:253
↓ 2 callersFunctionparseCheckHostsTaskValue
(value: unknown)
src/controllers/BookmarkHostCheck.controller.ts:221
↓ 2 callersFunctionparseWithReadability
用 Readability 解析 HTML,返回文章对象或 null
src/utils/extract-article.ts:54
↓ 2 callersFunctionpbkdf2Has
(password: string, salt: string)
src/controllers/Credentials.controller.ts:8
↓ 2 callersFunctionpromptPassword
(message)
scripts/reset-user-password.mjs:55
↓ 2 callersFunctionreadFile
(file: File)
src/components/UploadPage/index.tsx:82
↓ 2 callersFunctionrenderBookmark
(node: BookmarkNode)
src/components/UploadPage/index.tsx:273
↓ 2 callersFunctionrenderDefault
(props: Props)
src/components/Favicon.tsx:46
↓ 2 callersFunctionrenderLinks
(isMobile = false)
src/components/CmsSidebarNav.tsx:101
↓ 2 callersFunctionrenderRelatedTags
(tagIds: number[] = [])
src/components/BookmarkListPage.tsx:239
↓ 2 callersFunctionrenderTree
()
src/components/UploadPage/index.tsx:233
↓ 2 callersFunctionrequestHost
(hostKey: string, method: 'HEAD' | 'GET', timeout: number, proxyUrl?: string)
src/controllers/BookmarkHostCheck.controller.ts:118
↓ 2 callersFunctionresolveOrContinue
()
src/utils/concurrence-with-limit.ts:27
↓ 2 callersFunctionrun
()
src/utils/concurrence-with-limit.ts:31
↓ 2 callersFunctionsaltAndHashPassword
* 为密码生成 salt 并进行哈希处理 * @param password 原始密码 * @returns 包含哈希密码和 salt 的对象
src/controllers/Credentials.controller.ts:17
↓ 2 callersFunctionsaveCheckResult
(input: { hostKey: string status: BookmarkHostCheckStatus httpStatus: number | null errorMessage: stri
src/controllers/BookmarkHostCheck.controller.ts:191
↓ 2 callersFunctionsetIconNames
(names: string[] = [])
src/components/IconPicker.tsx:86
↓ 2 callersFunctionshowSearchInput
()
src/components/PublicAndUserNavBar/index.tsx:43
↓ 2 callersFunctionstartCheckHostsTask
(input: { getRunningTask: () => Promise<CheckHostsTaskValue | null> getHostKeys: () => Promise<Array<{ hos
src/controllers/BookmarkHostCheck.controller.ts:380
↓ 2 callersFunctionstop
(iconUrl: string)
src/utils/website-icon.ts:50
↓ 2 callersFunctionstripJsonCodeFence
(text: string)
src/lib/ai/json.ts:3
↓ 2 callersFunctiontoNewPath
(tagNames: string[])
src/hooks/useOnClickTag.ts:34
↓ 2 callersFunctiontraverseDl
(dl: HTMLDListElement, parentCates: Category[] = [])
src/components/UploadPage/index.tsx:83
↓ 2 callersFunctiontryLoadParentGitRepoEnv
(options = {})
scripts/utils.mjs:89
↓ 2 callersFunctionupsertRelations
* 忽略当前标签关系,创建、删除标签关系 * - ids 为 undefined 时,不执行任何修改 * - ids 为 [] 时,删除所有关系
src/controllers/UserTag.controller.ts:22
↓ 2 callersFunctionuseIsMobile
()
src/hooks/useIsMobile.ts:3
↓ 2 callersFunctionusePublicContext
()
src/app/(public)/ctx.tsx:15
↓ 2 callersFunctionvalidateAll
()
src/components/BookmarkSlugPage.tsx:99
↓ 2 callersFunctionvalidateTagName
(name?: string | null)
src/controllers/PublicTag.controller.ts:38
↓ 2 callersFunctionwaitForPublicCheckHostsTaskFinished
()
src/controllers/tests/bookmark-host-check.test.ts:56
↓ 2 callersFunctionwithBookmarkHostCheckSummaries
( list: T[] )
src/controllers/BookmarkHostCheck.controller.ts:88
↓ 1 callersFunctionabsolutifyUrls
将相对 URL 转为绝对 URL
src/utils/extract-article.ts:25
↓ 1 callersFunctionanalyzeReadLaterArticle
(html: string, url: string)
src/lib/ai/index.ts:50
↓ 1 callersFunctionanalyzeWebsite
(inputUrl: string, tags: string[] = [])
src/lib/ai/index.ts:20
↓ 1 callersFunctionconcurrenceWithLimit
(options: ConcurrenceWithLimitOptions)
src/utils/concurrence-with-limit.ts:21
↓ 1 callersFunctioncreateAnalyzeReadLaterArticlePrompt
(payload: ReadLaterArticlePayload)
src/lib/ai/prompts.ts:104
↓ 1 callersFunctioncreateAnalyzeRelatedTagsPrompt
(payload: { targetTag: string; tags: string[] })
src/lib/ai/prompts.ts:54
↓ 1 callersFunctioncreateAnalyzeWebsitePrompt
(payload: WebsiteAnalysisPayload)
src/lib/ai/prompts.ts:9
↓ 1 callersFunctioncreateCopiedProviderName
(name: string, providers: AiProviderConfig[])
src/controllers/AiProvider.controller.ts:154
↓ 1 callersFunctioncreateFallbackArticle
(url: string)
src/utils/extract-article.ts:6
↓ 1 callersFunctioncreateFetchInit
(config: FetchRequestConfig)
src/utils/http.ts:32
↓ 1 callersFunctioncreateHttpErrorMessage
(status: number)
src/controllers/BookmarkHostCheck.controller.ts:181
↓ 1 callersFunctioncreateImageProbe
* 使用 Image 的 load/error 事件判断图标地址是否可用
src/utils/website-icon.ts:76
↓ 1 callersFunctioncreateNetworkErrorMessage
(error: unknown)
src/controllers/BookmarkHostCheck.controller.ts:185
↓ 1 callersFunctioncreateOpts
()
src/db/postgres/drivers/postgres.ts:15
↓ 1 callersFunctioncreateProviderId
()
src/app/admin/ai-provider/page.tsx:71
↓ 1 callersFunctioncreateReadLaterArticlePayload
(params: { html: string; url: string })
src/lib/ai/payload.ts:50
↓ 1 callersFunctioncreateUrl
(host = faker.internet.domainName())
src/controllers/tests/bookmark-host-check.test.ts:33
↓ 1 callersFunctioncreateUserFilterByKeyword
(table: typeof schema.users, kw: string)
src/controllers/common.ts:25
↓ 1 callersFunctioncreateWebsiteAnalysisPayload
(params: { html: string; url: string; tags: string[] })
src/lib/ai/payload.ts:33
↓ 1 callersFunctiondecodeHtml
解码优先级: HTTP header charset → UTF-8 BOM → <meta> charset → GB 特征检测 → UTF-8
src/utils/fetch-html.ts:47
↓ 1 callersFunctiondeleteProvider
(provider: EditableProvider)
src/app/admin/ai-provider/page.tsx:185
↓ 1 callersFunctiondetectGbEncoding
通过字节特征检测 GB 系列编码:高字节 0xB0-0xF7 + 低字节 0xA1-0xFE
src/utils/fetch-html.ts:99
↓ 1 callersFunctionduplicateProvider
(provider: EditableProvider)
src/app/admin/ai-provider/page.tsx:192
↓ 1 callersFunctionensureInteractiveTerminal
()
scripts/reset-user-password.mjs:38
↓ 1 callersFunctionestimateReadingMinutes
(text: string)
src/utils/extract-article.ts:18
↓ 1 callersFunctionexecute
()
scripts/utils.mjs:9
↓ 1 callersFunctionexecuteCheckHostsTask
(input: { hostKeys: string[] initialTask: CheckHostsTaskValue saveTask: SaveCheckHostsTask })
src/controllers/BookmarkHostCheck.controller.ts:343
↓ 1 callersFunctionfetchHtmlRequest
(config: FetchRequestConfig)
src/utils/http.ts:58
↓ 1 callersFunctionfetchRequest
(config: FetchRequestConfig)
src/utils/http.ts:53
↓ 1 callersFunctionfilterPendingHostKeys
(hostKeys: Array<string | null | undefined>)
src/controllers/BookmarkHostCheck.controller.ts:306
↓ 1 callersFunctionfindArticleContentInNextData
从 __NEXT_DATA__ JSON 中递归寻找最长的文章 HTML 字符串和标题 * * Next.js 会在 HTML 中注入 <script id="__NEXT_DATA__">,包含服务端获取的全部 props 数据。 * 对于 CSR 页面(如 mdnice),正文内容不在 D
src/utils/extract-article.ts:65
↓ 1 callersFunctionfinish
(result: boolean, resolve: (value: boolean) => void)
src/utils/website-icon.ts:93
↓ 1 callersFunctionformatCheckedAt
(checkedAt: Date | null)
src/components/BookmarkListPage.tsx:357
↓ 1 callersFunctionformatDate
(date: Date | null | undefined)
src/app/admin/user/list/page.tsx:43
↓ 1 callersFunctionformatDate
(date)
scripts/list-users.mjs:6
↓ 1 callersFunctionformatFromNow
(date: Date | string | null)
src/app/user/read-later/ClientPage.tsx:52
↓ 1 callersFunctionformatRecentUpdatedAt
(date?: Date | null)
src/components/HomeBody/components/Banner.tsx:37
↓ 1 callersFunctionformatTaskFinishedAt
(finishedAt: string | null | undefined)
src/components/BookmarkListPage.tsx:367
↓ 1 callersFunctiongenerateLinkTitle
()
src/components/HomeBody/components/BookmarkCard.tsx:20
↓ 1 callersFunctiongetActiveProvider
(config: EditableConfig)
src/app/admin/ai-provider/page.tsx:95
↓ 1 callersFunctiongetAdminPageTitleIcon
(pathname: string, title: string)
src/components/AdminPageTitle.tsx:13
↓ 1 callersFunctiongetAll
()
src/controllers/PublicTag.controller.ts:46
↓ 1 callersFunctiongetApiKeyFromInputOrStored
( config: AiProvidersConfig, input: z.output<typeof listAiProviderModelsSchema> )
src/controllers/AiProvider.controller.ts:198
↓ 1 callersFunctiongetCachedPageSize
(pathname: string)
src/components/TagListPage.tsx:41
↓ 1 callersFunctiongetCachedPageSize
(pathname: string)
src/components/BookmarkListPage.tsx:95
↓ 1 callersFunctiongetChatCompletionsUrl
(baseUrl: string)
src/controllers/AiProvider.controller.ts:165
↓ 1 callersFunctiongetCheckHostsTaskTooltip
()
src/components/BookmarkListPage.tsx:379
↓ 1 callersFunctiongetConfig
()
src/controllers/SiteSetting.controller.ts:15
↓ 1 callersFunctiongetDefaultFavicon
(url: string)
src/components/UploadPage/components/UploadList.tsx:38
↓ 1 callersFunctiongetErrorCode
(error: unknown)
src/utils/http.ts:92
↓ 1 callersFunctiongetErrorMsg
(error: unknown)
src/actions/make-action.ts:76
↓ 1 callersFunctiongetFaviconUrl
(host: string)
src/app/user/read-later/ClientPage.tsx:65
↓ 1 callersMethodgetMessage
(err: any)
src/lib/SqlXError.ts:52
↓ 1 callersFunctiongetModelsUrl
(baseUrl: string)
src/controllers/AiProvider.controller.ts:174
↓ 1 callersFunctiongetRelatedTagsName
(tagsId?: TagId[])
src/components/TagListPage.tsx:132
↓ 1 callersFunctiongetResponseHeader
(response: FetchResponse, name: string)
src/controllers/BookmarkHostCheck.controller.ts:147
↓ 1 callersFunctiongetSelectionKey
(selection: unknown)
src/components/ui/PaginationControls.tsx:5
↓ 1 callersFunctiongetTestProvider
(config: AiProvidersConfig, id: string)
src/controllers/AiProvider.controller.ts:187
↓ 1 callersFunctiongetUserBookmarkHostKeys
(userId: UserId)
src/controllers/BookmarkHostCheck.controller.ts:299
↓ 1 callersFunctiongetUserCheckHostsTask
(userId: UserId)
src/controllers/BookmarkHostCheck.controller.ts:249
↓ 1 callersFunctionhandleChangeIsMain
(v: boolean, tag: SelectTag)
src/components/TagListPage.tsx:140
↓ 1 callersFunctionhandleClose
()
src/components/MyModal/open.tsx:10
↓ 1 callersFunctionhandleCreate
()
src/app/user/read-later/ClientPage.tsx:95
↓ 1 callersFunctionhandleDelete
(item: ReadLaterItem)
src/app/user/read-later/ClientPage.tsx:132
← previousnext →101–200 of 544, ranked by callers