MCPcopy Create free account

hub / github.com/Nutlope/smartpdfs / functions

Functions40 in github.com/Nutlope/smartpdfs

↓ 15 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 5 callersFunctiondispatch
(action: Action)
src/hooks/use-toast.ts:131
↓ 4 callersFunctiontoast
({ ...props }: Toast)
src/hooks/use-toast.ts:140
↓ 4 callersFunctionuseToast
()
src/hooks/use-toast.ts:169
↓ 2 callersFunctionaddToRemoveQueue
(toastId: string)
src/hooks/use-toast.ts:56
↓ 1 callersFunctionchunkPdf
(pdf: PDFDocumentProxy)
src/lib/summarize.ts:46
↓ 1 callersFunctiondismiss
()
src/hooks/use-toast.ts:148
↓ 1 callersFunctiongenId
()
src/hooks/use-toast.ts:27
↓ 1 callersFunctiongenerateImage
(text: string)
src/lib/summarize.ts:131
↓ 1 callersFunctiongenerateQuickSummary
(chunks: Chunk[], language: string)
src/lib/summarize.ts:107
↓ 1 callersFunctiongetPdfText
(pdf: PDFDocumentProxy)
src/lib/summarize.ts:10
↓ 1 callersFunctionreducer
(state: State, action: Action)
src/hooks/use-toast.ts:72
↓ 1 callersFunctionsharePdf
({ pdfName, pdfUrl, imageUrl, sections, }: { pdfName: string; pdfUrl: string; imageUrl: string;
src/app/actions.ts:18
↓ 1 callersFunctionslugify
(text: string)
src/app/actions.ts:7
↓ 1 callersFunctionsummarizeStream
(chunks: Chunk[], language: string)
src/lib/summarize.ts:66
FunctionActionButton
({ children, className, ...rest }: ComponentProps<typeof Button>)
src/components/ui/action-button.tsx:8
FunctionGithubIcon
(props: ComponentProps<"svg">)
src/components/icons/github.tsx:3
FunctionHome
()
src/app/page.tsx:26
FunctionHome
({ params, }: { params: Promise<{ id: string }>; })
src/app/pdf/[id]/page.tsx:46
FunctionHomeLandingDrop
({ status, file, setFile, handleSubmit, }: { status: StatusApp; file?: File | null; setFile: (fi
src/components/HomeLandingDrop.tsx:18
FunctionHomepageImage1
(props: ComponentProps<"svg">)
src/components/images/homepage-image-1.tsx:3
FunctionHomepageImage2
(props: ComponentProps<"svg">)
src/components/images/homepage-image-2.tsx:3
FunctionLogo
(props: React.ComponentProps<"svg">)
src/components/ui/logo.tsx:1
FunctionPOST
(req: Request)
src/app/api/image/route.ts:8
FunctionPOST
(req: Request)
src/app/api/summarize/route.ts:6
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
src/app/layout.tsx:26
FunctionSmartPDFViewer
({ smartPdf, }: { smartPdf: SmartPDF & { sections: Section[] }; })
src/app/pdf/[id]/smart-pdf-viewer.tsx:13
FunctionSparklesIcon
(props: ComponentProps<"svg">)
src/components/icons/sparkles.tsx:3
FunctionSpinner
({ loading = true, children, className = "", }: { loading?: boolean; children?: ReactNode; classNa
src/components/ui/spinner.tsx:3
FunctionSummaryContent
({ title, summary, imageUrl, }: SummaryContentProps)
src/components/ui/summary-content.tsx:11
FunctionTableOfContents
({ activeChunkIndex, setActiveChunkIndex, quickSummary, chunks, }: TableOfContentsProps)
src/components/ui/table-of-contents.tsx:14
FunctionToaster
()
src/components/ui/toaster.tsx:13
FunctionXIcon
(props: ComponentProps<"svg">)
src/components/icons/x.tsx:3
Functioncancel
()
src/lib/summarize.ts:98
FunctiongenerateMetadata
( { params, }: { params: Promise<{ id: string }>; }, parent: ResolvingMetadata, )
src/app/pdf/[id]/page.tsx:18
FunctionhandleShare
()
src/app/pdf/[id]/smart-pdf-viewer.tsx:24
FunctionhandleSubmit
(e: FormEvent<HTMLFormElement>)
src/app/page.tsx:44
Functionstart
(controller)
src/lib/summarize.ts:69
Functionupdate
(props: ToasterToast)
src/hooks/use-toast.ts:143
Functionwrite
(chunk)
src/app/page.tsx:90