MCPcopy Create free account

hub / github.com/SSShooter/ebook-to-mindmap / functions

Functions463 in github.com/SSShooter/ebook-to-mindmap

↓ 233 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 12 callersMethodgenerateKey
( filename: string, type: CacheKeyType, chapterId?: string )
src/services/cacheService.ts:43
↓ 10 callersMethoddeleteCache
( filename: string, type: CacheKeyType, chapterId?: string )
src/services/cacheService.ts:166
↓ 9 callersFunctionconfirmDelete
(target: { key?: string; group?: BookModeGroup })
src/pages/CacheManagementPage.tsx:204
↓ 8 callersMethodgenerateContentStream
( prompt: string, onUpdate: (data: { content: string; reasoning?: string }) => void, outputLanguag
src/services/aiService.ts:494
↓ 7 callersMethodsetCache
( filename: string, type: CacheKeyType, value: CacheValue, chapterId?: string )
src/services/cacheService.ts:106
↓ 6 callersFunctionfetchAvailableModels
(params?: { apiUrl?: string apiKey?: string provider?: string useCorsProxy?: boolean })
src/pages/ModelsPage.tsx:63
↓ 4 callersFunctioncreateTheme
( name: string, type: "light" | "dark", colors: { mainColor: string; mainBgcolor: string; co
src/components/ui/mindmap.tsx:144
↓ 4 callersMethodgetString
( filename: string, type: CacheKeyType, chapterId?: string )
src/services/cacheService.ts:61
↓ 4 callersFunctionuseCarousel
()
src/components/ui/carousel.tsx:35
↓ 4 callersFunctionuseFormField
()
src/components/ui/form.tsx:43
↓ 4 callersFunctionuseSidebar
()
src/components/ui/sidebar.tsx:47
↓ 3 callersMethoddeleteCacheByKey
(key: string)
src/services/cacheService.ts:371
↓ 3 callersFunctiongetCacheTypeLabel
( type: CacheKeyType, t: (key: string) => string )
src/pages/CacheManagementPage.tsx:55
↓ 3 callersMethodgetCacheValueByKey
(key: string)
src/services/cacheService.ts:366
↓ 3 callersFunctiongetDefaultModelFromStorage
()
src/stores/configStore.ts:155
↓ 3 callersFunctiongetDocumentTheme
()
src/components/ui/mindmap.tsx:22
↓ 3 callersMethodgetMindMap
( filename: string, type: CacheKeyType, chapterId?: string )
src/services/cacheService.ts:72
↓ 3 callersFunctiongetPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string )
src/components/ui/chart.tsx:306
↓ 3 callersFunctionhandleOpenDialog
(model?: AIModel, readOnly = false)
src/pages/ModelsPage.tsx:183
↓ 3 callersMethodsetSelectedChapters
( filename: string, selectedChapters: Set<string> )
src/services/cacheService.ts:117
↓ 3 callersFunctionupdateTheme
(newTheme: 'light' | 'dark')
src/contexts/ThemeContext.tsx:43
↓ 2 callersMethodcreateVoyIndex
(embeddedChunks: EmbeddedChunk[])
src/services/ragService.ts:162
↓ 2 callersMethodensureVoyLoaded
()
src/services/ragService.ts:51
↓ 2 callersMethodextractChapters
( file: File, skipNonEssentialChapters: boolean = true, maxSubChapterDepth: number = 0 )
src/services/pdfProcessor.ts:75
↓ 2 callersFunctiongetActualTheme
(theme: Theme)
src/contexts/ThemeContext.tsx:27
↓ 2 callersMethodgetAllCacheEntries
()
src/services/cacheService.ts:318
↓ 2 callersMethodgetAllKeys
()
src/services/cacheService.ts:181
↓ 2 callersFunctiongetChapterMindMapStreamPrompt
()
src/services/prompts/mindmap.ts:110
↓ 2 callersMethodgetEmbeddings
( texts: string[], apiKey: string, model: string )
src/services/ragService.ts:94
↓ 2 callersMethodgetSingleChapterContent
( book: Book, href: string )
src/services/epubProcessor.ts:290
↓ 2 callersFunctiongetTheme
(isDark: boolean, isMonochrome: boolean)
src/components/ui/mindmap.tsx:275
↓ 2 callersFunctionhandleDownload
(group: BookModeGroup)
src/pages/CacheManagementPage.tsx:246
↓ 2 callersFunctionhandleOpenDialog
(prompt?: CustomPrompt)
src/pages/CustomPromptsPage.tsx:43
↓ 2 callersFunctionhashString
* 简单的字符串哈希函数(类似MD5但更轻量)
src/services/bookProcessingService.ts:11
↓ 2 callersFunctionloadCacheData
()
src/pages/CacheManagementPage.tsx:112
↓ 2 callersMethodloadIndex
()
src/services/ragService.ts:179
↓ 2 callersFunctionopenInMindElixir
( mindmapData: MindElixirData, title: string )
src/utils/uiHelpers.ts:24
↓ 2 callersMethodparseEpub
(file: File)
src/services/epubProcessor.ts:23
↓ 2 callersMethodparseJsonResponse
(response: string, errorContext: string)
src/services/aiService.ts:471
↓ 2 callersFunctionprocessNode
(node: Node)
src/utils/htmlToMarkdown.ts:14
↓ 2 callersMethodsearch
(query: Float32Array, k: number)
src/services/ragService.ts:21
↓ 2 callersMethodsetBook
(bookId: string)
src/services/ragService.ts:59
↓ 2 callersMethodsetChapterTags
( filename: string, chapterTags: Map<string, string> )
src/services/cacheService.ts:127
↓ 2 callersFunctionuseChart
()
src/components/ui/chart.tsx:25
↓ 2 callersFunctionuseProcessingOptions
()
src/stores/configStore.ts:201
↓ 2 callersFunctionuseTheme
()
src/contexts/ThemeContext.tsx:82
↓ 1 callersMethodanalyzeConnections
( chapters: Chapter[], outputLanguage: SupportedLanguage = 'en', bookType: 'fiction' | 'non-fictio
src/services/aiService.ts:106
↓ 1 callersMethodaskQuestionStream
( query: string, contextChunks: EmbeddedChunk[], apiKey: string, // we should use a chat model
src/services/ragService.ts:245
↓ 1 callersMethodbuildIndex
( chunks: Chunk[], apiKey: string, model: string, onProgress?: (progress: number, total: numbe
src/services/ragService.ts:122
↓ 1 callersFunctionchangeLanguage
(languageCode: string)
src/components/LanguageSwitcher.tsx:22
↓ 1 callersMethodchunkText
( text: string, chapterId: string, chapterTitle: string, chunkSize = 1000, overlap = 200
src/services/ragService.ts:64
↓ 1 callersMethodclearBookCache
( fileName: string, processingMode: 'summary' | 'mindmap' | 'combined_mindmap' )
src/services/cacheService.ts:212
↓ 1 callersMethodclearChapterCache
( fileName: string, chapterId: string, type: 'summary' | 'mindmap' )
src/services/cacheService.ts:186
↓ 1 callersMethodclearIndex
()
src/services/ragService.ts:195
↓ 1 callersMethodclearSpecificCache
( fileName: string, cacheType: | 'connections' | 'overall_summary' | 'character_rela
src/services/cacheService.ts:196
↓ 1 callersFunctioncorsProxyPlugin
()
vite.config.ts:10
↓ 1 callersFunctiondownloadMindMap
( mindElixirInstance: MindElixirInstance, title: string, format: string )
src/utils/uiHelpers.ts:49
↓ 1 callersMethodextractChapters
( book: Book, skipNonEssentialChapters: boolean = true, maxSubChapterDepth: number = 0, forceU
src/services/epubProcessor.ts:51
↓ 1 callersMethodextractChaptersFromOutline
( pdf: any, outline: any[], currentDepth: number = 0, maxDepth: number = 0 )
src/services/pdfProcessor.ts:202
↓ 1 callersMethodextractChaptersFromToc
( book: Book, toc: NavItem[], currentDepth: number = 0, maxDepth: number = 0 )
src/services/epubProcessor.ts:177
↓ 1 callersMethodextractContentFromHref
( book: Book, href: string, subitems?: NavItem[] )
src/services/epubProcessor.ts:238
↓ 1 callersMethodextractTextFromPages
( pdf: PDFDocumentProxy, startPage: number, endPage: number )
src/services/pdfProcessor.ts:261
↓ 1 callersMethodextractTextFromXHTML
(xhtmlContent: string)
src/services/epubProcessor.ts:336
↓ 1 callersMethodextractTextWithRegex
(xhtmlContent: string)
src/services/epubProcessor.ts:386
↓ 1 callersFunctionfindLastNode
(node: NodeObj)
src/components/MindMapCard.tsx:67
↓ 1 callersFunctionformatDate
(timestamp: number)
src/pages/CustomPromptsPage.tsx:120
↓ 1 callersMethodgenerateChapterMindMapStream
( content: string, outputLanguage: SupportedLanguage = 'en', onStreamUpdate: (data: { plaint
src/services/aiService.ts:230
↓ 1 callersMethodgenerateCharacterRelationship
* 生成人物关系图
src/services/bookProcessingService.ts:408
↓ 1 callersMethodgenerateCombinedMindMap
* 生成整书思维导图
src/services/bookProcessingService.ts:519
↓ 1 callersMethodgenerateCombinedMindMapStream
( bookTitle: string, chapters: Chapter[], onStreamUpdate: (data: { plaintext: string m
src/services/aiService.ts:389
↓ 1 callersMethodgenerateConnections
* 生成章节关联分析
src/services/bookProcessingService.ts:285
↓ 1 callersMethodgenerateOverallSummary
* 生成全书总结
src/services/bookProcessingService.ts:342
↓ 1 callersFunctiongetBrowserLanguage
()
src/stores/configStore.ts:54
↓ 1 callersMethodgetCacheEntriesByBook
()
src/services/cacheService.ts:343
↓ 1 callersFunctiongetChapterConnectionsAnalysisPrompt
( chapterSummaries: string )
src/services/prompts/connectionAnalysis.ts:3
↓ 1 callersFunctiongetChapterMindMapPrompt
()
src/services/prompts/mindmap.ts:1
↓ 1 callersMethodgetChapterPages
( pdfDocument: any, chapter: ChapterData )
src/services/pdfProcessor.ts:447
↓ 1 callersMethodgetChapterTags
( filename: string )
src/services/cacheService.ts:92
↓ 1 callersFunctiongetCharacterRelationshipPrompt
(chapterSummaries: string)
src/services/prompts/characterRelationship.ts:3
↓ 1 callersMethodgetCurrentConfig
()
src/services/aiService.ts:54
↓ 1 callersFunctiongetCurrentLanguage
()
src/pages/SettingsPage.tsx:40
↓ 1 callersMethodgetCustomPrompt
(filename: string)
src/services/cacheService.ts:137
↓ 1 callersFunctiongetEntryMode
(type: CacheKeyType)
src/pages/CacheManagementPage.tsx:77
↓ 1 callersFunctiongetFictionChapterConnectionsAnalysisPrompt
( chapterSummaries: string )
src/services/prompts/connectionAnalysis.ts:38
↓ 1 callersFunctiongetFictionChapterSummaryPrompt
( title: string, content: string, customPrompt?: string, useCustomOnly: boolean = false )
src/services/prompts/chapterSummary.ts:3
↓ 1 callersFunctiongetFictionCharacterRelationshipPrompt
( chapterSummaries: string )
src/services/prompts/characterRelationship.ts:22
↓ 1 callersFunctiongetFictionOverallSummaryPrompt
( bookTitle: string, chapterInfo: string )
src/services/prompts/overallSummary.ts:16
↓ 1 callersFunctiongetInitialTheme
()
src/contexts/ThemeContext.tsx:21
↓ 1 callersFunctiongetLanguageInstruction
( language: 'en' | 'zh' | 'ja' | 'fr' | 'de' | 'es' | 'ru' = 'en' )
src/services/prompts/utils.ts:8
↓ 1 callersFunctiongetMermaid
()
src/components/MermaidDiagram.tsx:21
↓ 1 callersFunctiongetMindMapArrowPrompt
()
src/services/prompts/mindmap.ts:49
↓ 1 callersMethodgetModelConfig
(config: AIConfig)
src/services/aiService.ts:43
↓ 1 callersFunctiongetNonFictionChapterSummaryPrompt
( title: string, content: string, customPrompt?: string, useCustomOnly: boolean = false )
src/services/prompts/chapterSummary.ts:53
↓ 1 callersFunctiongetOverallSummaryPrompt
( bookTitle: string, chapterInfo: string )
src/services/prompts/overallSummary.ts:3
↓ 1 callersMethodgetPageContent
( pdfDocument: PDFDocumentProxy, pageNumber: number )
src/services/pdfProcessor.ts:406
↓ 1 callersMethodgetSelectedChapters
(filename: string)
src/services/cacheService.ts:85
↓ 1 callersMethodgetSingleChapterHTML
(book: Book, href: string)
src/services/epubProcessor.ts:434
↓ 1 callersFunctiongetStringSizeInKB
(str: string)
src/components/Step1Config.tsx:71
↓ 1 callersFunctiongetSystemTheme
()
src/components/ui/mindmap.tsx:30
next →1–100 of 463, ranked by callers