Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Y80/bmm
/ functions
Functions
544 in github.com/Y80/bmm
⨍
Functions
544
◇
Types & classes
68
↓ 2 callers
Function
isReachableResponse
(response: FetchResponse)
src/controllers/BookmarkHostCheck.controller.ts:177
↓ 2 callers
Function
isTimeoutError
(error: unknown)
src/controllers/AiProvider.controller.ts:183
↓ 2 callers
Function
isValidThirdPartyIconApiSrcTemplate
(srcTemplate: string)
src/components/BookmarkIconDropdown.tsx:121
↓ 2 callers
Function
markOtherPublicHostsFresh
(pendingHostKeys: Set<string>)
src/controllers/tests/bookmark-host-check.test.ts:66
↓ 2 callers
Function
mergedSetTheme
(theme: string)
src/components/ThemeToggle.tsx:22
↓ 2 callers
Function
onRemove
(item: SelectBookmark)
src/components/BookmarkListPage.tsx:253
↓ 2 callers
Function
parseCheckHostsTaskValue
(value: unknown)
src/controllers/BookmarkHostCheck.controller.ts:221
↓ 2 callers
Function
parseWithReadability
用 Readability 解析 HTML,返回文章对象或 null
src/utils/extract-article.ts:54
↓ 2 callers
Function
pbkdf2Has
(password: string, salt: string)
src/controllers/Credentials.controller.ts:8
↓ 2 callers
Function
promptPassword
(message)
scripts/reset-user-password.mjs:55
↓ 2 callers
Function
readFile
(file: File)
src/components/UploadPage/index.tsx:82
↓ 2 callers
Function
renderBookmark
(node: BookmarkNode)
src/components/UploadPage/index.tsx:273
↓ 2 callers
Function
renderDefault
(props: Props)
src/components/Favicon.tsx:46
↓ 2 callers
Function
renderLinks
(isMobile = false)
src/components/CmsSidebarNav.tsx:101
↓ 2 callers
Function
renderRelatedTags
(tagIds: number[] = [])
src/components/BookmarkListPage.tsx:239
↓ 2 callers
Function
renderTree
()
src/components/UploadPage/index.tsx:233
↓ 2 callers
Function
requestHost
(hostKey: string, method: 'HEAD' | 'GET', timeout: number, proxyUrl?: string)
src/controllers/BookmarkHostCheck.controller.ts:118
↓ 2 callers
Function
resolveOrContinue
()
src/utils/concurrence-with-limit.ts:27
↓ 2 callers
Function
run
()
src/utils/concurrence-with-limit.ts:31
↓ 2 callers
Function
saltAndHashPassword
* 为密码生成 salt 并进行哈希处理 * @param password 原始密码 * @returns 包含哈希密码和 salt 的对象
src/controllers/Credentials.controller.ts:17
↓ 2 callers
Function
saveCheckResult
(input: { hostKey: string status: BookmarkHostCheckStatus httpStatus: number | null errorMessage: stri
src/controllers/BookmarkHostCheck.controller.ts:191
↓ 2 callers
Function
setIconNames
(names: string[] = [])
src/components/IconPicker.tsx:86
↓ 2 callers
Function
showSearchInput
()
src/components/PublicAndUserNavBar/index.tsx:43
↓ 2 callers
Function
startCheckHostsTask
(input: { getRunningTask: () => Promise<CheckHostsTaskValue | null> getHostKeys: () => Promise<Array<{ hos
src/controllers/BookmarkHostCheck.controller.ts:380
↓ 2 callers
Function
stop
(iconUrl: string)
src/utils/website-icon.ts:50
↓ 2 callers
Function
stripJsonCodeFence
(text: string)
src/lib/ai/json.ts:3
↓ 2 callers
Function
toNewPath
(tagNames: string[])
src/hooks/useOnClickTag.ts:34
↓ 2 callers
Function
traverseDl
(dl: HTMLDListElement, parentCates: Category[] = [])
src/components/UploadPage/index.tsx:83
↓ 2 callers
Function
tryLoadParentGitRepoEnv
(options = {})
scripts/utils.mjs:89
↓ 2 callers
Function
upsertRelations
* 忽略当前标签关系,创建、删除标签关系 * - ids 为 undefined 时,不执行任何修改 * - ids 为 [] 时,删除所有关系
src/controllers/UserTag.controller.ts:22
↓ 2 callers
Function
useIsMobile
()
src/hooks/useIsMobile.ts:3
↓ 2 callers
Function
usePublicContext
()
src/app/(public)/ctx.tsx:15
↓ 2 callers
Function
validateAll
()
src/components/BookmarkSlugPage.tsx:99
↓ 2 callers
Function
validateTagName
(name?: string | null)
src/controllers/PublicTag.controller.ts:38
↓ 2 callers
Function
waitForPublicCheckHostsTaskFinished
()
src/controllers/tests/bookmark-host-check.test.ts:56
↓ 2 callers
Function
withBookmarkHostCheckSummaries
( list: T[] )
src/controllers/BookmarkHostCheck.controller.ts:88
↓ 1 callers
Function
absolutifyUrls
将相对 URL 转为绝对 URL
src/utils/extract-article.ts:25
↓ 1 callers
Function
analyzeReadLaterArticle
(html: string, url: string)
src/lib/ai/index.ts:50
↓ 1 callers
Function
analyzeWebsite
(inputUrl: string, tags: string[] = [])
src/lib/ai/index.ts:20
↓ 1 callers
Function
concurrenceWithLimit
(options: ConcurrenceWithLimitOptions)
src/utils/concurrence-with-limit.ts:21
↓ 1 callers
Function
createAnalyzeReadLaterArticlePrompt
(payload: ReadLaterArticlePayload)
src/lib/ai/prompts.ts:104
↓ 1 callers
Function
createAnalyzeRelatedTagsPrompt
(payload: { targetTag: string; tags: string[] })
src/lib/ai/prompts.ts:54
↓ 1 callers
Function
createAnalyzeWebsitePrompt
(payload: WebsiteAnalysisPayload)
src/lib/ai/prompts.ts:9
↓ 1 callers
Function
createCopiedProviderName
(name: string, providers: AiProviderConfig[])
src/controllers/AiProvider.controller.ts:154
↓ 1 callers
Function
createFallbackArticle
(url: string)
src/utils/extract-article.ts:6
↓ 1 callers
Function
createFetchInit
(config: FetchRequestConfig)
src/utils/http.ts:32
↓ 1 callers
Function
createHttpErrorMessage
(status: number)
src/controllers/BookmarkHostCheck.controller.ts:181
↓ 1 callers
Function
createImageProbe
* 使用 Image 的 load/error 事件判断图标地址是否可用
src/utils/website-icon.ts:76
↓ 1 callers
Function
createNetworkErrorMessage
(error: unknown)
src/controllers/BookmarkHostCheck.controller.ts:185
↓ 1 callers
Function
createOpts
()
src/db/postgres/drivers/postgres.ts:15
↓ 1 callers
Function
createProviderId
()
src/app/admin/ai-provider/page.tsx:71
↓ 1 callers
Function
createReadLaterArticlePayload
(params: { html: string; url: string })
src/lib/ai/payload.ts:50
↓ 1 callers
Function
createUrl
(host = faker.internet.domainName())
src/controllers/tests/bookmark-host-check.test.ts:33
↓ 1 callers
Function
createUserFilterByKeyword
(table: typeof schema.users, kw: string)
src/controllers/common.ts:25
↓ 1 callers
Function
createWebsiteAnalysisPayload
(params: { html: string; url: string; tags: string[] })
src/lib/ai/payload.ts:33
↓ 1 callers
Function
decodeHtml
解码优先级: HTTP header charset → UTF-8 BOM → <meta> charset → GB 特征检测 → UTF-8
src/utils/fetch-html.ts:47
↓ 1 callers
Function
deleteProvider
(provider: EditableProvider)
src/app/admin/ai-provider/page.tsx:185
↓ 1 callers
Function
detectGbEncoding
通过字节特征检测 GB 系列编码:高字节 0xB0-0xF7 + 低字节 0xA1-0xFE
src/utils/fetch-html.ts:99
↓ 1 callers
Function
duplicateProvider
(provider: EditableProvider)
src/app/admin/ai-provider/page.tsx:192
↓ 1 callers
Function
ensureInteractiveTerminal
()
scripts/reset-user-password.mjs:38
↓ 1 callers
Function
estimateReadingMinutes
(text: string)
src/utils/extract-article.ts:18
↓ 1 callers
Function
execute
()
scripts/utils.mjs:9
↓ 1 callers
Function
executeCheckHostsTask
(input: { hostKeys: string[] initialTask: CheckHostsTaskValue saveTask: SaveCheckHostsTask })
src/controllers/BookmarkHostCheck.controller.ts:343
↓ 1 callers
Function
fetchHtmlRequest
(config: FetchRequestConfig)
src/utils/http.ts:58
↓ 1 callers
Function
fetchRequest
(config: FetchRequestConfig)
src/utils/http.ts:53
↓ 1 callers
Function
filterPendingHostKeys
(hostKeys: Array<string | null | undefined>)
src/controllers/BookmarkHostCheck.controller.ts:306
↓ 1 callers
Function
findArticleContentInNextData
从 __NEXT_DATA__ JSON 中递归寻找最长的文章 HTML 字符串和标题 * * Next.js 会在 HTML 中注入 <script id="__NEXT_DATA__">,包含服务端获取的全部 props 数据。 * 对于 CSR 页面(如 mdnice),正文内容不在 D
src/utils/extract-article.ts:65
↓ 1 callers
Function
finish
(result: boolean, resolve: (value: boolean) => void)
src/utils/website-icon.ts:93
↓ 1 callers
Function
formatCheckedAt
(checkedAt: Date | null)
src/components/BookmarkListPage.tsx:357
↓ 1 callers
Function
formatDate
(date: Date | null | undefined)
src/app/admin/user/list/page.tsx:43
↓ 1 callers
Function
formatDate
(date)
scripts/list-users.mjs:6
↓ 1 callers
Function
formatFromNow
(date: Date | string | null)
src/app/user/read-later/ClientPage.tsx:52
↓ 1 callers
Function
formatRecentUpdatedAt
(date?: Date | null)
src/components/HomeBody/components/Banner.tsx:37
↓ 1 callers
Function
formatTaskFinishedAt
(finishedAt: string | null | undefined)
src/components/BookmarkListPage.tsx:367
↓ 1 callers
Function
generateLinkTitle
()
src/components/HomeBody/components/BookmarkCard.tsx:20
↓ 1 callers
Function
getActiveProvider
(config: EditableConfig)
src/app/admin/ai-provider/page.tsx:95
↓ 1 callers
Function
getAdminPageTitleIcon
(pathname: string, title: string)
src/components/AdminPageTitle.tsx:13
↓ 1 callers
Function
getAll
()
src/controllers/PublicTag.controller.ts:46
↓ 1 callers
Function
getApiKeyFromInputOrStored
( config: AiProvidersConfig, input: z.output<typeof listAiProviderModelsSchema> )
src/controllers/AiProvider.controller.ts:198
↓ 1 callers
Function
getCachedPageSize
(pathname: string)
src/components/TagListPage.tsx:41
↓ 1 callers
Function
getCachedPageSize
(pathname: string)
src/components/BookmarkListPage.tsx:95
↓ 1 callers
Function
getChatCompletionsUrl
(baseUrl: string)
src/controllers/AiProvider.controller.ts:165
↓ 1 callers
Function
getCheckHostsTaskTooltip
()
src/components/BookmarkListPage.tsx:379
↓ 1 callers
Function
getConfig
()
src/controllers/SiteSetting.controller.ts:15
↓ 1 callers
Function
getDefaultFavicon
(url: string)
src/components/UploadPage/components/UploadList.tsx:38
↓ 1 callers
Function
getErrorCode
(error: unknown)
src/utils/http.ts:92
↓ 1 callers
Function
getErrorMsg
(error: unknown)
src/actions/make-action.ts:76
↓ 1 callers
Function
getFaviconUrl
(host: string)
src/app/user/read-later/ClientPage.tsx:65
↓ 1 callers
Method
getMessage
(err: any)
src/lib/SqlXError.ts:52
↓ 1 callers
Function
getModelsUrl
(baseUrl: string)
src/controllers/AiProvider.controller.ts:174
↓ 1 callers
Function
getRelatedTagsName
(tagsId?: TagId[])
src/components/TagListPage.tsx:132
↓ 1 callers
Function
getResponseHeader
(response: FetchResponse, name: string)
src/controllers/BookmarkHostCheck.controller.ts:147
↓ 1 callers
Function
getSelectionKey
(selection: unknown)
src/components/ui/PaginationControls.tsx:5
↓ 1 callers
Function
getTestProvider
(config: AiProvidersConfig, id: string)
src/controllers/AiProvider.controller.ts:187
↓ 1 callers
Function
getUserBookmarkHostKeys
(userId: UserId)
src/controllers/BookmarkHostCheck.controller.ts:299
↓ 1 callers
Function
getUserCheckHostsTask
(userId: UserId)
src/controllers/BookmarkHostCheck.controller.ts:249
↓ 1 callers
Function
handleChangeIsMain
(v: boolean, tag: SelectTag)
src/components/TagListPage.tsx:140
↓ 1 callers
Function
handleClose
()
src/components/MyModal/open.tsx:10
↓ 1 callers
Function
handleCreate
()
src/app/user/read-later/ClientPage.tsx:95
↓ 1 callers
Function
handleDelete
(item: ReadLaterItem)
src/app/user/read-later/ClientPage.tsx:132
← previous
next →
101–200 of 544, ranked by callers