screenshot-to-code
screenshot-to-code copied to clipboard
Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)
add mcp support
Variant models: Variant 1: gpt-4.1-2025-04-14 Variant 2: gpt-4o-2024-11-20 Variant 3: gpt-4.1-2025-04-14 Variant 4: gpt-4o-2024-11-20 gpt-4o-2024-11-20 completion took 43.21 seconds Generating images with model: dalle3 gpt-4o-2024-11-20 completion took 43.74 seconds Generating...
# Claude Code Pro CLI Integration ## Summary This PR adds comprehensive Claude Code Pro CLI integration to screenshot-to-code, enabling users to generate code from screenshots using their Claude Code...
Fixes #599 ## Problem When a client connects to `/generate-code` and disconnects abnormally (close code 1006) before sending parameters, the backend crashes with a `RuntimeError`: ``` starlette.websockets.WebSocketDisconnect: (, None) RuntimeError:...
## Bug Description When a client connects to the `/generate-code` WebSocket endpoint and disconnects abnormally (close code 1006) before sending parameters, the backend crashes with a `RuntimeError`. ## Traceback ```...
## Summary - Adds LiteLLM as a new LLM provider, enabling access to 100+ providers (OpenAI, Anthropic, Google, Azure, Bedrock, Ollama, etc.) via a single unified SDK - New `LiteLLMProviderSession`...
## Problem The UI has no way to choose the code generation model, and backend model selection is still tied to provider/key combinations. This can break deployments when the connected...
When image generation is disabled, the current image policy falls back to placeholder URLs: https://github.com/abi/screenshot-to-code/blob/7fb70a7f04e0b83c08ec15e2c83aa35986c82115/backend/prompts/policies.py#L15-L18 That is a reasonable safe default, but there is a useful middle lane between generated...
gpt 5.2-codex is not in my api key
Found via SkillFence scan (npmjs.com/package/skillfence, 76 rules). Findings in 153 files: - CORS wildcard (*) in system_prompt.py server config - eval() in evals.py — dynamic code execution risk - API...