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
↓ 2 callers
Method
checkRateLimit
* Check rate limit and return error message if limited, or null if ok.
chat/services/accountService.js:529
↓ 2 callers
Method
clearErrors
()
chat/services/accountService.js:799
↓ 2 callers
Method
clearPersistedMasterKey
* Clear the persisted master key from IndexedDB. * Called during logout to fully clear the session.
chat/services/accountService.js:618
↓ 2 callers
Method
clearRateLimit
* Clear rate limiting state (call on successful unlock).
chat/services/accountService.js:519
↓ 2 callers
Function
clearVectorItems
(db, collection)
vector/idbStore.js:128
↓ 2 callers
Method
cloneMessageFiles
(files)
chat/app.js:6540
↓ 2 callers
Function
coerceEmbedding
(item)
embeddings/utils.js:18
↓ 2 callers
Function
collectTests
(dir)
scripts/run-unit-tests.mjs:22
↓ 2 callers
Method
confirmEditPrompt
* Confirms and applies the edited prompt * @param {string} messageId - Message ID being edited
chat/app.js:6707
↓ 2 callers
Method
copySessionLink
* Copy the current session's URL to clipboard
chat/app.js:2566
↓ 2 callers
Function
createAbortableStorage
(signal)
chat/services/omfImporter.js:25
↓ 2 callers
Method
createAssistantScrubberMetadata
({ originalPrompt, redactedPrompt, hasScrubberContext })
chat/app.js:5087
↓ 2 callers
Function
createComponentDataInterface
(options = {})
chat/ui/appInterface.js:14
↓ 2 callers
Function
createComponentServicesInterface
(options = {})
chat/ui/appInterface.js:75
↓ 2 callers
Method
createImagePreview
(file)
chat/app.js:8819
↓ 2 callers
Function
createLocalInferenceBackend
(options = {})
embeddings/backends/localInferenceBackend.js:4
↓ 2 callers
Function
createOramaStub
()
vector/vectorStore.test.mjs:5
↓ 2 callers
Function
createSidebarInterface
(app)
chat/ui/appInterface.js:132
↓ 2 callers
Function
createVanillaUiInterface
(app, options = {})
chat/ui/appInterface.js:292
↓ 2 callers
Function
decodeBase64ToFloat32
(base64)
embeddings/utils.js:1
↓ 2 callers
Function
decodeHtmlEntities
(text)
chat/services/importers/chatgptImporter.js:72
↓ 2 callers
Function
decodeShareData
(shareData, password)
chat/services/shareService.js:346
↓ 2 callers
Method
decodeSharePayload
* Decode share payload (handles both plaintext and encrypted) * @returns {Promise<Object|null>} Payload or null if cancelled/failed
chat/app.js:2305
↓ 2 callers
Function
decodeWrappedKey
(payload)
chat/services/accountService.js:110
↓ 2 callers
Function
decryptBytes
(key, payload)
chat/services/accountService.js:156
↓ 2 callers
Function
deriveItemKey
* Derive a unique AES-256 key for a specific blob using HKDF.
chat/services/syncService.js:94
↓ 2 callers
Function
deriveKey
* Derive a key from password using Argon2id
chat/services/shareEncryption.js:54
↓ 2 callers
Method
detachStalePromptSlideUpEffect
()
chat/app.js:804
↓ 2 callers
Function
downloadShareApi
* Download a session share * GET /chat/share/{share_id} * @param {string} shareId - Share ID from URL * @returns {Promise<{id: string, salt: string
chat/services/shareService.js:195
↓ 2 callers
Function
emitDesktopEvent
(name, detail = {})
chat/app.js:104
↓ 2 callers
Method
emitStorageEventDebounced
(type, key, detail, delayMs = 250)
chat/db.js:665
↓ 2 callers
Method
enrichCitationsAndUpdateUI
* Enriches citations with metadata and updates the UI. * @param {Object} message - The message containing citations
chat/app.js:8468
↓ 2 callers
Method
ensureApiKey
* Ensure we have a valid API key for the given chat session. * Keys are stored on the session object and persisted via chatDB. * @param {Obj
chat/services/scrubberService.js:319
↓ 2 callers
Method
ensureBackend
(apiKey)
chat/services/scrubberService.js:274
↓ 2 callers
Method
ensureTurnstileBubbleReady
()
chat/components/WelcomePanel.js:883
↓ 2 callers
Function
ensureVectorMeta
(db, collection, { dimension, metric, normalize })
vector/idbStore.js:44
↓ 2 callers
Function
escapeHtml
(value)
chat/services/memoryRetrievalAssessment.js:71
↓ 2 callers
Function
escapeHtml
(value)
chat/services/editableDiffRenderer.js:3
↓ 2 callers
Method
escapeHtml
* Escapes HTML special characters in text. * @param {string} text - The text to escape * @returns {string} HTML-safe text
chat/components/Sidebar.js:57
↓ 2 callers
Method
escapeHtmlAttribute
(str)
chat/components/VerifierAttestationModal.js:1554
↓ 2 callers
Function
estimate
(text)
local_inference/responseUtils.js:282
↓ 2 callers
Method
exportChatToPdf
* Exports the current chat session to a PDF file. * Delegates to pdfExport service.
chat/app.js:7731
↓ 2 callers
Method
extractMemoryUserDataContext
(reviewPrompt, fallbackText = '')
chat/app.js:4437
↓ 2 callers
Function
extractOutputText
(response)
chat/services/scrubberService.js:247
↓ 2 callers
Method
extractReasoningSubtitle
* Extracts a meaningful subtitle from reasoning content. * Only uses explicit subtitle markers (## headings or **bold** text). * Returns "Th
chat/components/ChatArea.js:2410
↓ 2 callers
Function
extractReasoningSummaries
* Extracts summaries from reasoning content (headings and bold text). * @param {string} reasoning - The reasoning content * @returns {Array} Array o
chat/components/MessageTemplates.js:791
↓ 2 callers
Function
extractShortModelName
* Extracts just the model name from a full "Provider: ModelName" string. * @param {string} fullName - Full model name (e.g., "OpenAI: GPT-5.1 Thinkin
chat/components/MessageTemplates.js:1333
↓ 2 callers
Function
extractTaggedOutput
(rawText, tagName)
chat/services/scrubberService.js:237
↓ 2 callers
Method
fetch
(resource, init = {}, config = {})
chat/services/networkProxy.js:641
↓ 2 callers
Method
fetchAndVerifyAttestation
()
chat/components/VerifierAttestationModal.js:61
↓ 2 callers
Function
fetchRetryJson
(url, init = {}, config = {})
chat/services/fetchRetry.js:272
↓ 2 callers
Function
fileToMultimodalContent
(file)
chat/services/fileUtils.js:430
↓ 2 callers
Function
filterDisabledModels
(models, disabledIds = [])
chat/domain/modelSelection.js:12
↓ 2 callers
Method
filterDisabledModels
(models)
chat/app.js:302
↓ 2 callers
Method
findIndexForOffset
(offset)
chat/components/Sidebar.js:666
↓ 2 callers
Method
finishInlineEdit
* Finishes inline editing and saves the new title. * @param {HTMLInputElement} input - The input element
chat/components/Sidebar.js:366
↓ 2 callers
Method
focusAccessInput
()
chat/components/ThanksPanel.js:80
↓ 2 callers
Method
focusMessageInput
({ force = false } = {})
chat/app.js:8532
↓ 2 callers
Function
formatAttachmentSize
(size)
chat/components/MessageTemplates.js:508
↓ 2 callers
Method
formatCertName
(certString)
chat/components/TLSSecurityModal.js:361
↓ 2 callers
Method
formatIssuer
(issuer)
chat/components/VerifierAttestationModal.js:1537
↓ 2 callers
Function
formatOpenAiInstantDisplayName
(variant)
chat/services/modelNames.js:42
↓ 2 callers
Method
formatProxyHostname
(url)
chat/components/TLSSecurityModal.js:368
↓ 2 callers
Method
formatReasoningDuration
* Formats a duration in milliseconds to a human-readable string. * @param {number} durationMs - Duration in milliseconds * @returns {string}
chat/components/ChatArea.js:2438
↓ 2 callers
Method
formatThemeName
* Formats theme name for display (capitalizes first letter). * @param {string} theme - Theme name * @returns {string} Formatted name
chat/components/ChatInput.js:1867
↓ 2 callers
Method
generateExpandedDetailsHTML
* Generate the expanded details HTML for a log entry
chat/components/RightPanel.js:1406
↓ 2 callers
Function
generateRecoveryCode
(wordCount = WORD_COUNT_DEFAULT)
chat/services/recoveryCode.js:39
↓ 2 callers
Method
generateSessionTitleIfNeeded
(sessionId, userMessageId)
chat/app.js:3914
↓ 2 callers
Method
generateTopSectionHTML
* Generates HTML for the top section (tickets and API key) only.
chat/components/RightPanel.js:1652
↓ 2 callers
Method
get
(ids, options = {})
vector/memoryBackend.js:174
↓ 2 callers
Method
getAccessAcquisitionKey
(session, modelNameOverride = null, modelIdOverride = null)
chat/app.js:8867
↓ 2 callers
Function
getActivityIcon
(log)
chat/services/networkLogRenderer.js:414
↓ 2 callers
Function
getBackendDefaultModelConfig
(backend)
chat/services/inference/inferenceService.js:64
↓ 2 callers
Method
getCount
()
chat/services/ticketStore.js:389
↓ 2 callers
Method
getCurrentAccessValue
()
chat/components/WelcomePanel.js:206
↓ 2 callers
Method
getCurrentModelName
()
chat/components/ModelPicker.js:193
↓ 2 callers
Method
getCurrentSessionStreamingPhase
()
chat/app.js:3655
↓ 2 callers
Method
getCurrentSidebarWidth
()
chat/app.js:7758
↓ 2 callers
Function
getCursorAffinity
(container, range)
chat/services/editableDiffRenderer.js:233
↓ 2 callers
Function
getDefaultModelId
()
chat/services/modelConfig.js:225
↓ 2 callers
Method
getDefaultValue
(key, options = {})
chat/services/preferencesStore.js:300
↓ 2 callers
Function
getDelay
* Calculate delay for next retry attempt. * @param {number} attempt - Current attempt number (0-indexed) * @param {number} baseDelayMs - Base delay
chat/services/fetchRetry.js:83
↓ 2 callers
Function
getDisabledModels
()
chat/services/modelConfig.js:215
↓ 2 callers
Method
getDisplayed
()
chat/services/smoothProgress.js:65
↓ 2 callers
Function
getEditableDiffSelectionState
(container)
chat/services/editableDiffRenderer.js:520
↓ 2 callers
Method
getExpiryAlignmentClass
(isKeyShared = null)
chat/components/RightPanel.js:1398
↓ 2 callers
Function
getExpiryTtl
()
chat/components/ShareModals.js:146
↓ 2 callers
Method
getExpiryWidthClass
(isKeyShared = null)
chat/components/RightPanel.js:1393
↓ 2 callers
Method
getFooterText
()
chat/components/Sidebar.js:555
↓ 2 callers
Method
getInitialState
()
chat/components/ChatHistoryImportModal.js:29
↓ 2 callers
Method
getInputHint
(kind)
chat/components/ThanksPanel.js:159
↓ 2 callers
Method
getItemHeight
(item)
chat/components/Sidebar.js:652
↓ 2 callers
Method
getKeyDisplayInfo
()
chat/components/RightPanel.js:1314
↓ 2 callers
Method
getLocalDateKey
(timestamp)
chat/app.js:7285
↓ 2 callers
Method
getMemoryContextEntries
(session)
chat/app.js:4448
↓ 2 callers
Method
getMessageRawFromDOM
* Gets raw message content from a data attribute (sync, Safari-safe). * @param {string} messageId - The message ID * @returns {string|null}
chat/components/ChatArea.js:907
↓ 2 callers
Method
getMessageTemplateOptions
* Returns template options for rendering a specific message * @param {string} messageId - Message ID * @returns {Object} Template options
chat/app.js:6530
↓ 2 callers
Function
getModelControls
()
experiments/local-webllm-demo.js:83
↓ 2 callers
Function
getNormalizedTextOffset
(container, targetNode, targetOffset)
chat/services/editableDiffRenderer.js:274
↓ 2 callers
Method
getPreferenceTimestampKey
(key)
chat/services/syncService.js:347
← previous
next →
601–700 of 2,047, ranked by callers