MCPcopy Create free account

hub / github.com/futantan/OpenGpt / functions

Functions88 in github.com/futantan/OpenGpt

↓ 6 callersFunctiontw
(...inputs: ClassValue[])
src/utils/tw.ts:4
↓ 3 callersFunctionloadLicenseKey
()
src/utils/localData.ts:5
↓ 3 callersFunctionsaveLicenseKey
(key: string)
src/utils/localData.ts:1
↓ 3 callersFunctionvalidateLicenseKey
(licenseKey: string)
src/utils/lemon.ts:22
↓ 2 callersFunctionclientValidateLicenseKey
(licenseKey: string)
src/utils/lemon.ts:54
↓ 2 callersFunctionfetchPost
(url = '', data = {})
src/utils/fetchPost.ts:1
↓ 2 callersFunctiongenerate
(body: GenerateApiInput)
src/hooks/useGenerateResult.ts:14
↓ 2 callersFunctionrandomChooseFromApiToken
(v: { isPaid: boolean })
src/utils/randomChooseFromApiToken.ts:1
↓ 2 callersFunctionrunOutOfRatelimit
(errorCode: number)
src/middleware.ts:60
↓ 2 callersFunctionuseGenerateResult
()
src/hooks/useGenerateResult.ts:8
↓ 2 callersFunctionuseHeaders
()
src/components/Header.tsx:60
↓ 1 callersFunctionOpenAIStream
( payload: OpenAIStreamPayload, openAIKey: string, licenseKey?: string )
src/utils/OpenAIStream.ts:28
↓ 1 callersFunctionactivateLicenseKey
(licenseKey: string)
src/utils/lemon.ts:1
↓ 1 callersFunctionclassNames
(...classes: string[])
src/components/DropDown.tsx:9
↓ 1 callersFunctioncreateInnerTRPCContext
(opts: CreateContextOptions)
src/server/api/trpc.ts:36
↓ 1 callersFunctionexecute
(currentRetryTimes: number)
src/pages/api/generate.ts:59
↓ 1 callersFunctionfetchPrompt
(id: string)
src/pages/api/generate.ts:96
↓ 1 callersFunctiongetBaseUrl
()
src/utils/api.ts:14
↓ 1 callersFunctiongetLocaleDisplayName
(locale: string, displayLocale?: string)
src/components/LanguageSelector.tsx:11
↓ 1 callersFunctionhandleRun
(e: any)
src/pages/app/[id].tsx:78
↓ 1 callersFunctionincUsage
(id: string, isPaid: boolean)
src/pages/api/generate.ts:111
↓ 1 callersFunctionrevalidateHome
()
src/utils/revalidateHome.ts:3
↓ 1 callersFunctionsample
(arr: any[] = [])
src/utils/randomChooseFromApiToken.ts:8
↓ 1 callersFunctionscrollToResults
()
src/pages/app/[id].tsx:72
↓ 1 callersFunctionselectAPaidKey
(userInput: string)
src/utils/selectApiKeyBasedOnUserIsPaidOrNot.ts:4
↓ 1 callersFunctionsendAlertToDiscord
(message: string)
src/utils/sendMessageToDiscord.ts:40
↓ 1 callersFunctionsendMessageToDiscord
(v: { id: string name: string description: string })
src/utils/sendMessageToDiscord.ts:8
FunctionAppList
(props: AppListProps)
src/components/AppList.tsx:14
FunctionAppListLoading
()
src/components/AppListLoading.tsx:4
FunctionBreadcrumb
(props: { pages: Array<{ name: string; href: string; current: boolean }> })
src/components/Breadcrumb.tsx:5
FunctionButton
({ variant = 'solid', color = 'slate', type = 'button', className, href, children, loading = fal
src/components/Button.tsx:43
FunctionCallToAction
()
src/components/CallToAction.tsx:8
FunctionContainer
({ className, ...props }: ContainerProps)
src/components/Container.tsx:6
FunctionCustomOpenAIKeyForm
()
src/components/CustomOpenAIKeyForm.tsx:5
FunctionDropDown
({ vibe, setVibe }: DropDownProps)
src/components/DropDown.tsx:22
FunctionEmojiField
({ value, onChange, }: { value: string onChange: (v: string) => void })
src/components/EmojiField.tsx:4
FunctionFollowSocialMedia
()
src/components/FollowSocialMedia.tsx:4
FunctionFooter
()
src/components/Footer.tsx:6
FunctionHandPointer
({ className }: { className: string })
src/components/HandPointer.tsx:4
FunctionHeader
()
src/components/Header.tsx:139
FunctionHero
()
src/components/Hero.tsx:8
FunctionHome
()
src/pages/index.tsx:34
FunctionLanguageSelector
()
src/components/LanguageSelector.tsx:19
FunctionLayout
(props: { children?: JSX.Element | JSX.Element[] })
src/components/Layout.tsx:4
FunctionLicenseForm
(props: LicenseFormProps)
src/components/LicenseForm.tsx:13
FunctionLoadingDots
({ color = '#000', style = 'small', }: { color: string style: string })
src/components/LoadingDots.tsx:3
FunctionLogo
(props: { className?: string })
src/components/Logo.tsx:1
FunctionMobileNavIcon
({ open }: { open: boolean })
src/components/Header.tsx:33
FunctionMobileNavLink
({ href, target, children, }: { href: string target?: string children: React.ReactNode })
src/components/Header.tsx:12
FunctionMobileNavigation
()
src/components/Header.tsx:90
FunctionMyApp
({ Component, pageProps: { session, ...pageProps }, })
src/pages/_app.tsx:14
FunctionMyDocument
()
src/pages/_document.tsx:3
FunctionNavLink
({ href, target, children, }: { href: string target?: string children?: React.ReactNode })
src/components/NavLink.tsx:3
FunctionNewApp
()
src/pages/app/new.tsx:21
FunctionOpenGptApp
( props: InferGetServerSidePropsType<typeof getStaticProps> )
src/pages/app/[id].tsx:61
FunctionPurchase
()
src/components/Purchase.tsx:13
FunctionPurchaseAction
(props: PurchaseActionProps)
src/components/PurchaseAction.tsx:7
FunctionSearchInput
(props: SearchInputProps)
src/components/SearchInput.tsx:8
FunctionSlogan
()
src/components/Slogan.tsx:3
FunctionUsage
()
src/pages/usage.tsx:8
Functionconfig
()
src/utils/api.ts:22
FunctioncreateTRPCContext
(opts: CreateNextContextOptions)
src/server/api/trpc.ts:49
FunctionerrorFormatter
({ shape })
src/server/api/trpc.ts:70
Functionget
(target, prop)
src/env.mjs:78
FunctiongetServerAuthSession
(ctx: { req: GetServerSidePropsContext['req'] res: GetServerSidePropsContext['res'] })
src/server/auth.ts:71
FunctiongetStaticPaths
()
src/pages/app/[id].tsx:28
FunctiongetStaticProps
({ locale })
src/pages/usage.tsx:21
FunctiongetStaticProps
({ locale })
src/pages/index.tsx:24
FunctiongetStaticProps
({ locale })
src/pages/app/new.tsx:255
FunctiongetStaticProps
({ params, locale })
src/pages/app/[id].tsx:40
FunctionhandleChange
(e)
src/components/SearchInput.tsx:11
FunctionhandleClear
()
src/components/LicenseForm.tsx:23
FunctionhandleCompositionEnd
(event: any)
src/components/SearchInput.tsx:23
FunctionhandleCompositionStart
()
src/components/SearchInput.tsx:19
FunctionhandleSave
()
src/components/LicenseForm.tsx:29
FunctionhandleShowMore
()
src/pages/index.tsx:52
FunctionhandleTest
(e: any)
src/pages/app/new.tsx:37
Functionhandler
(req, res)
src/pages/api/revalidate.ts:3
Functionhandler
(req: NextRequest)
src/pages/api/generate.ts:18
Functionhandler
(req, res)
src/pages/api/check-license-key.ts:4
Functionhandler
(req, res)
src/pages/api/app-prompt.ts:5
Functionhandler
(req, res)
src/pages/api/inc-usage.ts:5
Functionmiddleware
( request: NextRequest, event: NextFetchEvent )
src/middleware.ts:19
Functionnoop
()
src/utils/sendMessageToDiscord.ts:7
FunctiononParse
(event: ParsedEvent | ReconnectInterval)
src/utils/OpenAIStream.ts:61
FunctiononSubmit
(data)
src/pages/app/new.tsx:69
Functionsession
({ session, user })
src/server/auth.ts:40
Functionstart
(controller)
src/utils/OpenAIStream.ts:59