Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Nutlope/smartpdfs
/ functions
Functions
40 in github.com/Nutlope/smartpdfs
⨍
Functions
40
◇
Types & classes
4
↓ 15 callers
Function
cn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 5 callers
Function
dispatch
(action: Action)
src/hooks/use-toast.ts:131
↓ 4 callers
Function
toast
({ ...props }: Toast)
src/hooks/use-toast.ts:140
↓ 4 callers
Function
useToast
()
src/hooks/use-toast.ts:169
↓ 2 callers
Function
addToRemoveQueue
(toastId: string)
src/hooks/use-toast.ts:56
↓ 1 callers
Function
chunkPdf
(pdf: PDFDocumentProxy)
src/lib/summarize.ts:46
↓ 1 callers
Function
dismiss
()
src/hooks/use-toast.ts:148
↓ 1 callers
Function
genId
()
src/hooks/use-toast.ts:27
↓ 1 callers
Function
generateImage
(text: string)
src/lib/summarize.ts:131
↓ 1 callers
Function
generateQuickSummary
(chunks: Chunk[], language: string)
src/lib/summarize.ts:107
↓ 1 callers
Function
getPdfText
(pdf: PDFDocumentProxy)
src/lib/summarize.ts:10
↓ 1 callers
Function
reducer
(state: State, action: Action)
src/hooks/use-toast.ts:72
↓ 1 callers
Function
sharePdf
({ pdfName, pdfUrl, imageUrl, sections, }: { pdfName: string; pdfUrl: string; imageUrl: string;
src/app/actions.ts:18
↓ 1 callers
Function
slugify
(text: string)
src/app/actions.ts:7
↓ 1 callers
Function
summarizeStream
(chunks: Chunk[], language: string)
src/lib/summarize.ts:66
Function
ActionButton
({ children, className, ...rest }: ComponentProps<typeof Button>)
src/components/ui/action-button.tsx:8
Function
GithubIcon
(props: ComponentProps<"svg">)
src/components/icons/github.tsx:3
Function
Home
()
src/app/page.tsx:26
Function
Home
({ params, }: { params: Promise<{ id: string }>; })
src/app/pdf/[id]/page.tsx:46
Function
HomeLandingDrop
({ status, file, setFile, handleSubmit, }: { status: StatusApp; file?: File | null; setFile: (fi
src/components/HomeLandingDrop.tsx:18
Function
HomepageImage1
(props: ComponentProps<"svg">)
src/components/images/homepage-image-1.tsx:3
Function
HomepageImage2
(props: ComponentProps<"svg">)
src/components/images/homepage-image-2.tsx:3
Function
Logo
(props: React.ComponentProps<"svg">)
src/components/ui/logo.tsx:1
Function
POST
(req: Request)
src/app/api/image/route.ts:8
Function
POST
(req: Request)
src/app/api/summarize/route.ts:6
Function
RootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
src/app/layout.tsx:26
Function
SmartPDFViewer
({ smartPdf, }: { smartPdf: SmartPDF & { sections: Section[] }; })
src/app/pdf/[id]/smart-pdf-viewer.tsx:13
Function
SparklesIcon
(props: ComponentProps<"svg">)
src/components/icons/sparkles.tsx:3
Function
Spinner
({ loading = true, children, className = "", }: { loading?: boolean; children?: ReactNode; classNa
src/components/ui/spinner.tsx:3
Function
SummaryContent
({ title, summary, imageUrl, }: SummaryContentProps)
src/components/ui/summary-content.tsx:11
Function
TableOfContents
({ activeChunkIndex, setActiveChunkIndex, quickSummary, chunks, }: TableOfContentsProps)
src/components/ui/table-of-contents.tsx:14
Function
Toaster
()
src/components/ui/toaster.tsx:13
Function
XIcon
(props: ComponentProps<"svg">)
src/components/icons/x.tsx:3
Function
cancel
()
src/lib/summarize.ts:98
Function
generateMetadata
( { params, }: { params: Promise<{ id: string }>; }, parent: ResolvingMetadata, )
src/app/pdf/[id]/page.tsx:18
Function
handleShare
()
src/app/pdf/[id]/smart-pdf-viewer.tsx:24
Function
handleSubmit
(e: FormEvent<HTMLFormElement>)
src/app/page.tsx:44
Function
start
(controller)
src/lib/summarize.ts:69
Function
update
(props: ToasterToast)
src/hooks/use-toast.ts:143
Function
write
(chunk)
src/app/page.tsx:90