MCPcopy Create free account

hub / github.com/abi/screenshot-to-code / functions

Functions861 in github.com/abi/screenshot-to-code

↓ 1 callersFunctionbuild_video_prompt_messages
( video_data_url: str, stack: Stack, text_prompt: str, image_generation_enabled: bool, des
backend/prompts/create/video.py:8
↓ 1 callersFunctionbytes_to_data_url
(image_bytes: bytes, mime_type: str)
backend/routes/screenshot.py:40
↓ 1 callersFunctioncalculateStats
()
frontend/src/components/evals/BestOfNEvalsPage.tsx:257
↓ 1 callersFunctioncall_replicate
( input: dict[str, str | int | float | bool], api_token: str, model: ReplicateImageModel = DEFAULT
backend/image_generation/replicate.py:178
↓ 1 callersFunctioncall_replicate_version
( version: str, input: dict[str, Any], api_token: str )
backend/image_generation/replicate.py:135
↓ 1 callersFunctioncancelCodeGeneration
()
frontend/src/App.tsx:282
↓ 1 callersFunctioncancelCodeGenerationAndReset
(commit: Commit)
frontend/src/App.tsx:287
↓ 1 callersMethodcapture
Render ``html`` to PNG bytes at the given device viewport.
backend/preview_screenshot/base.py:20
↓ 1 callersFunctioncapture_preview_screenshot
Render HTML to PNG via the active backend. The public entry point the screenshot_preview tool calls; the backend choice is invisible to calle
backend/preview_screenshot/registry.py:40
↓ 1 callersFunctioncapture_screenshot
( target_url: str, api_key: str, device: str = "desktop" )
backend/routes/screenshot.py:45
↓ 1 callersFunctioncollect_asset_candidates
(soup: BeautifulSoup)
backend/routes/export.py:159
↓ 1 callersFunctionconfigure_uploaded_asset_routes
(app: FastAPI)
backend/uploaded_assets/store.py:38
↓ 1 callersFunctioncount_pending_eval_tasks
( stack: Stack, model: str, input_files: Optional[List[str]] = None, n: int = 1, diff_mode
backend/evals/runner.py:56
↓ 1 callersFunctioncreateDesignSystemsClient
( request: DesignSystemsRequest )
frontend/src/lib/design-systems.ts:67
↓ 1 callersFunctioncreateHttpDesignSystemsRequest
( baseUrl = HTTP_BACKEND_URL, fetcher: typeof fetch = fetch )
frontend/src/lib/design-systems.ts:46
↓ 1 callersFunctioncreate_design_system
(request: CreateDesignSystemRequest)
backend/routes/design_systems.py:110
↓ 1 callersFunctioncreate_project_zip
(index_html: str, assets: Iterable[ExportedAsset])
backend/routes/export.py:442
↓ 1 callersFunctiondecode_data_url
(data_url: str)
backend/routes/export.py:254
↓ 1 callersFunctiondeleteDesignSystem
(id: string)
frontend/src/lib/design-systems.ts:113
↓ 1 callersFunctiondelete_design_system
(design_system_id: str)
backend/routes/design_systems.py:153
↓ 1 callersFunctiondescribeNode
(el: Element)
frontend/src/components/select-and-edit/utils.ts:7
↓ 1 callersFunctiondisplayHistoryItemType
(itemType: CommitType)
frontend/src/components/history/utils.ts:3
↓ 1 callersFunctiondoImport
()
frontend/src/components/unified-input/tabs/ImportTab.tsx:23
↓ 1 callersFunctiondownloadCode
(code: string)
frontend/src/components/preview/download.ts:20
↓ 1 callersFunctiondownload_image
( session: aiohttp.ClientSession, url: str, path: Path )
backend/run_image_generation_evals.py:151
↓ 1 callersFunctionedit_image
( prompt: str, image_urls: list[str], api_token: str, *, aspect_ratio: PImageEditAspectRat
backend/image_generation/replicate.py:160
↓ 1 callersFunctionensureOverlay
(doc: Document, kind: OverlayKind)
frontend/src/components/select-and-edit/overlays.ts:49
↓ 1 callersFunctionevent_generator
()
backend/routes/evals.py:235
↓ 1 callersMethodexecute
Execute the pipeline with the given WebSocket
backend/routes/generate_code.py:130
↓ 1 callersFunctionextractHtml
(code: string)
frontend/src/components/preview/extractHtml.ts:2
↓ 1 callersFunctionextractTagName
(html: string)
frontend/src/components/sidebar/Sidebar.tsx:30
↓ 1 callersFunctionextractTagName
(html: string)
frontend/src/components/history/utils.ts:34
↓ 1 callersFunctionextract_output_url
(result: Any, model: ReplicateEvalModel)
backend/run_image_generation_evals.py:119
↓ 1 callersFunctionextract_path_from_args
(raw_args: Any)
backend/agent/tools/parsing.py:93
↓ 1 callersFunctionfetchFolders
()
frontend/src/components/evals/BestOfNEvalsPage.tsx:52
↓ 1 callersFunctionfetchInputFiles
()
frontend/src/components/evals/InputFileSelector.tsx:29
↓ 1 callersFunctionfetchModels
()
frontend/src/components/evals/RunEvalsPage.tsx:60
↓ 1 callersFunctionfetch_asset
( client: httpx.AsyncClient, candidate: AssetCandidate, asset_index: int, base_url: str | None
backend/routes/export.py:336
↓ 1 callersFunctionfetch_remote_asset
( client: httpx.AsyncClient, fetch_url: str, extension_hint: str )
backend/routes/export.py:272
↓ 1 callersFunctionfileToDataURL
(file: File)
frontend/src/components/UpdateImageUpload.tsx:9
↓ 1 callersFunctionfileToDataURL
(file: File)
frontend/src/components/unified-input/tabs/UploadTab.tsx:12
↓ 1 callersFunctionfileToDataURL
(file: File)
frontend/src/components/sidebar/Sidebar.tsx:99
↓ 1 callersFunctionfilenameFromContentDisposition
(contentDisposition: string | null)
frontend/src/components/preview/download.ts:15
↓ 1 callersFunctionfind_available_port
(host: str, start_port: int, max_attempts: int)
backend/start.py:18
↓ 1 callersFunctionformatCost
(costUsd: number | null)
frontend/src/components/evals/PromptReportsPage.tsx:87
↓ 1 callersFunctionformatDuration
(startedAt?: number, endedAt?: number)
frontend/src/components/agent/AgentActivity.tsx:70
↓ 1 callersFunctionformatElapsedSince
(timestampMs: number | undefined, nowMs: number)
frontend/src/components/agent/AgentActivity.tsx:75
↓ 1 callersFunctionformatModelList
()
frontend/src/components/evals/RunEvalsPage.tsx:269
↓ 1 callersFunctionformatVariantWallClockDuration
( requestStartedAt: number | undefined, completedAt: number | undefined, nowMs: number )
frontend/src/components/agent/AgentActivity.tsx:80
↓ 1 callersMethodgenerateFromUrl
(url: string)
frontend/src/tests/qa.test.ts:267
↓ 1 callersFunctiongenerate_code_and_time
Generates code for an image, measures the time taken, and returns identifiers along with success/failure status. Returns a tuple: (or
backend/evals/runner.py:81
↓ 1 callersFunctiongenerate_code_for_image
(image_url: str, stack: Stack, model: Llm)
backend/evals/core.py:17
↓ 1 callersMethodgenerate_content
(self, **kwargs)
backend/tests/test_asset_extraction.py:38
↓ 1 callersFunctiongenerate_image
( model: ReplicateEvalModel, prompt: str, api_key: str )
backend/run_image_generation_evals.py:140
↓ 1 callersFunctiongenerate_image_replicate
(prompt: str, api_key: str)
backend/image_generation/generation.py:44
↓ 1 callersFunctiongetAugmentedFaviconDataUrl
( baseUrl: string, dotColor: string )
frontend/src/hooks/useBrowserTabIndicator.ts:17
↓ 1 callersFunctiongetCommitMedia
(commit: Commit)
frontend/src/components/history/utils.ts:39
↓ 1 callersFunctiongetDesignSystemUrl
(baseUrl: string, path: string)
frontend/src/lib/design-systems.ts:42
↓ 1 callersFunctiongetEventIcon
(type: AgentEventType, toolName?: string)
frontend/src/components/agent/AgentActivity.tsx:127
↓ 1 callersFunctiongetEventTitle
(event: AgentEvent)
frontend/src/components/agent/AgentActivity.tsx:164
↓ 1 callersFunctiongetExtractedAssetPreviewUrl
(asset: unknown)
frontend/src/components/agent/AgentActivity.tsx:103
↓ 1 callersFunctiongetFilteredIndices
()
frontend/src/components/evals/BestOfNEvalsPage.tsx:122
↓ 1 callersFunctiongetLastSentence
(text: string)
frontend/src/components/thinking/ThinkingIndicator.tsx:6
↓ 1 callersFunctiongetSelectedElementTag
(commit: Commit | null)
frontend/src/components/sidebar/Sidebar.tsx:55
↓ 1 callersFunctiongetSelectedElementTag
(commit: Commit)
frontend/src/components/history/utils.ts:65
↓ 1 callersFunctionget_openai_reasoning_effort
(model: Llm)
backend/llm.py:127
↓ 1 callersFunctiongoToComparison
(index: number)
frontend/src/components/evals/BestOfNEvalsPage.tsx:166
↓ 1 callersFunctiongoToNext
()
frontend/src/components/evals/BestOfNEvalsPage.tsx:153
↓ 1 callersFunctiongoToPrevious
()
frontend/src/components/evals/BestOfNEvalsPage.tsx:140
↓ 1 callersFunctionhandleClear
()
frontend/src/components/unified-input/tabs/UploadTab.tsx:97
↓ 1 callersFunctionhandleExampleClick
(example: string)
frontend/src/components/unified-input/tabs/TextTab.tsx:46
↓ 1 callersFunctionhandleFileToggle
(filePath: string)
frontend/src/components/evals/InputFileSelector.tsx:50
↓ 1 callersFunctionhandleGenerate
()
frontend/src/components/generate-from-text/GenerateFromText.tsx:21
↓ 1 callersFunctionhandleLoad
()
frontend/src/components/preview/PreviewComponent.tsx:214
↓ 1 callersFunctionhandleModelToggle
(model: string)
frontend/src/components/evals/RunEvalsPage.tsx:251
↓ 1 callersFunctionhandleRemoveImage
(index: number)
frontend/src/components/unified-input/tabs/UploadTab.tsx:263
↓ 1 callersFunctionhandleThemeChange
(theme: EditorTheme)
frontend/src/components/settings/SettingsTab.tsx:45
↓ 1 callersFunctionhideHoverOverlay
(doc: Document | null | undefined)
frontend/src/components/select-and-edit/overlays.ts:130
↓ 1 callersFunctionhideSelectionOverlay
(doc: Document | null | undefined)
frontend/src/components/select-and-edit/overlays.ts:142
↓ 1 callersMethodimportFromCode
(code: string)
frontend/src/tests/qa.test.ts:302
↓ 1 callersFunctioninfer_local_asset_base_url
(websocket: WebSocket)
backend/uploaded_assets/store.py:43
↓ 1 callersFunctioninstallDomTestHooks
(page: Page)
frontend/src/tests/qa.test.ts:408
↓ 1 callersFunctioninstallMockWebSocket
(page: Page)
frontend/src/tests/qa.test.ts:437
↓ 1 callersFunctionisDevHost
()
frontend/src/hooks/useBrowserTabIndicator.ts:58
↓ 1 callersFunctionisSlowGeminiModel
(model?: string)
frontend/src/components/sidebar/Sidebar.tsx:62
↓ 1 callersFunctionis_fetchable_asset_reference
(url: str)
backend/routes/export.py:104
↓ 1 callersFunctionis_local_host_url
True if the URL points at this host (a loopback address). Such URLs are reachable from this backend but NOT from cloud model APIs (Anthropic,
backend/agent/tools/local_assets.py:19
↓ 1 callersFunctionis_port_available
(host: str, port: int)
backend/start.py:7
↓ 1 callersFunctionis_public_http_url
(url: str)
backend/routes/export.py:223
↓ 1 callersFunctionis_screenshot_preview_available
Synchronous accessor for the cached probe result. Defaults to True when the probe hasn't run yet so we never wrongly hide the tool before sta
backend/preview_screenshot/registry.py:30
↓ 1 callersFunctionis_skippable_asset_url
(url: str)
backend/routes/export.py:79
↓ 1 callersFunctionload_prompts
(prompt_file: Path)
backend/run_image_generation_evals.py:60
↓ 1 callersFunctionmain
()
backend/run_evals.py:10
↓ 1 callersFunctionmain
()
backend/run_image_generation_evals.py:285
↓ 1 callersFunctionmediaFromValue
(value: unknown)
frontend/src/components/evals/PromptReportsPage.tsx:140
↓ 1 callersFunctionnodeSummary
(value: unknown)
frontend/src/components/evals/PromptReportsPage.tsx:189
↓ 1 callersFunctionnormalizeBase64
(data: string)
frontend/src/components/evals/PromptReportsPage.tsx:134
↓ 1 callersFunctiononSubscribe
()
frontend/src/components/TermsOfServiceDialog.tsx:22
↓ 1 callersFunctionopenInNewTab
(code: string)
frontend/src/components/preview/PreviewPane.tsx:34
↓ 1 callersFunctionparseJsonResponse
(response: Response)
frontend/src/lib/design-systems.ts:33
← previousnext →301–400 of 861, ranked by callers