MCPcopy Create free account

hub / github.com/Korben00/LocalSite / functions

Functions176 in github.com/Korben00/LocalSite

↓ 42 callersFunctioncn
(...inputs: ClassValue[])
lib/utils.ts:4
↓ 8 callersFunctionMY_TOKEN_KEY
()
lib/get-cookie-name.ts:1
↓ 8 callersFunctionuseUser
(initialData?: { user: User | null; errCode: number | null; })
hooks/useUser.ts:12
↓ 7 callersFunctiondbConnect
()
lib/mongodb.ts:12
↓ 7 callersFunctionisAuthenticated
()
lib/auth.ts:9
↓ 4 callersFunctionisTheSameHtml
(currentHtml: string)
lib/compare-html-diff.ts:3
↓ 3 callersFunctioncallAi
(redesignMarkdown?: string)
components/editor/ask-ai/index.tsx:75
↓ 3 callersFunctiongetPTag
(repoId: string)
lib/utils.ts:18
↓ 2 callersFunctioncalculateSelectorPosition
(href: string)
components/public/navigation/index.tsx:67
↓ 2 callersFunctioncallOllama
(messages: any[], model: string, stream = true)
app/api/ask-ai-local/route.ts:24
↓ 2 callersFunctioncheckIfUrlIsValid
(url: string)
components/editor/ask-ai/re-imagine.tsx:24
↓ 2 callersFunctiongetApiEndpoint
(endpoint: string)
lib/client-config.ts:9
↓ 2 callersFunctionhtmlTagToText
(tagName: string)
lib/html-tag-to-text.ts:1
↓ 2 callersFunctionloginFromCode
(code: string)
hooks/useUser.ts:54
↓ 2 callersFunctionlogout
()
hooks/useUser.ts:89
↓ 2 callersFunctionnormalize
(html: string)
lib/compare-html-diff.ts:4
↓ 2 callersFunctionresetLayout
()
components/editor/index.tsx:62
↓ 2 callersFunctionsetLoadingAuth
(value: boolean)
hooks/useUser.ts:45
↓ 1 callersFunctioncleanupListeners
()
components/editor/preview/index.tsx:90
↓ 1 callersFunctiondownloadAsZip
( html: string, filename: string = "website" )
lib/download-utils.ts:3
↓ 1 callersFunctiondownloadProjectAsZip
( html: string, projectName: string = "project" )
lib/download-utils.ts:35
↓ 1 callersFunctionextractFilesFromHtml
(html: string)
app/api/download/route.ts:62
↓ 1 callersFunctionfetchModels
()
hooks/useOllamaModels.ts:29
↓ 1 callersFunctionfetchProjects
()
components/my-projects/load-project.tsx:35
↓ 1 callersFunctionformatSize
(bytes: number)
app/api/ollama-models/route.ts:37
↓ 1 callersFunctiongenerateReadme
(projectName: string)
app/api/download/route.ts:120
↓ 1 callersFunctiongetAuth
()
app/actions/auth.ts:5
↓ 1 callersFunctiongetDefaultModel
()
lib/client-config.ts:29
↓ 1 callersFunctiongetDefaultProvider
()
lib/client-config.ts:24
↓ 1 callersFunctiongetMe
()
app/layout.tsx:70
↓ 1 callersFunctiongetProject
(namespace: string, repoId: string)
app/projects/[namespace]/[repoId]/page.tsx:12
↓ 1 callersFunctiongetProjects
()
app/actions/projects.ts:9
↓ 1 callersFunctiongetSingletonChannel
(name: string)
lib/useBroadcastChannel.ts:41
↓ 1 callersFunctionhandleClick
(href: string)
components/public/navigation/index.tsx:62
↓ 1 callersFunctionhandleLoadProject
(project: Project)
components/my-projects/load-project.tsx:66
↓ 1 callersFunctionisLocalMode
()
lib/client-config.ts:4
↓ 1 callersFunctionopenLoginWindow
()
hooks/useUser.ts:49
↓ 1 callersFunctionread
()
components/editor/ask-ai/index.tsx:159
↓ 1 callersFunctionsanitizeHtml
(html: string)
lib/sanitize-html.ts:4
↓ 1 callersFunctionuseBroadcastChannel
( channelName: string, onMessageReceived: (message: any) => void )
lib/useBroadcastChannel.ts:4
↓ 1 callersFunctionuseEditor
(defaultHtml: string)
hooks/useEditor.ts:4
↓ 1 callersFunctionuseOllamaModels
()
hooks/useOllamaModels.ts:18
FunctionAppContext
({ children, me: initialData, }: { children: React.ReactNode; me?: { user: User | null; errCod
components/contexts/app-context.tsx:12
FunctionAppEditor
({ project }: { project?: Project | null })
components/editor/index.tsx:31
FunctionAskAI
({ html, setHtml, onScrollToBottom, isAiWorking, setisAiWorking, isEditableModeEnabled = false,
components/editor/ask-ai/index.tsx:27
FunctionAskAi
()
components/space/ask-ai/index.tsx:9
FunctionAuth
()
app/auth/page.tsx:12
FunctionAuthCallback
({ searchParams, }: { searchParams: Promise<{ code: string }>; })
app/auth/callback/page.tsx:8
FunctionAvatar
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>)
components/ui/avatar.tsx:8
FunctionAvatarFallback
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>)
components/ui/avatar.tsx:37
FunctionAvatarImage
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>)
components/ui/avatar.tsx:24
FunctionButton
({ className, variant, size, asChild = false, ...props }: React.ComponentProps<"button"> & Variant
components/ui/button.tsx:46
FunctionCheckbox
({ className, ...props }: React.ComponentProps<typeof CheckboxPrimitive.Root>)
components/ui/checkbox.tsx:9
FunctionCollapsible
({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>)
components/ui/collapsible.tsx:5
FunctionCollapsibleContent
({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>)
components/ui/collapsible.tsx:22
FunctionCollapsibleTrigger
({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>)
components/ui/collapsible.tsx:11
FunctionDeployButton
({ html, prompts, }: { html: string; prompts: string[]; })
components/editor/deploy-button/index.tsx:22
FunctionDialog
({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>)
components/ui/dialog.tsx:9
FunctionDialogClose
({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>)
components/ui/dialog.tsx:27
FunctionDialogContent
({ className, children, showCloseButton = true, ...props }: React.ComponentProps<typeof DialogPrimitiv
components/ui/dialog.tsx:49
FunctionDialogDescription
({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>)
components/ui/dialog.tsx:119
FunctionDialogFooter
({ className, ...props }: React.ComponentProps<"div">)
components/ui/dialog.tsx:93
FunctionDialogHeader
({ className, ...props }: React.ComponentProps<"div">)
components/ui/dialog.tsx:83
FunctionDialogOverlay
({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>)
components/ui/dialog.tsx:33
FunctionDialogPortal
({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>)
components/ui/dialog.tsx:21
FunctionDialogTitle
({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>)
components/ui/dialog.tsx:106
FunctionDialogTrigger
({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>)
components/ui/dialog.tsx:15
FunctionDownloadButton
({ html, className }: { html: string; className?: string; })
components/editor/download-button.tsx:7
FunctionDropdownMenu
({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>)
components/ui/dropdown-menu.tsx:9
FunctionDropdownMenuCheckboxItem
({ className, children, checked, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Checkbo
components/ui/dropdown-menu.tsx:85
FunctionDropdownMenuContent
({ className, sideOffset = 4, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Content>)
components/ui/dropdown-menu.tsx:34
FunctionDropdownMenuGroup
({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Group>)
components/ui/dropdown-menu.tsx:54
FunctionDropdownMenuItem
({ className, inset, variant = "default", ...props }: React.ComponentProps<typeof DropdownMenuPrimitiv
components/ui/dropdown-menu.tsx:62
FunctionDropdownMenuLabel
({ className, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & { inset?:
components/ui/dropdown-menu.tsx:146
FunctionDropdownMenuPortal
({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>)
components/ui/dropdown-menu.tsx:15
FunctionDropdownMenuRadioGroup
({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>)
components/ui/dropdown-menu.tsx:111
FunctionDropdownMenuRadioItem
({ className, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>)
components/ui/dropdown-menu.tsx:122
FunctionDropdownMenuSeparator
({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>)
components/ui/dropdown-menu.tsx:166
FunctionDropdownMenuShortcut
({ className, ...props }: React.ComponentProps<"span">)
components/ui/dropdown-menu.tsx:179
FunctionDropdownMenuSub
({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>)
components/ui/dropdown-menu.tsx:195
FunctionDropdownMenuSubContent
({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>)
components/ui/dropdown-menu.tsx:225
FunctionDropdownMenuSubTrigger
({ className, inset, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigge
components/ui/dropdown-menu.tsx:201
FunctionDropdownMenuTrigger
({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>)
components/ui/dropdown-menu.tsx:23
FunctionFollowUpTooltip
()
components/editor/ask-ai/follow-up-tooltip.tsx:8
FunctionFooter
({ onReset, htmlHistory, setHtml, device, setDevice, iframeRef, }: { onReset: () => void; html
components/editor/footer/index.tsx:23
FunctionGET
()
app/api/me/route.ts:4
FunctionGET
()
app/api/me/projects/route.ts:9
FunctionGET
( req: NextRequest, { params }: { params: { namespace: string; repoId: string } } )
app/api/me/projects/[namespace]/[repoId]/route.ts:9
FunctionGET
()
app/api/ollama-models/route.ts:3
FunctionGridPattern
({ width = 40, height = 40, x = -1, y = -1, strokeDasharray = "0", squares, className, ...prop
components/magic-ui/grid-pattern.tsx:15
FunctionHeader
({ tab, onNewTab, children, }: { tab: string; onNewTab: (tab: string) => void; children?: ReactNod
components/editor/header/index.tsx:23
FunctionHistory
({ history, setHtml, }: { history: HtmlHistory[]; setHtml: (html: string) => void; })
components/editor/history/index.tsx:10
FunctionHome
()
app/(public)/page.tsx:3
FunctionInput
({ className, type, ...props }: React.ComponentProps<"input">)
components/ui/input.tsx:5
FunctionInviteFriends
()
components/invite-friends/index.tsx:15
FunctionLoadProject
({ onLoad, }: { onLoad: (project: { space_id: string; prompts: string[]; html: string; }) =>
components/my-projects/load-project.tsx:21
FunctionLoading
({ overlay = true, className, }: { overlay?: boolean; className?: string; })
components/loading/index.tsx:3
FunctionLoginModal
({ open, html, onClose, title = "Log In to use DeepSite for free", description = "Log In through you
components/login-modal/index.tsx:7
FunctionMyProjects
({ projects: initialProjects, }: { projects: Project[]; })
components/my-projects/index.tsx:12
FunctionNavigation
()
components/public/navigation/index.tsx:33
next →1–100 of 176, ranked by callers