MCPcopy Create free account

hub / github.com/YYsuni/2025-blog-public / functions

Functions405 in github.com/YYsuni/2025-blog-public

↓ 35 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 25 callersFunctioncreateBlob
( token: string, owner: string, repo: string, content: string, encoding: 'utf-8' | 'base64' = 'base64' )
src/lib/github-client.ts:231
↓ 16 callersFunctiontoBase64Utf8
(input: string)
src/lib/github-client.ts:22
↓ 11 callersFunctioncreateCommit
(token: string, owner: string, repo: string, message: string, tree: string, parents: string[])
src/lib/github-client.ts:142
↓ 11 callersFunctioncreateTree
(token: string, owner: string, repo: string, tree: TreeItem[], baseTree?: string)
src/lib/github-client.ts:124
↓ 11 callersFunctiongetAuthToken
()
src/lib/auth.ts:83
↓ 11 callersFunctiongetRef
(token: string, owner: string, repo: string, ref: string)
src/lib/github-client.ts:101
↓ 11 callersFunctionhandle401Error
()
src/lib/github-client.ts:9
↓ 11 callersFunctionhandle422Error
()
src/lib/github-client.ts:18
↓ 11 callersFunctionhashFileSHA256
(file: File)
src/lib/file-utils.ts:24
↓ 11 callersFunctionupdateRef
(token: string, owner: string, repo: string, ref: string, sha: string, force = false)
src/lib/github-client.ts:160
↓ 10 callersFunctionfileToBase64NoPrefix
(file: File)
src/lib/file-utils.ts:12
↓ 9 callersFunctioninsertText
(text: string)
src/app/write/components/editor.tsx:12
↓ 8 callersFunctionclamp
(value: number, min: number, max: number)
src/lib/color.ts:202
↓ 8 callersFunctionisEmpty
(value: any)
src/lib/log.ts:2
↓ 7 callersFunctionhandleFieldChange
(field: keyof Project, value: any)
src/app/projects/components/project-card.tsx:35
↓ 7 callersFunctionhandleThemeColorChange
(key: keyof typeof DEFAULT_THEME_COLORS, value: string)
src/app/(home)/config-dialog/color-config.tsx:77
↓ 7 callersFunctionhandleUpdateButton
(id: string, updates: Partial<SocialButtonConfig>)
src/app/(home)/config-dialog/site-settings/social-buttons-section.tsx:61
↓ 7 callersFunctionrand
(a: number, b: number)
src/layout/backgrounds/utils.ts:63
↓ 6 callersFunctionescapeXml
(value: string)
src/app/rss.xml/route.ts:16
↓ 5 callersFunctionformatDateTimeLocal
(date: Date = new Date())
src/app/write/stores/write-store.ts:7
↓ 5 callersFunctiongetFileExt
(filename: string)
src/lib/utils.ts:24
↓ 5 callersFunctionhandleFieldChange
(field: keyof Blogger, value: any)
src/app/bloggers/components/blogger-card.tsx:27
↓ 5 callersFunctionhandleFieldChange
(field: keyof Share, value: any)
src/app/share/components/share-card.tsx:35
↓ 4 callersFunctionformatBytes
(bytes: number)
src/app/image-toolbox/page.tsx:39
↓ 4 callersFunctionpad
(n: number)
src/app/write/stores/write-store.ts:8
↓ 4 callersFunctionprettyPrint
(title: string, text: string, color: string)
src/lib/log.ts:5
↓ 4 callersFunctionreadTextFileFromRepo
(token: string, owner: string, repo: string, path: string, ref: string)
src/lib/github-client.ts:176
↓ 4 callersFunctiontoFixed
(value: number, decimals: number = 2)
src/lib/color.ts:207
↓ 3 callersFunctiondraw
()
src/layout/backgrounds/blurred-bubbles.tsx:238
↓ 3 callersFunctiongrad2
(hash: number, x: number, y: number)
src/layout/backgrounds/utils.ts:6
↓ 3 callersFunctionhandleSave
()
src/app/bloggers/page.tsx:79
↓ 3 callersFunctionhue2rgb
(p: number, q: number, t: number)
src/lib/color.ts:113
↓ 3 callersFunctionlistRepoFilesRecursive
(token: string, owner: string, repo: string, path: string, ref: string)
src/lib/github-client.ts:197
↓ 3 callersFunctionrandomChannel
()
src/app/(home)/config-dialog/color-config.tsx:104
↓ 3 callersFunctionupdateThemeVariables
(theme?: SiteContent['theme'])
src/app/(home)/config-dialog/index.tsx:186
↓ 2 callersFunctionallocateGrid
()
src/layout/backgrounds/blurred-bubbles.tsx:78
↓ 2 callersFunctionensureDirExists
(dir)
scripts/gen-svgs-index.js:22
↓ 2 callersFunctionfileToWebp
(file: File, quality: number, maxWidth?: number)
src/app/image-toolbox/page.tsx:45
↓ 2 callersFunctiongenerateRandomColor
()
src/app/(home)/config-dialog/color-config.tsx:103
↓ 2 callersFunctiongetPemFromCache
()
src/lib/auth.ts:37
↓ 2 callersFunctiongetTokenFromCache
()
src/lib/auth.ts:10
↓ 2 callersFunctionhandleMoveButton
(id: string, direction: 'up' | 'down')
src/app/(home)/config-dialog/site-settings/social-buttons-section.tsx:75
↓ 2 callersFunctionhandleRemoveImage
(buttonId: string)
src/app/(home)/config-dialog/site-settings/social-buttons-section.tsx:124
↓ 2 callersFunctionhandleSave
()
src/app/snippets/page.tsx:44
↓ 2 callersFunctionhandleSave
()
src/app/(home)/config-dialog/index.tsx:101
↓ 2 callersFunctionhandleSave
()
src/app/projects/page.tsx:78
↓ 2 callersFunctionhandleSave
()
src/app/share/page.tsx:86
↓ 2 callersFunctionhandleSave
()
src/app/about/page.tsx:51
↓ 2 callersFunctionhandleSave
()
src/app/pictures/page.tsx:177
↓ 2 callersFunctionhexToHsva
(hex: string)
src/lib/color.ts:167
↓ 2 callersFunctionhsvToHsl
(h: number, s: number, v: number)
src/lib/color.ts:151
↓ 2 callersFunctionloadBlog
(slug: string)
src/lib/load-blog.ts:16
↓ 2 callersFunctionreadFileAsText
(file: File)
src/lib/file-utils.ts:3
↓ 2 callersFunctionremoveBlogsFromIndex
(token: string, owner: string, repo: string, slugs: string[], branch: string)
src/lib/blog-index.ts:40
↓ 2 callersFunctionrenderMath
(content: string, displayMode: boolean)
src/lib/markdown-renderer.ts:107
↓ 2 callersFunctionslugify
(text: string)
src/lib/markdown-renderer.ts:11
↓ 2 callersFunctionupdatePosition
()
src/components/select.tsx:49
↓ 2 callersFunctionupdateProgress
()
src/components/music-card.tsx:60
↓ 2 callersFunctionuseBlogIndex
()
src/hooks/use-blog-index.ts:19
↓ 2 callersFunctionuseCategories
()
src/hooks/use-categories.ts:24
↓ 2 callersFunctionuseCenterInit
()
src/hooks/use-center.ts:47
↓ 2 callersFunctionuseMarkdownRender
(markdown: string)
src/hooks/use-markdown-render.tsx:13
↓ 1 callersFunctionbuildEnclosure
(cover?: string)
src/app/rss.xml/route.ts:38
↓ 1 callersFunctionbuildPitySegments
按数组顺序累计;遇到 5 星则结束当前段并新开计数。未完成段无 name。
src/app/wuthering-waves/page.tsx:48
↓ 1 callersFunctionbuildUrlList
(pictures: Picture[])
src/app/pictures/components/random-layout.tsx:52
↓ 1 callersFunctionclearAllAuthCache
()
src/lib/auth.ts:69
↓ 1 callersFunctionclearPemCache
()
src/lib/auth.ts:60
↓ 1 callersFunctionclearTokenCache
()
src/lib/auth.ts:28
↓ 1 callersFunctioncomputeCenter
()
src/hooks/use-center.ts:17
↓ 1 callersFunctioncomputeSize
()
src/hooks/use-size.ts:25
↓ 1 callersFunctioncreateInstallationToken
(jwt: string, installationId: number)
src/lib/github-client.ts:49
↓ 1 callersFunctiondecrypt
(cipherText:string, key:string)
src/lib/aes256-util.ts:31
↓ 1 callersFunctiondeleteBlog
(slug: string)
src/app/write/services/delete-blog.ts:7
↓ 1 callersFunctionencrypt
(text:string, key:string)
src/lib/aes256-util.ts:1
↓ 1 callersFunctionextractHeadings
(tokenList: typeof tokens)
src/lib/markdown-renderer.ts:187
↓ 1 callersFunctionfetchPath
(targetPath: string)
src/lib/github-client.ts:198
↓ 1 callersFunctionformatFileName
(name: string)
src/app/image-toolbox/page.tsx:29
↓ 1 callersFunctionformatTime
(ms: number)
src/app/clock/page.tsx:119
↓ 1 callersFunctionformatUploadedAt
(uploadedAt?: string)
src/app/pictures/components/random-layout.tsx:87
↓ 1 callersFunctiongenerateSnowflakes
()
src/layout/backgrounds/snowfall.tsx:23
↓ 1 callersFunctiongetExtension
(input: string)
src/app/rss.xml/route.ts:21
↓ 1 callersFunctiongetFileExtension
(name: string)
src/app/image-toolbox/page.tsx:24
↓ 1 callersFunctiongetFileSha
(token: string, owner: string, repo: string, path: string, branch: string)
src/lib/github-client.ts:65
↓ 1 callersFunctiongetGreeting
()
src/app/(home)/hi-card.tsx:7
↓ 1 callersFunctiongetInstallationId
(jwt: string, owner: string, repo: string)
src/lib/github-client.ts:34
↓ 1 callersFunctiongetMimeTypeFromUrl
(url?: string)
src/app/rss.xml/route.ts:26
↓ 1 callersFunctiongetRandomSnippet
(list: string[])
src/app/snippets/page.tsx:13
↓ 1 callersFunctiongetStablePosition
(uniqueId: string, width: number, height: number)
src/app/pictures/components/random-layout.tsx:347
↓ 1 callersFunctionhandleAddTag
()
src/app/write/components/ui/tag-input.tsx:11
↓ 1 callersFunctionhandleArtUrlSubmit
()
src/app/(home)/config-dialog/site-settings/art-images-section.tsx:57
↓ 1 callersFunctionhandleBackgroundUrlSubmit
()
src/app/(home)/config-dialog/site-settings/background-images-section.tsx:55
↓ 1 callersFunctionhandleChoosePrivateKey
(file: File)
src/app/snippets/page.tsx:72
↓ 1 callersFunctionhandleChoosePrivateKey
(file: File)
src/app/bloggers/page.tsx:59
↓ 1 callersFunctionhandleChoosePrivateKey
(file: File)
src/app/(home)/config-dialog/index.tsx:82
↓ 1 callersFunctionhandleChoosePrivateKey
(file: File)
src/app/projects/page.tsx:59
↓ 1 callersFunctionhandleChoosePrivateKey
(file: File)
src/app/share/page.tsx:66
↓ 1 callersFunctionhandleChoosePrivateKey
(file: File)
src/app/about/page.tsx:27
↓ 1 callersFunctionhandleChoosePrivateKey
(file: File)
src/app/pictures/page.tsx:158
↓ 1 callersFunctionhandleClick
(index: number)
src/components/editable-star-rating.tsx:12
next →1–100 of 405, ranked by callers