MCPcopy Create free account

hub / github.com/link2004/pdf2md / functions

Functions47 in github.com/link2004/pdf2md

↓ 4 callersFunctionisValidLanguage
(lang: string)
app/lib/i18n.ts:939
↓ 3 callersFunctiongetBucketName
* Get S3 bucket name from environment
app/action/s3.ts:38
↓ 3 callersFunctiongetS3Client
* Get S3 client instance
app/action/s3.ts:15
↓ 2 callersFunctiondownloadAsZip
( ocrResult: OCRResponse, fileName: string = "ocr-export", markdownOnly: boolean = false )
app/action/downloadHelper.ts:15
↓ 2 callersFunctiongetMistralClient
* Get Mistral client instance
app/action/mistral.ts:10
↓ 2 callersFunctiongetPreferredLanguage
(request: NextRequest)
middleware.ts:64
↓ 2 callersFunctionhandleProcess
(selectedFile?: File)
app/[lang]/page.tsx:132
↓ 2 callersFunctionisValidFileSize
(file: File)
app/[lang]/page.tsx:58
↓ 2 callersFunctionisValidFileType
(file: File)
app/[lang]/page.tsx:53
↓ 1 callersFunctioncopyToClipboard
(text: string, pageIndex?: number | null)
app/components/OcrResultView.tsx:26
↓ 1 callersFunctioncopyToClipboard
(text: string, pageIndex?: number | null)
app/[lang]/page.tsx:212
↓ 1 callersFunctiondeleteFileFromS3
( key: string )
app/action/s3.ts:124
↓ 1 callersFunctionfileToBase64
(file: File)
app/[lang]/page.tsx:118
↓ 1 callersFunctionformatTranslation
( template: string, params: Record<string, string | number> )
app/lib/i18n.ts:960
↓ 1 callersFunctiongenerateMetadataForLanguage
(lang: Language)
app/lib/metadata.ts:524
↓ 1 callersFunctiongenerateStructuredDataForLanguage
(lang: Language)
app/lib/metadata.ts:599
↓ 1 callersFunctiongetExtensionFromMimeType
* Get appropriate file extension from MIME type
app/action/downloadHelper.ts:111
↓ 1 callersFunctiongetFileType
(file: File)
app/[lang]/page.tsx:64
↓ 1 callersFunctiongetImageFormat
(base64String: string)
app/components/OcrResultView.tsx:287
↓ 1 callersFunctiongetLanguageCode
(lang: Language)
app/lib/metadata.ts:646
↓ 1 callersFunctiongetS3SignedUrl
( key: string, expiresIn: number = 3600 )
app/action/s3.ts:94
↓ 1 callersFunctiongetTranslations
(lang: Language)
app/lib/i18n.ts:926
↓ 1 callersFunctionprocessImageWithMistral
( imageData: string, mimeType: string, includeImageBase64: boolean = true )
app/action/mistral.ts:83
↓ 1 callersFunctionprocessPdfWithMistral
( fileData: string, fileName: string, includeImageBase64: boolean = true )
app/action/mistral.ts:25
↓ 1 callersFunctionuploadFileToS3
( fileData: string, fileName: string, contentType: string = "application/pdf" )
app/action/s3.ts:53
FunctionFileUploader
()
app/[lang]/page.tsx:22
FunctionFooter
({ translations }: FooterProps)
app/components/Footer.tsx:7
FunctionHeader
({ isInitialUpload = false, onReset, translations, activeTab, onTabChange, ocrResult, onCopyAll,
app/components/Header.tsx:22
FunctionLangLayout
({ children, params }: Props)
app/[lang]/layout.tsx:43
FunctionOcrResultView
({ ocrResult, analyzing, translations }: OcrResultViewProps)
app/components/OcrResultView.tsx:20
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
app/layout.tsx:8
FunctionRootPage
()
app/page.tsx:4
FunctionUploadResult
({ uploadResult, analyzing, onAnalyze, translations, }: UploadResultProps)
app/components/UploadResult.tsx:18
FunctioncopyAllMarkdown
()
app/[lang]/page.tsx:229
FunctiongenerateMetadata
({ params }: Props)
app/[lang]/layout.tsx:37
FunctiongenerateStaticParams
()
app/[lang]/layout.tsx:33
FunctiongetLanguageFromPath
(pathname: string)
app/lib/i18n.ts:943
FunctiongetLanguageFromSearchParams
(searchParams: URLSearchParams)
app/lib/i18n.ts:955
FunctionhandleClickOutside
(event: MouseEvent)
app/components/Header.tsx:40
FunctionhandleDownloadMarkdown
()
app/[lang]/page.tsx:269
FunctionhandleDownloadZip
()
app/[lang]/page.tsx:254
FunctionhandleFileChange
(e: React.ChangeEvent<HTMLInputElement>)
app/[lang]/page.tsx:97
FunctionhandleReset
()
app/[lang]/page.tsx:283
Functionmiddleware
(request: NextRequest)
middleware.ts:95
FunctiononDrop
(acceptedFiles: File[])
app/[lang]/page.tsx:69
Functionrobots
()
app/robots.ts:4
Functionsitemap
()
app/sitemap.ts:4