Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/KuekHaoYang/KVideo
/ functions
Functions
758 in github.com/KuekHaoYang/KVideo
⨍
Functions
758
◇
Types & classes
233
↓ 1 callers
Function
authenticateLegacyAdminCredential
(password: string)
lib/server/auth.ts:420
↓ 1 callers
Function
authenticateLogin
(body: { username?: string; password?: string })
lib/server/auth.ts:402
↓ 1 callers
Function
authenticateManagedAdminCredential
(username: string, password: string)
lib/server/auth.ts:415
↓ 1 callers
Function
autoRefresh
()
components/player/EpisodeList.tsx:158
↓ 1 callers
Function
binaryToBytes
(binary: string)
lib/server/auth-helpers.ts:51
↓ 1 callers
Function
buildChannel
(entry: Record<string, unknown>, baseUrl?: string, inheritedGroup?: string)
lib/utils/m3u-parser.ts:143
↓ 1 callers
Function
buildIPTVProxyUrl
(url: string, ua?: string, referer?: string)
lib/store/iptv-store.ts:60
↓ 1 callers
Function
buildLegacyProfileIdInput
(password: string)
lib/server/auth.ts:234
↓ 1 callers
Function
buildProxyBase
(customUa?: string | null, customReferer?: string | null)
app/api/iptv/stream/route.ts:29
↓ 1 callers
Function
buildSourceConfigMap
(rawConfigs: unknown)
app/api/probe-resolution/route.ts:40
↓ 1 callers
Function
bytesToBinary
(bytes: Uint8Array)
lib/server/auth-helpers.ts:43
↓ 1 callers
Function
calculateRelevanceScore
(item: VideoItem, query: string)
lib/utils/search.ts:31
↓ 1 callers
Function
checkIOS
()
lib/hooks/mobile/useDeviceDetection.ts:33
↓ 1 callers
Function
checkMobile
()
lib/hooks/mobile/useDeviceDetection.ts:10
↓ 1 callers
Function
checkOverflow
()
components/search/SourceBadgeList.tsx:87
↓ 1 callers
Function
checkOverflow
()
components/search/TypeBadgeList.tsx:72
↓ 1 callers
Method
cleanupExpiredEntries
()
lib/utils/cacheManager.ts:67
↓ 1 callers
Function
cleanupOldEntries
* Remove oldest entries when cache exceeds max size.
lib/utils/grouped-sources-cache.ts:58
↓ 1 callers
Method
cleanupOldEntries
()
lib/utils/cacheManager.ts:86
↓ 1 callers
Function
clearAllCache
()
lib/utils/cacheManager.ts:136
↓ 1 callers
Method
clearAllCache
()
lib/utils/cacheManager.ts:122
↓ 1 callers
Function
clearSegmentsForUrl
(url: string)
lib/utils/cacheManager.ts:135
↓ 1 callers
Function
clearSessionCookie
(response: NextResponse)
lib/server/auth.ts:327
↓ 1 callers
Method
clearVideoCache
(videoUrl: string)
lib/utils/cacheManager.ts:104
↓ 1 callers
Function
convertToVideoSource
(source: ImportSourceFormat)
lib/utils/source-import-utils.ts:31
↓ 1 callers
Function
countStreamMatches
(value: string)
lib/utils/m3u-parser.ts:87
↓ 1 callers
Function
createLoginResponse
(session: ServerAuthSession)
lib/server/auth.ts:455
↓ 1 callers
Function
createManagedAccount
(body: unknown)
lib/server/auth.ts:561
↓ 1 callers
Function
createRandomToken
(byteLength = 16)
lib/server/auth-helpers.ts:98
↓ 1 callers
Function
createSessionStatusResponse
(request: NextRequest)
lib/server/auth.ts:472
↓ 1 callers
Function
debounce
(fn: Function, delay: number)
components/AutoSync.tsx:11
↓ 1 callers
Function
decodeText
(bytes: Uint8Array)
lib/server/auth-helpers.ts:76
↓ 1 callers
Function
deleteManagedAccount
(accountId: string)
lib/server/auth.ts:641
↓ 1 callers
Function
detectResolution
()
components/player/hooks/useVideoResolution.ts:39
↓ 1 callers
Function
exportSettings
(settings: AppSettings, includeHistory: boolean = true)
lib/store/settings-helpers.ts:18
↓ 1 callers
Function
extractPlaylistReferences
(content: string, baseUrl?: string)
lib/utils/m3u-parser.ts:239
↓ 1 callers
Function
extractRoutes
(value: unknown, baseUrl?: string)
lib/utils/m3u-parser.ts:111
↓ 1 callers
Function
fetchDanmaku
()
components/player/hooks/useDanmaku.ts:67
↓ 1 callers
Function
fetchTags
()
lib/hooks/usePremiumTagManager.ts:17
↓ 1 callers
Function
fetchWithRetry
({ url, request, headers = {} }: FetchWithRetryOptions)
lib/utils/fetch-with-retry.ts:9
↓ 1 callers
Function
findBestCandidate
( current: Element, candidates: Element[], direction: Direction )
lib/hooks/useSpatialNavigation.ts:23
↓ 1 callers
Function
findCommonPrefix
* Find common prefix among an array of strings
lib/utils/m3u8-ad-detector.ts:140
↓ 1 callers
Function
formatDateLabel
(value?: string)
components/settings/AppVersionSettings.tsx:17
↓ 1 callers
Function
formatLatency
* Format latency for display * @param latency - Response time in milliseconds * @returns Formatted string in milliseconds (e.g., "345ms", "1240ms")
lib/utils/latency.ts:51
↓ 1 callers
Function
fuzzyMatchTitle
( results: DanmakuSearchResult[], title: string )
lib/utils/danmaku-utils.ts:120
↓ 1 callers
Function
generateKey
* Generate a short random key (8 chars, base36).
lib/utils/grouped-sources-cache.ts:51
↓ 1 callers
Function
getAndroidPiPSourceRect
(container: HTMLElement | null)
components/player/hooks/desktop/android-pip-utils.ts:44
↓ 1 callers
Method
getCacheStats
()
lib/utils/cacheManager.ts:47
↓ 1 callers
Function
getCopyUrl
(src: string, type: 'original' | 'proxy' = 'original')
components/player/utils/urlUtils.ts:1
↓ 1 callers
Function
getDefaultRepositoryBranch
( manifest: AppReleaseManifest = LOCAL_RELEASE_MANIFEST, )
lib/app-release.ts:74
↓ 1 callers
Function
getDefaultRepositorySlug
( manifest: AppReleaseManifest = LOCAL_RELEASE_MANIFEST, )
lib/app-release.ts:68
↓ 1 callers
Function
getFocusableElements
* Get all focusable elements within a container * 获取容器内所有可聚焦的元素
lib/accessibility/focus-management.ts:10
↓ 1 callers
Function
getIconFileCandidates
(filePath: string)
lib/server/site-icon.ts:29
↓ 1 callers
Function
getJsonChannelEntries
(data: unknown)
lib/utils/m3u-parser.ts:180
↓ 1 callers
Function
getLatencyInfo
(latency: number)
lib/utils/latency.ts:18
↓ 1 callers
Function
getManagedAccountCount
()
lib/server/auth.ts:197
↓ 1 callers
Function
getMimeType
(filePath: string)
lib/server/site-icon.ts:7
↓ 1 callers
Function
getModeSettings
(isPremium: boolean)
lib/store/premium-mode-settings.ts:134
↓ 1 callers
Function
getProxiedUrl
(url: string, ua?: string, referer?: string)
components/iptv/IPTVPlayer.tsx:41
↓ 1 callers
Function
getPublicRuntimeConfig
()
lib/server/auth.ts:206
↓ 1 callers
Function
getResolutionLabel
* Maps video resolution height to a human-readable quality label.
components/player/hooks/useVideoResolution.ts:6
↓ 1 callers
Function
getS2TConverter
()
lib/utils/chinese-convert.ts:18
↓ 1 callers
Function
getSavedProgress
()
components/player/VideoPlayer.tsx:68
↓ 1 callers
Function
getSourceConfigsForProbe
(videos: VideoToProbe[])
lib/hooks/useResolutionProbe.ts:30
↓ 1 callers
Function
getStatusMeta
(data: AppUpdateResponse | null)
components/settings/AppVersionSettings.tsx:37
↓ 1 callers
Function
getT2SConverter
()
lib/utils/chinese-convert.ts:11
↓ 1 callers
Function
handleAdd
()
components/settings/import/SubscriptionImportTab.tsx:30
↓ 1 callers
Function
handleClick
()
components/search/TypeBadgeItem.tsx:25
↓ 1 callers
Function
handleClick
()
components/search/SourceBadgeItem.tsx:27
↓ 1 callers
Function
handleDelete
(id: string)
components/settings/SourceManager.tsx:29
↓ 1 callers
Function
handleFetch
()
components/settings/import/LinkImportTab.tsx:17
↓ 1 callers
Function
handleOrientation
()
lib/hooks/mobile/useScreenOrientation.ts:11
↓ 1 callers
Function
handleRefresh
(sub: SourceSubscription)
components/settings/import/SubscriptionImportTab.tsx:54
↓ 1 callers
Function
handleSeek
(e: React.MouseEvent<HTMLDivElement>)
components/iptv/IPTVPlayer.tsx:478
↓ 1 callers
Function
handleToggle
(id: string)
components/settings/SourceManager.tsx:25
↓ 1 callers
Function
hasMinimumMatch
(title: string, query: string)
lib/utils/search.ts:12
↓ 1 callers
Function
hasStoredAppSetting
(key: keyof AppSettings)
lib/store/settings-store.ts:158
↓ 1 callers
Function
importPbkdf2Key
(password: string)
lib/server/auth-helpers.ts:84
↓ 1 callers
Function
importSettings
( jsonString: string, saveSettings: (settings: AppSettings) => void, currentSettings?: AppSettings
lib/store/settings-helpers.ts:36
↓ 1 callers
Function
init
()
components/PasswordGate.tsx:128
↓ 1 callers
Function
init
()
components/PremiumPasswordGate.tsx:18
↓ 1 callers
Function
interleaveResults
( resultsByQuery: { label: string; movies: Array<{ id: string; title: string; cover: string; rate: string; u
lib/utils/recommendation-engine.ts:162
↓ 1 callers
Function
isAdmin
()
lib/store/auth-store.ts:99
↓ 1 callers
Function
isAmbiguousContentType
(contentType: string)
app/api/iptv/stream/route.ts:73
↓ 1 callers
Function
isAuxiliaryAdMetadataLine
(trimmedLine: string, normalizedKeywords: string[])
lib/utils/m3u8-utils.ts:60
↓ 1 callers
Function
isCategoryBlocked
* Check if a video's category matches any blocked keyword.
lib/utils/search-stream.ts:9
↓ 1 callers
Function
isCloudflareDeployment
()
lib/server/runtime-features.ts:9
↓ 1 callers
Function
isFuzzyMatch
(label1: string, label2: string)
app/api/premium/types/route.ts:83
↓ 1 callers
Function
isInterstitialDateRange
(trimmedLine: string, normalizedKeywords: string[])
lib/utils/m3u8-utils.ts:50
↓ 1 callers
Function
isM3u8Content
(text: string)
app/api/iptv/stream/route.ts:82
↓ 1 callers
Function
isM3u8ContentType
(contentType: string)
app/api/iptv/stream/route.ts:65
↓ 1 callers
Function
isM3u8Url
(url: string)
app/api/iptv/stream/route.ts:60
↓ 1 callers
Function
isPermission
(value: string | undefined | null)
lib/auth/permissions.ts:62
↓ 1 callers
Function
isRole
(value: string | undefined | null)
lib/auth/permissions.ts:54
↓ 1 callers
Function
isSupportedRoute
(pathname: string | null)
components/VideoTogetherController.tsx:29
↓ 1 callers
Function
isValidSession
(value: unknown)
lib/store/auth-store.ts:29
↓ 1 callers
Function
isValidSourceConfig
(value: unknown)
app/api/probe-resolution/route.ts:27
↓ 1 callers
Function
isValidSourceFormat
(obj: unknown)
lib/utils/source-import-utils.ts:47
↓ 1 callers
Function
isVercelDeployment
()
lib/server/runtime-features.ts:5
↓ 1 callers
Function
learnMainPattern
(blocks: Block[])
lib/utils/m3u8-ad-detector.ts:177
← previous
next →
201–300 of 758, ranked by callers