Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeFox-Repo/codefox
/ functions
Functions
1,011 in github.com/CodeFox-Repo/codefox
⨍
Functions
1,011
◇
Types & classes
403
↓ 2 callers
Function
getModelStatusPath
()
codefox-common/src/common-path.ts:40
↓ 2 callers
Method
getPipeline
(model: string)
backend/src/downloader/embedding-downloader.ts:18
↓ 2 callers
Method
getQueueKey
(config: ModelConfig)
backend/src/common/model-provider/openai-model-provider.ts:31
↓ 2 callers
Function
getTempDir
()
codefox-common/src/common-path.ts:92
↓ 2 callers
Method
getUser
(id: string)
backend/src/user/user.service.ts:39
↓ 2 callers
Function
handleChatResponse
(targetChatId: string, message: string)
frontend/src/hooks/useChatStream.ts:83
↓ 2 callers
Function
handleSubmit
()
frontend/src/components/root/prompt-form.tsx:82
↓ 2 callers
Method
initialize
()
llm-server/src/types.ts:38
↓ 2 callers
Method
isTokenStored
(token: string)
backend/src/jwt-cache/jwt-cache.service.ts:124
↓ 2 callers
Method
loadConfig
()
codefox-common/src/config-loader.ts:85
↓ 2 callers
Function
normalizeAvatarUrl
( avatarUrl: string | null | undefined )
frontend/src/components/avatar-uploader.tsx:13
↓ 2 callers
Method
parseJsonStructure
(jsonContent: string)
backend/src/build-system/virtual-dir/index.ts:9
↓ 2 callers
Method
pushFileContent
* Push a single file to the given path in the repo using GitHub Contents API. * * @param relativePathInRepo e.g. "backend/index.js" or "frontend
backend/src/github/github.service.ts:200
↓ 2 callers
Function
refreshAccessToken
()
frontend/src/lib/authenticatedFetch.ts:14
↓ 2 callers
Function
renderMessageContent
(content: string)
frontend/src/components/chat/chat-list.tsx:83
↓ 2 callers
Function
shouldUpdateCache
()
frontend/src/hooks/useModels.ts:20
↓ 2 callers
Method
streamChat
( input: ChatInput, )
backend/src/chat/chat.service.ts:24
↓ 2 callers
Method
timeRecorder
( generateDuration: number, name: string, step: string, input: string, output: string, )
backend/src/build-system/monitor.ts:84
↓ 2 callers
Method
transformInputToProjectPackages
( inputPackages: ProjectPackage[], )
backend/src/project/project.service.ts:284
↓ 2 callers
Function
typewriterEffect
( textArray: string[], delay: number )
frontend/src/hooks/multi-agent/tools.ts:54
↓ 2 callers
Function
updateMessage
()
frontend/src/hooks/multi-agent/tools.ts:61
↓ 2 callers
Method
updateSequenceMetrics
(sequenceId: string)
backend/src/build-system/monitor.ts:259
↓ 2 callers
Method
upload
* Upload a file to either S3/Cloudflare R2 or local storage based on configuration * @param file File to upload (can be a GraphQL FileUpload or a B
backend/src/upload/upload.service.ts:71
↓ 2 callers
Function
useChart
()
backend/template/react-ts/src/components/ui/chart.tsx:25
↓ 2 callers
Function
useChatList
()
frontend/src/hooks/useChatList.ts:7
↓ 2 callers
Function
useModels
()
frontend/src/hooks/useModels.ts:14
↓ 2 callers
Function
validateAndBufferFile
( file: FileUpload, )
backend/src/common/security/file_check.ts:20
↓ 2 callers
Function
validatePassword
(value: string)
frontend/src/components/sign-up-modal.tsx:52
↓ 1 callers
Function
RequireRoles
(...roles: string[])
backend/src/decorator/auth.decorator.ts:23
↓ 1 callers
Function
UniversalUpdateDateColumn
(options: UniversalDateOptions = {})
backend/src/common/decorators/universal-date-column.ts:39
↓ 1 callers
Method
addRetryDelay
* Adds a delay before the next retry attempt. * The delay increases linearly based on the current retry count. * @param {number} retryCount - Th
backend/src/build-system/retry-handler.ts:56
↓ 1 callers
Function
animate
()
frontend/src/components/magicui/aurora-text.tsx:107
↓ 1 callers
Method
batchChatSync
(requests: ChatInput[])
backend/src/common/model-provider/openai-model-provider.ts:219
↓ 1 callers
Method
bindUserIdAndInstallId
( userId: string, installationId: string, githubCode: string, )
backend/src/user/user.service.ts:70
↓ 1 callers
Function
bootstrap
()
backend/src/main.ts:8
↓ 1 callers
Function
buildConcurrencyLayers
* Creates concurrency layers (or "waves") of files so that * files with no remaining dependencies can be processed in parallel. * * @param nodes -
backend/src/build-system/utils/file_generator_util.ts:260
↓ 1 callers
Function
buildDependencyLayerGraph
(jsonData: { files: Record<string, { dependsOn: string[] }>; })
backend/src/build-system/utils/file_generator_util.ts:54
↓ 1 callers
Function
buildProjectSequenceByProject
( input: CreateProjectInput, )
backend/src/project/build-system-utils.ts:19
↓ 1 callers
Function
buildTree
(paths)
frontend/src/app/api/project/route.ts:44
↓ 1 callers
Method
buildVirtualDirectory
(jsonContent: string)
backend/src/build-system/__tests__/mock/MockBuilderContext.ts:85
↓ 1 callers
Method
canCreateProject
* Checks if a user has exceeded their daily project creation limit * @param userId The user ID to check * @returns A boolean indicating whether
backend/src/project/project.service.ts:143
↓ 1 callers
Method
canExecute
* Checks if a node can be executed based on its handler's execution state and dependencies. * @param node The node whose execution eligibility need
backend/src/build-system/context.ts:168
↓ 1 callers
Method
chat
* Stream-based chat method that returns an async iterator * @param input The chat input containing messages * @param model The model to use for
backend/src/common/model-provider/types.ts:43
↓ 1 callers
Function
checkAndDownloadAllEmbeddings
()
backend/src/downloader/universal-utils.ts:40
↓ 1 callers
Function
checkAndDownloadAllModels
()
llm-server/src/downloader/universal-utils.ts:47
↓ 1 callers
Function
checkBaseImageExists
* Check if base image exists
frontend/src/app/api/runProject/route.ts:209
↓ 1 callers
Function
checkExistingContainer
* Check if there's already a container running with the specified label
frontend/src/app/api/runProject/route.ts:224
↓ 1 callers
Method
checkNodeDependencies
* Checks if a node's dependencies have been satisfied. * Each handler may have a set of dependencies that must be completed before the node can run
backend/src/build-system/context.ts:430
↓ 1 callers
Function
checkPort
(port: number)
frontend/src/app/api/runProject/route.ts:152
↓ 1 callers
Function
checkProjectStatus
()
frontend/src/hooks/useProjectStatusMonitor.ts:46
↓ 1 callers
Function
checkScreenWidth
()
frontend/src/components/chat/chat-bottombar.tsx:45
↓ 1 callers
Function
checkUrlForProject
()
frontend/src/components/chat/code-engine/project-context.tsx:289
↓ 1 callers
Function
checkUrlStatus
( url: string, maxRetries = 30, delayMs = 1000 )
frontend/src/components/chat/code-engine/project-context.tsx:65
↓ 1 callers
Method
cleanJsonContent
(jsonContent: string)
backend/src/build-system/virtual-dir/index.ts:26
↓ 1 callers
Method
cleanupExpiredTokens
()
backend/src/jwt-cache/jwt-cache.service.ts:66
↓ 1 callers
Method
closeDatabase
()
backend/src/jwt-cache/jwt-cache.service.ts:84
↓ 1 callers
Function
codeReviewPrompt
(message: string)
frontend/src/hooks/multi-agent/agentPrompt.ts:302
↓ 1 callers
Function
commitChangesPrompt
(message: string)
frontend/src/hooks/multi-agent/agentPrompt.ts:342
↓ 1 callers
Function
confirmationPrompt
( taskType: string, context: AgentContext )
frontend/src/hooks/multi-agent/agentPrompt.ts:378
↓ 1 callers
Function
convertTreeToComplexTree
(tree, parentId = 'root')
frontend/src/app/api/project/route.ts:69
↓ 1 callers
Method
createChat
(userId: string, newChatInput: NewChatInput)
backend/src/chat/chat.service.ts:111
↓ 1 callers
Method
createChatWithMessage
( userId: string, newChatInput: { title: string; message: string }, )
backend/src/chat/chat.service.ts:128
↓ 1 callers
Method
createDefaultRole
(roleName: string)
backend/src/init/init-roles.service.ts:38
↓ 1 callers
Function
createFileWithRetries
( filePath: string, content: string, maxRetries = 3, delayMs = 200, )
backend/src/build-system/utils/files.ts:128
↓ 1 callers
Method
createInstance
( config: ModelConfig, modelName: string, )
llm-server/src/model/remote-model-factory.ts:8
↓ 1 callers
Method
createProjectInBackground
( input: CreateProjectInput, projectName: string, userId: string, chat: Chat, )
backend/src/project/project.service.ts:226
↓ 1 callers
Method
createProjectZip
* Creates a ZIP file from a project's directory * @param userId The user ID making the request * @param projectId The project ID to download
backend/src/project/project.service.ts:705
↓ 1 callers
Method
createTable
()
backend/src/jwt-cache/jwt-cache.service.ts:36
↓ 1 callers
Method
createUserRepo
* Create a new repository under the *user's* account. * If you need an org-level repo, use POST /orgs/{org}/repos.
backend/src/github/github.service.ts:142
↓ 1 callers
Method
dequeue
()
backend/src/build-system/handlers/frontend-code-generate/CodeReview.ts:53
↓ 1 callers
Function
detectCycles
(graph: [string, string][])
backend/src/build-system/utils/file_generator_util.ts:165
↓ 1 callers
Method
determineModelType
(config: ModelConfig)
llm-server/src/llm-provider.ts:30
↓ 1 callers
Function
downloadAll
()
llm-server/src/downloader/universal-utils.ts:8
↓ 1 callers
Function
downloadEmbeddingModel
(modelName: string)
backend/src/downloader/universal-utils.ts:19
↓ 1 callers
Function
downloadModel
(modelName: string, task: string)
llm-server/src/downloader/universal-utils.ts:13
↓ 1 callers
Function
editFilePrompt
( description: string, file_content: { [key: string]: string } )
frontend/src/hooks/multi-agent/agentPrompt.ts:235
↓ 1 callers
Method
endSequenceExecution
( sequenceId: string, projectUUID: string, )
backend/src/build-system/monitor.ts:228
↓ 1 callers
Method
enqueue
(task: FileTask)
backend/src/build-system/handlers/frontend-code-generate/CodeReview.ts:49
↓ 1 callers
Function
ensureBaseImageExists
* Build base image if it doesn't exist
frontend/src/app/api/runProject/route.ts:246
↓ 1 callers
Method
ensureDirectoryExists
()
backend/src/build-system/logger.ts:43
↓ 1 callers
Method
exchangeOAuthCodeForToken
(code: string)
backend/src/github/github.service.ts:87
↓ 1 callers
Method
execute
()
backend/src/build-system/__tests__/mock/MockBuilderContext.ts:89
↓ 1 callers
Method
executeOperations
* Executes an array of file operations sequentially. * * @param operations - An array of operations to perform. * @returns The final "renameP
backend/src/build-system/handlers/frontend-code-generate/FileOperationManager.ts:51
↓ 1 callers
Function
executeWithRetry
()
frontend/src/app/api/runProject/route.ts:295
↓ 1 callers
Method
extractAllGlobalCompSections
* Extracts all <global_component> sections as raw strings, including the tags. * @param text The UX Structure Document content. * @returns Array
backend/src/build-system/handlers/ux/sitemap-structure/sms-page.ts:172
↓ 1 callers
Method
extractAllPageViewSections
* Extracts all <page_view> sections as raw strings, including the tags. * @param text The UX Structure Document content. * @returns Array of ext
backend/src/build-system/handlers/ux/sitemap-structure/sms-page.ts:162
↓ 1 callers
Method
extractFeaturesSection
* Extracts the "Features" section from the PRD content * @param prdContent The full PRD content * @returns The extracted features section or nul
backend/src/build-system/handlers/product-manager/product-requirements-document/prd.ts:175
↓ 1 callers
Function
extractJsonFromMarkdown
(markdownContent: string)
backend/src/build-system/utils/strings.ts:82
↓ 1 callers
Function
extractJsonFromText
(content: string)
backend/src/build-system/utils/strings.ts:141
↓ 1 callers
Method
extractProjectIdentifier
(args: any)
backend/src/guard/project.guard.ts:64
↓ 1 callers
Method
extractProjectOverviewSection
* Extracts the "Project Overview" section from the PRD content * @param prdContent The full PRD content * @returns The extracted project overvie
backend/src/build-system/handlers/product-manager/product-requirements-document/prd.ts:166
↓ 1 callers
Function
extractThemeString
(content: string)
backend/src/build-system/handlers/ux/sitemap-structure/index.ts:124
↓ 1 callers
Method
extractTokenFromHeader
(req: any)
backend/src/guard/jwt-auth.guard.ts:72
↓ 1 callers
Function
fetchData
()
frontend/src/hooks/useLocalStorageData.ts:14
↓ 1 callers
Function
fetchFileStructure
(projectId)
frontend/src/app/api/project/route.ts:24
↓ 1 callers
Function
fetchFileStructure
(projectId)
frontend/src/app/api/filestructure/route.ts:24
↓ 1 callers
Function
fetchGitHubStars
()
frontend/src/components/root/nav.tsx:78
↓ 1 callers
Method
fetchModelTags
()
backend/src/chat/chat.service.ts:43
↓ 1 callers
Method
fetchModelsName
* Fetch available model names * @returns Promise resolving to array of model names
backend/src/common/model-provider/types.ts:58
↓ 1 callers
Function
findAvailablePort
* Find an available port
frontend/src/app/api/runProject/route.ts:147
← previous
next →
101–200 of 1,011, ranked by callers