MCPcopy Create free account

hub / github.com/VGabriel45/SolidityVisualizer / functions

Functions93 in github.com/VGabriel45/SolidityVisualizer

↓ 19 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 7 callersFunctionformat_user_message
Formats a dictionary of data into a structured user message with XML-style tags. Args: data (dict[str, str]): Dictionary of key-valu
backend/app/utils/format_message.py:1
↓ 5 callersMethod_get_headers
(self)
backend/app/services/github_service.py:67
↓ 3 callersFunctioncacheDiagramAndExplanation
( username: string, repo: string, diagram: string, explanation: string, usedOwnKey = false, )
src/app/_actions/cache.ts:57
↓ 3 callersMethodcall_o3_api_stream
Makes a streaming API call to OpenAI o3-mini and yields the responses. Args: system_prompt (str): The instruction/system
backend/app/services/o3_mini_openai_service.py:72
↓ 3 callersMethodcount_tokens
Counts the number of tokens in a prompt. Args: prompt (str): The prompt to count tokens for Returns:
backend/app/services/claude_service.py:43
↓ 3 callersFunctiongetLastGeneratedDate
(username: string, repo: string)
src/app/_actions/repo.ts:7
↓ 2 callersFunctiongetCachedDiagram
(username: string, repo: string)
src/app/_actions/cache.ts:21
↓ 2 callersFunctiongetCostOfGeneration
( username: string, repo: string, instructions: string, github_pat?: string, )
src/lib/fetch-backend.ts:131
↓ 2 callersFunctiongetStepNumber
(status: string)
src/components/loading.tsx:46
↓ 2 callersFunctionget_cached_github_data
(username: str, repo: str, github_pat: str | None = None)
backend/app/routers/generate.py:36
↓ 2 callersMethodget_default_branch
Get the default branch of the repository.
backend/app/services/github_service.py:108
↓ 2 callersFunctionhandleDropdownToggle
(dropdown: "customize" | "export")
src/components/main-card.tsx:119
↓ 2 callersFunctionisExampleRepo
(repoName: string)
src/hooks/useDiagram.ts:326
↓ 2 callersFunctionshouldShowReasoning
(currentStatus: string)
src/components/loading.tsx:105
↓ 2 callersFunctiontestDatabaseConnection
()
src/app/_actions/cache.ts:8
↓ 1 callersMethod_check_repository_exists
Check if the repository exists using the GitHub API.
backend/app/services/github_service.py:90
↓ 1 callersMethod_generate_jwt
(self)
backend/app/services/github_service.py:37
↓ 1 callersMethod_get_installation_token
(self)
backend/app/services/github_service.py:49
↓ 1 callersMethodcall_o1_api
Makes an API call to OpenAI o1-mini and returns the response. Args: system_prompt (str): The instruction/system prompt
backend/app/services/o1_mini_openai_service.py:21
↓ 1 callersFunctionevent_generator
()
backend/app/routers/generate.py:147
↓ 1 callersFunctionformatStarCount
(count: number | null)
src/components/header.tsx:20
↓ 1 callersFunctiongetCachedExplanation
(username: string, repo: string)
src/app/_actions/cache.ts:40
↓ 1 callersFunctiongetStatusDisplay
()
src/components/loading.tsx:141
↓ 1 callersMethodget_github_file_paths_as_list
Fetches the file tree of an open-source GitHub repository, excluding static files and generated code. Args: user
backend/app/services/github_service.py:121
↓ 1 callersMethodget_github_readme
Fetches the README contents of an open-source GitHub repository. Args: username (str): The GitHub username or organizati
backend/app/services/github_service.py:222
↓ 1 callersFunctionhandleExampleClick
(repoPath: string, e: React.MouseEvent)
src/components/main-card.tsx:114
↓ 1 callersFunctioninitializePanZoom
()
src/components/mermaid-diagram.tsx:42
↓ 1 callersFunctionprocessStream
()
src/hooks/useDiagram.ts:94
↓ 1 callersFunctionprocess_click_events
Process click events in Mermaid diagram to include full GitHub URLs. Detects if path is file or directory and uses appropriate URL format.
backend/app/routers/generate.py:101
↓ 1 callersFunctionrenderReasoningMessage
()
src/components/loading.tsx:127
↓ 1 callersFunctionuseDiagram
(username: string, repo: string)
src/hooks/useDiagram.ts:42
FunctionActionButton
({ onClick, icon: Icon, tooltipText, disabled, text, loading = false, }: ActionButtonProps)
src/components/action-button.tsx:20
FunctionApiKeyButton
({ onClick }: ApiKeyButtonProps)
src/components/api-key-button.tsx:8
FunctionApiKeyDialog
({ isOpen, onClose, onSubmit }: ApiKeyDialogProps)
src/components/api-key-dialog.tsx:15
FunctionCSPostHogProvider
({ children }: { children: React.ReactNode })
src/app/providers.tsx:24
FunctionCopyButton
({ onClick, loading = false }: CopyButtonProps)
src/components/copy-button.tsx:16
FunctionCustomizationDropdown
({ onModify, onRegenerate, lastGenerated, loading = false, }: CustomizationDropdownProps)
src/components/customization-dropdown.tsx:14
FunctionDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/dialog.tsx:70
FunctionDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/dialog.tsx:56
FunctionExportDropdown
({ onCopy, lastGenerated, onExportImage, loading = false, }: ExportDropdownProps)
src/components/export-dropdown.tsx:13
FunctionFooter
()
src/components/footer.tsx:4
FunctionHeader
()
src/components/header.tsx:10
FunctionHero
()
src/components/hero.tsx:3
FunctionHomePage
()
src/app/page.tsx:4
FunctionLoading
({ status = "idle", explanation, mapping, diagram, cost, }: LoadingProps)
src/components/loading.tsx:80
FunctionLoadingAnimation
()
src/components/loading-animation.tsx:7
FunctionMainCard
({ isHome = true, username, repo, showCustomization, onModify, onRegenerate, onCopy, lastGener
src/components/main-card.tsx:32
FunctionMermaidChart
({ chart, zoomingEnabled = true }: MermaidChartProps)
src/components/mermaid-diagram.tsx:13
FunctionPrivateReposDialog
({ isOpen, onClose, onSubmit, }: PrivateReposDialogProps)
src/components/private-repos-dialog.tsx:15
FunctionRepo
()
src/app/[username]/[repo]/page.tsx:12
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode }>)
src/app/layout.tsx:72
FunctionSequentialDots
()
src/components/loading.tsx:53
FunctionStepDots
({ currentStep }: { currentStep: number })
src/components/loading.tsx:65
Method__init__
(self)
backend/app/services/o3_mini_openrouter_service.py:14
Method__init__
(self, pat: str | None = None)
backend/app/services/github_service.py:17
Method__init__
(self)
backend/app/services/o3_mini_openai_service.py:14
Method__init__
(self)
backend/app/services/o1_mini_openai_service.py:14
Method__init__
(self)
backend/app/services/claude_service.py:9
Methodcall_claude_api
Makes an API call to Claude and returns the response. Args: system_prompt (str): The instruction/system prompt
backend/app/services/claude_service.py:12
Methodcall_o1_api_stream
Makes a streaming API call to OpenAI o1-mini and yields the responses. Args: system_prompt (str): The instruction/system
backend/app/services/o1_mini_openai_service.py:70
Methodcall_o3_api
Makes an API call to OpenRouter O3 and returns the response. Args: system_prompt (str): The instruction/system prompt
backend/app/services/o3_mini_openrouter_service.py:22
Methodcall_o3_api
Makes an API call to OpenAI o3-mini and returns the response. Args: system_prompt (str): The instruction/system prompt
backend/app/services/o3_mini_openai_service.py:21
Methodcall_o3_api_stream
Makes a streaming API call to OpenRouter O3 and yields the responses. Args: system_prompt (str): The instruction/system
backend/app/services/o3_mini_openrouter_service.py:70
Methodcount_tokens
Counts the number of tokens in a prompt. Note: This is a rough estimate as OpenRouter may not provide direct token counting.
backend/app/services/o3_mini_openrouter_service.py:132
Methodcount_tokens
Counts the number of tokens in a prompt. Args: prompt (str): The prompt to count tokens for Returns:
backend/app/services/o3_mini_openai_service.py:156
Methodcount_tokens
Counts the number of tokens in a prompt. Args: prompt (str): The prompt to count tokens for Returns:
backend/app/services/o1_mini_openai_service.py:161
FunctiongenerateAndCacheDiagram
( username: string, repo: string, github_pat?: string, instructions?: string, api_key?: string, )
src/lib/fetch-backend.ts:25
Functiongenerate_stream
(request: Request, body: ApiRequest)
backend/app/routers/generate.py:128
FunctiongetDiagramStats
()
src/app/_actions/cache.ts:107
Functionget_generation_cost
(request: Request, body: ApiRequest)
backend/app/routers/generate.py:60
FunctionhandleApiKeySubmit
(apiKey: string)
src/components/main-card.tsx:108
FunctionhandleApiKeySubmit
(apiKey: string)
src/components/header.tsx:34
FunctionhandleApiKeySubmit
(apiKey: string)
src/hooks/useDiagram.ts:461
FunctionhandleClear
()
src/components/api-key-dialog.tsx:31
FunctionhandleClear
()
src/components/private-repos-dialog.tsx:35
FunctionhandleClick
()
src/components/copy-button.tsx:19
FunctionhandleCloseApiKeyDialog
()
src/hooks/useDiagram.ts:481
FunctionhandleCopy
()
src/hooks/useDiagram.ts:407
FunctionhandleExportImage
()
src/hooks/useDiagram.ts:415
FunctionhandleModify
(instructions: string)
src/hooks/useDiagram.ts:332
FunctionhandleOpenApiKeyDialog
()
src/hooks/useDiagram.ts:485
FunctionhandlePrivateReposSubmit
(pat: string)
src/components/header.tsx:28
FunctionhandleRegenerate
(instructions: string)
src/hooks/useDiagram.ts:364
FunctionhandleSubmit
(e: React.FormEvent)
src/components/api-key-dialog.tsx:25
FunctionhandleSubmit
(e: React.FormEvent)
src/components/main-card.tsx:75
FunctionhandleSubmit
(e: React.FormEvent)
src/components/private-repos-dialog.tsx:29
Functionmodify
(request: Request, body: ModifyRequest)
backend/app/routers/modify.py:34
FunctionmodifyAndCacheDiagram
( username: string, repo: string, instructions: string, )
src/lib/fetch-backend.ts:75
Functionreplace_path
(match)
backend/app/routers/generate.py:107
Functionrewrites
()
next.config.js:15
Functionroot
(request: Request)
backend/app/main.py:44
Methodshould_include_file
(path)
backend/app/services/github_service.py:135