MCPcopy Create free account

hub / github.com/JaleelB/readium-x / functions

Functions296 in github.com/JaleelB/readium-x

↓ 138 callersFunctioncn
(...inputs: ClassValue[])
lib/utils.ts:6
↓ 9 callersFunctionrateLimitByIp
({ key = "global", limit = 1, window = 10000, }: { key: string; limit: number; window: number; })
lib/limiter.ts:26
↓ 7 callersFunctiongetArticleCacheKey
(url: string)
lib/article-cache.ts:42
↓ 6 callersFunctionCustomHeading
(level: number)
lib/tiptap-extensions.ts:4
↓ 6 callersFunctionfetchFromLocalStorage
(mainKey: string)
lib/utils.ts:45
↓ 6 callersFunctionisNullableString
(value: unknown)
lib/article-cache.ts:60
↓ 6 callersFunctionuseLocalStorage
( key: string, initialValue: T, )
hooks/use-local-storage.ts:3
↓ 5 callersFunctionsetLocalStorageItem
(key: string, value: string)
lib/utils.ts:39
↓ 4 callersFunctiondecrypt
(text: string)
lib/encryption.ts:27
↓ 4 callersMethodextractArticleMetadata
( html: string, type: UrlType, )
lib/parser.ts:456
↓ 4 callersFunctiongetCachedArticle
(url: string)
lib/article-cache.ts:97
↓ 4 callersFunctiongetProfile
(userId: UserId)
data-access/profiles.ts:33
↓ 4 callersFunctiongetUser
(userId: UserId)
data-access/users.ts:10
↓ 4 callersFunctionscrapeArticleContent
( url: string, )
lib/article-content.ts:26
↓ 4 callersFunctionuseFormField
()
components/ui/form.tsx:44
↓ 3 callersFunctiondeleteBookmark
(userId: UserId, bookmarkId: number)
data-access/bookmarks.ts:62
↓ 3 callersFunctiondispatchTTSSettingsChanged
(settings: TTSSettings)
app/account/settings/text-to-speech/page.tsx:61
↓ 3 callersFunctiongenerateRandomName
()
lib/names.ts:3
↓ 3 callersFunctiongetArticleProgressFromLocalStorage
()
hooks/use-reading-progress-sync.ts:23
↓ 3 callersFunctiongetBookmarksUseCase
(userId: UserId)
use-cases/bookmarks.ts:21
↓ 3 callersMethodgetVoices
()
lib/tts.ts:78
↓ 3 callersMethodloadVoices
()
lib/tts.ts:55
↓ 3 callersFunctionmockKv
()
lib/article-cache.test.ts:33
↓ 3 callersFunctionnormalizeArticleUrl
(url: string)
lib/article-cache.ts:23
↓ 3 callersFunctionuseAuth
()
hooks/use-auth.tsx:3
↓ 3 callersFunctionuseEditor
()
stores/article-store.ts:73
↓ 3 callersFunctionvalidateMediumArticle
(url: string)
app/article/actions/url.ts:82
↓ 2 callersFunctioncalculateReadTime
(text: string[] | string | undefined)
lib/utils.ts:14
↓ 2 callersFunctioncreateBookark
( userId: UserId, articleDetails: z.infer<typeof articleSchema>, )
data-access/bookmarks.ts:8
↓ 2 callersFunctioncreateProfile
( userId: UserId, displayName: string, image?: string, )
data-access/profiles.ts:6
↓ 2 callersFunctiondeleteUser
(userId: UserId)
data-access/users.ts:6
↓ 2 callersMethodextractTextContent
(html: string)
lib/parser.ts:170
↓ 2 callersFunctionfetchJson
(url: string)
hooks/use-bookmarks-query.ts:12
↓ 2 callersFunctionformatDate
(dateStr: string | null)
lib/utils.ts:72
↓ 2 callersFunctiongetArticleCacheNamespace
()
lib/article-cache.ts:48
↓ 2 callersFunctiongetBookmarkById
(userId: UserId, bookmarkId: number)
data-access/bookmarks.ts:54
↓ 2 callersFunctiongetReadingHistoryById
( readingHistoryId: number, userId: UserId, )
data-access/article.ts:52
↓ 2 callersFunctiongetReadingHistoryUseCase
(userId: UserId)
use-cases/article.ts:25
↓ 2 callersFunctiongetUserProfileUseCase
(userId: UserId)
use-cases/users.tsx:17
↓ 2 callersFunctionhasPaywallIndicators
(html: string)
lib/parser.ts:43
↓ 2 callersMethodpause
()
lib/tts.ts:116
↓ 2 callersFunctionpreserveScrollPosition
(callback: () => void)
components/article-toolbar-options.tsx:252
↓ 2 callersMethodprocessArticleContent
(html: string)
lib/parser.ts:391
↓ 2 callersFunctionsetCachedArticle
(url: string, article: ArticleDetails)
lib/article-cache.ts:113
↓ 2 callersFunctiontoggleSelection
(id: number)
app/history/history-list.tsx:69
↓ 2 callersFunctionupdateProfile
( userId: UserId, updateProfile: Partial<Profile>, )
data-access/profiles.ts:23
↓ 2 callersFunctionupsertUser
(user: Pick<User, "id"> & Partial<User>)
data-access/users.ts:22
↓ 2 callersFunctionuseIsEditable
()
stores/article-store.ts:66
↓ 2 callersFunctionuseTTS
()
hooks/use-tts.tsx:8
↓ 2 callersFunctionuseZoom
()
stores/article-store.ts:44
↓ 1 callersFunctionabsoluteUrl
(path: string)
lib/utils.ts:10
↓ 1 callersFunctionassertAuthenticated
()
lib/session.ts:46
↓ 1 callersFunctioncacheArticleInSession
(url: string, article: ArticleDetails)
lib/article-session-cache.ts:35
↓ 1 callersFunctionconcatArrayBuffers
(arrays: ArrayBuffer[])
lib/utils.ts:102
↓ 1 callersFunctioncreateReadingHistoryLog
( userId: UserId, articleDetails: z.infer<typeof readingHistorySchema>, )
data-access/article.ts:8
↓ 1 callersFunctioncreateReadingHistoryLogUseCase
( userId: UserId, articleDetails: z.infer<typeof readingHistorySchema>, )
use-cases/article.ts:13
↓ 1 callersFunctiondeleteAllReadingHistory
(userId: UserId)
data-access/article.ts:110
↓ 1 callersFunctiondeleteAllReadingHistoryUseCase
(userId: UserId)
use-cases/article.ts:73
↓ 1 callersFunctiondeleteReadingHistoryById
( readingHistoryId: number, userId: UserId, )
data-access/article.ts:98
↓ 1 callersFunctiondeleteReadingHistoryByIdUseCase
( readingHistoryId: number, userId: UserId, )
use-cases/article.ts:66
↓ 1 callersFunctiondeleteUserUseCase
( authenticatedUser: UserSession, userToDeleteId: UserId, )
use-cases/users.tsx:6
↓ 1 callersFunctionencrypt
(text: string)
lib/encryption.ts:7
↓ 1 callersFunctionextractFirstSentence
(htmlContent: string)
app/bookmarks/components/bookmark-list.tsx:47
↓ 1 callersFunctionfetchJson
(url: string)
hooks/use-history-query.ts:12
↓ 1 callersFunctionfetchProgress
(readingHistoryId: number)
hooks/use-reading-progress-sync.ts:13
↓ 1 callersFunctionforceReflow
(element: HTMLElement)
app/article/article-viewer.tsx:55
↓ 1 callersFunctiongetArticleCache
()
lib/article-session-cache.ts:15
↓ 1 callersFunctiongetBookmarkByIdUseCase
( userId: UserId, bookmarkId: number, )
use-cases/bookmarks.ts:27
↓ 1 callersFunctiongetBookmarks
(userId: UserId)
data-access/bookmarks.ts:45
↓ 1 callersFunctiongetDisplayName
(user: Awaited<ReturnType<typeof currentUser>>)
lib/session.ts:10
↓ 1 callersFunctiongetDisplayName
(data: any)
app/api/webhooks/clerk/route.ts:19
↓ 1 callersMethodgetGroupedVoices
()
lib/tts.ts:85
↓ 1 callersFunctiongetIp
()
lib/get-ip.ts:3
↓ 1 callersFunctiongetLanguageGroupForVoice
(voice: SpeechSynthesisVoice)
lib/tts.ts:17
↓ 1 callersFunctiongetPrimaryEmail
(data: any)
app/api/webhooks/clerk/route.ts:7
↓ 1 callersFunctiongetReadingHistory
(userId: UserId)
data-access/article.ts:43
↓ 1 callersFunctiongetReadingHistoryProgressUseCase
( readingHistoryId: number, userId: UserId, )
use-cases/article.ts:31
↓ 1 callersFunctiongetUrlWithoutPaywall
( url: string | URL, )
app/article/actions/url.ts:36
↓ 1 callersFunctiongroupVoicesByLanguage
( voices: SpeechSynthesisVoice[], )
lib/tts.ts:27
↓ 1 callersFunctionhandleLanguageSelect
(language: string)
components/article-toolbar-options.tsx:85
↓ 1 callersFunctionheaders
()
next.config.mjs:5
↓ 1 callersFunctionisArticleDetails
(value: unknown)
lib/article-cache.ts:64
↓ 1 callersFunctionisCachedArticlePayload
(value: unknown)
lib/article-cache.ts:85
↓ 1 callersFunctionisMediumArticleFree
( url: string, )
app/article/actions/url.ts:121
↓ 1 callersFunctionliteralTemplate
( strings: TemplateStringsArray, ...values: any[] )
app/article/article-viewer.tsx:44
↓ 1 callersFunctionloadSettings
()
app/account/settings/text-to-speech/page.tsx:95
↓ 1 callersFunctionloadVoices
()
hooks/use-tts.tsx:32
↓ 1 callersFunctionmapBookmarkToArticle
(bookmark: unknown)
app/article/article-wrapper.tsx:13
↓ 1 callersFunctionnormalizeArticleUrl
(url: string)
lib/article-session-cache.ts:5
↓ 1 callersMethodprocessElement
(element: CheerioAny)
lib/parser.ts:174
↓ 1 callersFunctionrateLimitByKey
({ key = "global", limit = 1, window = 10000, }: { key: string; limit: number; window: number; })
lib/limiter.ts:48
↓ 1 callersFunctionrenderOpenAIButtonContent
()
components/tts-button.tsx:167
↓ 1 callersFunctionresolveArchiveUrl
( articleUrl: string, )
app/article/actions/url.ts:14
↓ 1 callersMethodresume
()
lib/tts.ts:122
↓ 1 callersFunctionscrapeArticleContent
(url: string)
app/article/actions/article.ts:10
↓ 1 callersFunctionsha256Hex
(value: string)
lib/article-cache.ts:34
↓ 1 callersMethodspeak
( text: string, voice: SpeechSynthesisVoice, rate: number = 1, pitch: number = 1, )
lib/tts.ts:94
↓ 1 callersFunctionsplitTextIntoChunks
(text: string, maxLength: number)
app/account/settings/tokens/actions.ts:104
↓ 1 callersMethodstripHTML
(html: string)
lib/parser.ts:102
↓ 1 callersFunctiontoggleManaging
()
app/history/history-list.tsx:68
next →1–100 of 296, ranked by callers