Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Nanjiren01/AIChatWeb
/ functions
Functions
347 in github.com/Nanjiren01/AIChatWeb
⨍
Functions
347
◇
Types & classes
61
↓ 1 callers
Function
randomMask
()
app/components/new-chat.tsx:53
↓ 1 callers
Function
readFromFile
()
app/utils.ts:50
↓ 1 callers
Function
register
()
app/components/register.tsx:93
↓ 1 callers
Function
removeContextPrompt
(i: number)
app/components/mask.tsx:231
↓ 1 callers
Function
requestLogin
( username: string, password: string, options?: { onError: (error: Error, statusCode?: number) => vo
app/requests.ts:100
↓ 1 callers
Function
requestOpenai
(req: NextRequest)
app/api/common.ts:9
↓ 1 callers
Function
requestRegister
( name: string, username: string, password: string, captchaId: string, captchaInput: string, email
app/requests.ts:110
↓ 1 callers
Function
requestResetPassword
( password: string, email: string, code: string, options?: { onError: (error: Error, statusCode?:
app/requests.ts:89
↓ 1 callers
Function
resetPassword
()
app/components/forget-password.tsx:93
↓ 1 callers
Function
selectAll
()
app/components/message-selector.tsx:103
↓ 1 callers
Function
selectOrCopy
(el: HTMLElement, content: string)
app/utils.ts:116
↓ 1 callers
Function
selectSession
(index: number)
app/store/chat.ts:168
↓ 1 callers
Function
setItem
(key: string, value: string)
app/locales/index.ts:80
↓ 1 callers
Method
share
(messages: ChatMessage[], avatarUrl: string | null = null)
app/client/api.ts:93
↓ 1 callers
Function
shouldSubmit
(e: React.KeyboardEvent<HTMLTextAreaElement>)
app/components/chat.tsx:184
↓ 1 callers
Function
trimTopic
(topic: string)
app/utils.ts:5
↓ 1 callers
Function
updateContextPrompt
(i: number, prompt: ChatMessage)
app/components/mask.tsx:235
↓ 1 callers
Method
usage
()
app/client/platforms/openai.ts:203
↓ 1 callers
Function
useChatCommand
(commands: ChatCommands = {})
app/command.ts:42
↓ 1 callers
Function
useDragSideBar
()
app/components/sidebar.tsx:62
↓ 1 callers
Function
useHasHydrated
()
app/components/home.tsx:141
↓ 1 callers
Function
useHotKey
()
app/components/sidebar.tsx:43
↓ 1 callers
Function
useMaskGroup
(masks: Mask[])
app/components/new-chat.tsx:39
↓ 1 callers
Function
useMessageSelector
()
app/components/message-selector.tsx:53
↓ 1 callers
Function
useScrollToBottom
()
app/components/chat.tsx:398
↓ 1 callers
Function
useShiftRange
()
app/components/message-selector.tsx:11
↓ 1 callers
Function
useSteps
( steps: Array<{ name: string; value: string; }>, )
app/components/exporter.tsx:49
↓ 1 callers
Function
useSubmitHandler
()
app/components/chat.tsx:180
↓ 1 callers
Function
useSwitchTheme
()
app/components/home.tsx:105
↓ 1 callers
Function
useWindowSize
()
app/utils.ts:75
↓ 1 callers
Function
viewSvgInNewWindow
()
app/components/markdown.tsx:35
Function
App
()
app/page.tsx:9
Function
AuthPage
()
app/components/auth.tsx:11
Function
Avatar
(props: { model?: ModelType; avatar?: string })
app/components/emoji.tsx:32
Function
AvatarPicker
(props: { onEmojiClick: (emojiId: string) => void; })
app/components/emoji.tsx:17
Function
Balance
()
app/components/balance.tsx:34
Function
Card
(props: { children: JSX.Element[]; className?: string })
app/components/ui-lib.tsx:35
Function
Chat
()
app/components/chat.tsx:563
Function
ChatAction
(props: { text: string; icon: JSX.Element; onClick: () => void; })
app/components/chat.tsx:297
Function
ChatActions
(props: { showPromptModal: () => void; scrollToBottom: () => void; showPromptHints: () => void; hitBot
app/components/chat.tsx:422
Function
ChatItem
(props: { onClick?: () => void; onDelete?: () => void; title: string; count: number; time: string;
app/components/chat-list.tsx:22
Function
ChatList
(props: { narrow?: boolean })
app/components/chat-list.tsx:93
Function
ClearContextDivider
()
app/components/chat.tsx:277
Function
ContextPromptItem
(props: { prompt: ChatMessage; update: (prompt: ChatMessage) => void; remove: () => void; })
app/components/mask.tsx:163
Function
ContextPrompts
(props: { context: ChatMessage[]; updateContext: (updater: (context: ChatMessage[]) => void) => void; })
app/components/mask.tsx:221
Function
DangerItems
()
app/components/settings.tsx:203
Function
DangerousListItem
(props: { title?: string; subTitle?: string; children?: JSX.Element | JSX.Element[]; icon?: JSX.Elemen
app/components/ui-lib.tsx:66
Function
EditPromptModal
(props: { id: number; onClose: () => void })
app/components/settings.tsx:52
Function
EmojiAvatar
(props: { avatar: string; size?: number })
app/components/emoji.tsx:64
Function
ExportAvatar
(props: { avatar: string })
app/components/exporter.tsx:350
Function
ExportMessageModal
(props: { onClose: () => void })
app/components/exporter.tsx:37
Function
ForgetPassword
()
app/components/forget-password.tsx:18
Function
Home
()
app/components/home.tsx:267
Function
IconButton
(props: { onClick?: () => void; icon?: JSX.Element; type?: ButtonType; style?: object; text?: string
app/components/button.tsx:7
Function
ImagePreviewer
(props: { messages: ChatMessage[]; topic: string; })
app/components/exporter.tsx:366
Function
Input
(props: InputProps)
app/components/ui-lib.tsx:257
Function
InputRange
({ onChange, title, value, className, min, max, step, }: InputRangeProps)
app/components/input-range.tsx:14
Function
List
(props: { children: | Array<JSX.Element | null | undefined> | JSX.Element | null | undefined
app/components/ui-lib.tsx:92
Function
ListItem
(props: { title?: string; subTitle?: string; children?: JSX.Element | JSX.Element[]; icon?: JSX.Elemen
app/components/ui-lib.tsx:41
Function
Loading
()
app/components/ui-lib.tsx:102
Function
Loading
(props: { noLogo?: boolean })
app/components/home.tsx:33
Function
Login
()
app/components/login.tsx:17
Function
Markdown
( props: { content: string; loading?: boolean; fontSize?: number; parentRef?: RefObject<HTML
app/components/markdown.tsx:136
Function
MarkdownPreviewer
(props: { messages: ChatMessage[]; topic: string; })
app/components/exporter.tsx:507
Function
MaskAvatar
(props: { mask: Mask })
app/components/mask.tsx:39
Function
MaskConfig
(props: { mask: Mask; updateMask: Updater<Mask>; extraListItems?: JSX.Element; readonly?: boolean; s
app/components/mask.tsx:47
Function
MaskItem
(props: { mask: Mask; onClick?: () => void })
app/components/new-chat.tsx:30
Function
MaskPage
()
app/components/mask.tsx:271
Function
Mermaid
(props: { code: string })
app/components/markdown.tsx:16
Function
MessageExporter
()
app/components/exporter.tsx:113
Function
MessageSelector
(props: { selection: Set<number>; updateSelection: Updater<Set<number>>; defaultSelectAll?: boolean; o
app/components/message-selector.tsx:67
Function
Modal
(props: ModalProps)
app/components/ui-lib.tsx:124
Function
ModelConfigList
(props: { modelConfig: ModelConfig; updateConfig: (updater: (config: ModelConfig) => void) => void; })
app/components/model-config.tsx:11
Function
NewChat
()
app/components/new-chat.tsx:81
Function
NoticeModel
(props: { title: string; content: string; onClose: () => void; })
app/components/sidebar.tsx:110
Function
PasswordInput
(props: HTMLProps<HTMLInputElement>)
app/components/ui-lib.tsx:266
Function
Popover
(props: { children: JSX.Element; content: JSX.Element; open?: boolean; onClose?: () => void; })
app/components/ui-lib.tsx:16
Function
PreCode
(props: { children: any })
app/components/markdown.tsx:66
Function
PreviewActions
(props: { download: () => void; copy: () => void; showCopy?: boolean; messages?: ChatMessage[]; })
app/components/exporter.tsx:270
Function
Pricing
()
app/components/pricing.tsx:39
Function
Profile
()
app/components/profile.tsx:27
Function
PromptHints
(props: { prompts: Prompt[]; onPromptSelect: (prompt: Prompt) => void; })
app/components/chat.tsx:206
Function
PromptInput
(props: { value: string; onChange: (value: string) => void; })
app/components/ui-lib.tsx:357
Function
PromptToast
(props: { showToast?: boolean; showModal?: boolean; setShowModal: (_: boolean) => void; })
app/components/chat.tsx:150
Function
Register
()
app/components/register.tsx:18
Function
RenderExport
(props: { messages: ChatMessage[]; onRender: (messages: ChatMessage[]) => void; })
app/components/exporter.tsx:226
Function
RootLayout
({ children, }: { children: React.ReactNode; })
app/layout.tsx:25
Function
Screen
()
app/components/home.tsx:164
Function
Select
( props: React.DetailedHTMLProps< React.SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement
app/components/ui-lib.tsx:289
Function
SessionConfigModel
(props: { onClose: () => void })
app/components/chat.tsx:87
Function
Settings
()
app/components/settings.tsx:313
Function
SideBar
(props: { className?: string; noticeShow: boolean; noticeTitle: string; noticeContent: string; setNo
app/components/sidebar.tsx:154
Function
SingleInput
(props: React.HTMLProps<HTMLInputElement>)
app/components/ui-lib.tsx:242
Function
Steps
(props: { steps: T; onStepChange?: (index: number) => void; index: number })
app/components/exporter.tsx:71
Function
SubTitle
(used: any, total: any)
app/locales/ar.ts:169
Function
SubTitle
(used: any, total: any)
app/locales/ko.ts:131
Function
SubTitle
(used: any, total: any)
app/locales/fr.ts:134
Function
SubTitle
(used: any, total: any)
app/locales/es.ts:274
Function
SubTitle
(used: any, total: any)
app/locales/cs.ts:132
Function
SubTitle
(used: any, total: any)
app/locales/cn.ts:417
← previous
next →
101–200 of 347, ranked by callers