Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenAnonymity/oa-chat
/ functions
Functions
2,047 in github.com/OpenAnonymity/oa-chat
⨍
Functions
2,047
◇
Types & classes
86
↓ 1 callers
Function
buildUserMessage
* Builds HTML for a user message bubble. * @param {Object} message - Message object with id, content, etc. * @param {Object} options - Template opti
chat/components/MessageTemplates.js:597
↓ 1 callers
Method
buildVirtualItemHTML
(item)
chat/components/Sidebar.js:759
↓ 1 callers
Function
bytesToWord
(byte1, byte2)
chat/services/recoveryCode.js:35
↓ 1 callers
Method
cacheScrubberPreviewHint
()
chat/components/ChatInput.js:1375
↓ 1 callers
Method
calculateBarHeight
(content)
chat/components/MessageNavigation.js:148
↓ 1 callers
Function
canUseSessionStorage
()
chat/db.js:11
↓ 1 callers
Function
cancelAndroidNativeInferenceJob
(jobId)
chat/services/androidNativeInferenceTransport.js:74
↓ 1 callers
Method
cancelInlineEdit
* Cancels inline editing and restores the original title. * @param {HTMLInputElement} input - The input element
chat/components/Sidebar.js:391
↓ 1 callers
Method
capitalizeProvider
(provider)
chat/api.js:182
↓ 1 callers
Method
captureOverlayBasePadding
()
chat/components/WelcomePanel.js:344
↓ 1 callers
Method
captureTicketCodeFromUrl
* Capture ticket code from URL and clean the path/query. * Supports /tickets/<code> and ?tickets=<code>.
chat/app.js:2044
↓ 1 callers
Method
checkAvailability
()
chat/services/privacyPass.js:107
↓ 1 callers
Method
checkForShareUpdates
* Check if a previously imported share has been updated * @param {string} shareId - The share ID to check * @param {Object} existingSession
chat/app.js:2215
↓ 1 callers
Method
checkForUrlSession
* Check URL for session parameter (?s=sessionId) * - First checks if it's a local session by ID * - Then checks if it's a local session by s
chat/app.js:2114
↓ 1 callers
Function
clampSimilarity
(value)
vector/oramaBackend.js:14
↓ 1 callers
Method
cleanGeneratedSessionTitle
(title)
chat/app.js:3899
↓ 1 callers
Method
cleanLegacyTickets
()
chat/services/ticketStore.js:378
↓ 1 callers
Method
cleanPayload
(payload)
chat/services/ticketClient.js:140
↓ 1 callers
Method
clearAccountHighlight
()
chat/app.js:2887
↓ 1 callers
Method
clearAll
()
chat/services/syncService.js:763
↓ 1 callers
Method
clearAllChatbarStates
()
chat/app.js:1104
↓ 1 callers
Method
clearAllChats
()
chat/db.js:520
↓ 1 callers
Method
clearAllChatsIncompatFallback
()
chat/app.js:6963
↓ 1 callers
Method
clearAllLogs
* Clear all logs (memory-only)
chat/services/networkLogger.js:110
↓ 1 callers
Method
clearAllTickets
()
chat/services/ticketStore.js:433
↓ 1 callers
Method
clearChatbarStateForSession
(sessionId)
chat/app.js:1099
↓ 1 callers
Method
clearCredentials
()
chat/services/syncService.js:187
↓ 1 callers
Method
clearCurrentSession
* Clears the current session, returning to the startup state. * No session is selected until the user sends their first message.
chat/app.js:3759
↓ 1 callers
Method
clearInlineFeedbackUI
()
chat/components/ThanksPanel.js:482
↓ 1 callers
Method
clearLocalAccount
()
chat/services/accountService.js:1533
↓ 1 callers
Method
clearMessage
()
chat/components/FloatingPanel.js:115
↓ 1 callers
Method
clearPendingMemoryApprovalPromptsForCurrentSession
()
chat/app.js:4284
↓ 1 callers
Method
clearSidebarFilters
()
chat/app.js:7402
↓ 1 callers
Method
close
()
vector/index.js:133
↓ 1 callers
Method
closeRightPanel
()
chat/components/RightPanel.js:505
↓ 1 callers
Function
collectJsFiles
(dir)
scripts/build.mjs:64
↓ 1 callers
Function
collectPartText
(part, textParts, mediaTypes)
chat/services/importers/chatgptImporter.js:102
↓ 1 callers
Function
collectPreferencesFromIndexedDB
* Collect preferences from IndexedDB settings store. * @returns {Promise<Object>} Preferences object
chat/services/globalExport.js:83
↓ 1 callers
Function
collectPreferencesFromStore
* Collect persisted preferences. * @returns {Object} Preferences object
chat/services/globalExport.js:18
↓ 1 callers
Method
collectZeroTrustEvidence
()
chat/components/VerifierAttestationModal.js:357
↓ 1 callers
Method
completeAccountRegistration
* Step 4: Complete account registration with the server. * Wraps master key, calls /auth/register, updates state. * @returns {Promise<boolea
chat/services/accountService.js:923
↓ 1 callers
Method
configureMarkedRenderer
* Configure marked.js with custom renderer for code blocks * Adds language label and copy button to fenced code blocks
chat/app.js:454
↓ 1 callers
Function
configureMessageTemplateServices
(services)
chat/components/MessageTemplates.js:41
↓ 1 callers
Function
consumeCompatFlag
()
chat/db.js:21
↓ 1 callers
Function
contentPartsToText
(parts)
local_inference/responseUtils.js:171
↓ 1 callers
Method
convertBlobToFile
* Converts a Blob (from clipboard) to a File object with proper metadata. * @param {Blob} blob - The image blob from clipboard * @param {str
chat/app.js:8650
↓ 1 callers
Function
createAbortError
()
chat/services/memoryBridge.js:8
↓ 1 callers
Function
createAbortError
()
chat/services/memoryInstances.js:13
↓ 1 callers
Function
createAbortError
()
chat/services/omfImporter.js:5
↓ 1 callers
Function
createAbortError
()
chat/services/omfExporter.js:4
↓ 1 callers
Method
createChallenge
()
chat/services/privacyPass.js:64
↓ 1 callers
Method
createForkMessageSnapshot
* Normalizes a message into a static snapshot for forked sessions. * Forks should capture visible content without carrying active streaming state
chat/app.js:6628
↓ 1 callers
Function
createLinkedSignal
* Create an AbortSignal that aborts when either of two signals abort. * @param {AbortSignal} signal1 - First signal * @param {AbortSignal} signal2 -
chat/services/fetchRetry.js:247
↓ 1 callers
Method
createNavigationUI
()
chat/components/MessageNavigation.js:23
↓ 1 callers
Function
createOutputItem
(text, index = 0)
local_inference/responseUtils.js:253
↓ 1 callers
Method
createScrollToBottomButton
* Creates the scroll-to-bottom button element
chat/app.js:1125
↓ 1 callers
Function
createShareApi
* Create a new session share * POST /chat/share * @param {string} shareId - Client-generated share ID * @param {Object} encryptedData - {salt, iv,
chat/services/shareService.js:51
↓ 1 callers
Method
createSingleTokenRequest
(publicKeyB64)
chat/services/privacyPass.js:68
↓ 1 callers
Method
createTabId
()
chat/services/storageEvents.js:10
↓ 1 callers
Function
decodeVectorId
(id)
vector/idCodec.js:42
↓ 1 callers
Function
decodeXmlEntities
(text)
chat/services/fileUtils.js:348
↓ 1 callers
Function
decrypt
(salt, iv, ciphertext, password)
chat/services/shareEncryption.js:116
↓ 1 callers
Function
decryptBlob
* Decrypt data. Returns the full payload including type.
chat/services/syncService.js:142
↓ 1 callers
Function
defaultGetMessageTextContent
(content)
chat/services/memoryMessageNormalization.js:1
↓ 1 callers
Method
deferInitialInputFocus
()
chat/app.js:8520
↓ 1 callers
Method
deleteAllChats
()
chat/app.js:6929
↓ 1 callers
Method
destroy
()
chat/components/WelcomePanel.js:1570
↓ 1 callers
Method
detachQuickAskWindowForRender
(sessionId)
chat/components/ChatArea.js:814
↓ 1 callers
Method
detectInitialLinkContext
()
chat/app.js:272
↓ 1 callers
Function
diffTokens
(aTokens, bTokens)
chat/services/editableDiffRenderer.js:70
↓ 1 callers
Method
embedText
(text, options = {})
embeddings/embeddingService.js:105
↓ 1 callers
Method
embedTexts
(texts, options = {})
embeddings/embeddingService.js:118
↓ 1 callers
Function
encodeShareData
(payload, password)
chat/services/shareService.js:320
↓ 1 callers
Function
encodeUlidRandom
()
chat/services/ulid.js:16
↓ 1 callers
Function
encodeUlidTime
(timeMs)
chat/services/ulid.js:6
↓ 1 callers
Function
encodeVectorId
({ namespace, type, entityId, chunkId, field, variant } = {})
vector/idCodec.js:13
↓ 1 callers
Function
encrypt
(data, password)
chat/services/shareEncryption.js:87
↓ 1 callers
Function
enhanceInlineLinks
* Transforms regular anchor links into elegant button-style citations with hover previews. * This should be called AFTER HTML/Markdown processing. *
chat/components/MessageTemplates.js:1100
↓ 1 callers
Function
ensureCursorOutsideDeleted
(container)
chat/services/editableDiffRenderer.js:456
↓ 1 callers
Method
ensureDbReady
()
chat/services/preferencesStore.js:145
↓ 1 callers
Function
ensureDir
(dir)
scripts/sync-fonts.mjs:89
↓ 1 callers
Method
ensureEventListeners
* Ensures session list event listeners are attached once.
chat/components/Sidebar.js:204
↓ 1 callers
Function
ensureHtml2Pdf
* Lazy-loads the html2pdf library from local assets. * @returns {Promise<void>}
chat/services/pdfExport.js:13
↓ 1 callers
Method
ensureLibcurlReady
()
chat/services/networkProxy.js:555
↓ 1 callers
Method
ensurePersistentStorage
()
chat/services/storageManager.js:25
↓ 1 callers
Method
ensureQuickAskPopover
()
chat/components/ChatArea.js:413
↓ 1 callers
Method
ensureQuickAskWindow
()
chat/components/ChatArea.js:505
↓ 1 callers
Method
ensureResponsiveScaleListener
()
chat/components/WelcomePanel.js:355
↓ 1 callers
Method
ensureScrubberModelsLoaded
()
chat/components/ChatInput.js:1500
↓ 1 callers
Method
ensureTicketsUpdatedListener
()
chat/components/ThanksPanel.js:112
↓ 1 callers
Method
ensureTicketsUpdatedListener
()
chat/components/WelcomePanel.js:218
↓ 1 callers
Method
enterEditMode
* Enters edit mode for a user message * @param {string} messageId - Message ID to edit
chat/app.js:6661
↓ 1 callers
Method
escapeHtml
(text)
chat/components/FloatingPanel.js:22
↓ 1 callers
Function
escapeHtmlAttribute
(text)
chat/services/networkLogRenderer.js:71
↓ 1 callers
Function
exportAllData
()
chat/services/globalExport.js:357
↓ 1 callers
Method
exportMemories
()
chat/components/MemoryEditor.js:1007
↓ 1 callers
Function
exportMemoriesAsOmf
(options = {})
chat/services/omfExporter.js:27
↓ 1 callers
Function
exportToPdf
(messagesContainer)
chat/services/pdfExport.js:170
↓ 1 callers
Method
extractContainerInfo
(attestation)
chat/components/VerifierAttestationModal.js:319
↓ 1 callers
Function
extractDomainFromUrl
(url)
chat/services/importers/chatgptImporter.js:265
← previous
next →
1,001–1,100 of 2,047, ranked by callers