Screenshot-to-Code

Overview/
├── Introduction
│   ├── Overview of the App
│   └── Technology Used (GPT-4 Vision and DALL-E 3)
├── Generated Languages
│   └── Support for HTML, Tailwind CSS, React, Vue, Bootstrap
└── CLI Installation

1. Introduction

Overview of the App:

2. Generated Languages

3. CLI Installation

1. create a clean environment with conda

$ conda create --name screenshot python=3.12
$ conda activate screenshot

2. clone the repository

$ git clone <https://github.com/abi/screenshot-to-code.git>

3. install the pacakge management

$ pip install poetry

4. run the backend

$ cd backend
$ echo "OPENAI_API_KEY=sk-your-key" > .env
$ poetry install
$ poetry shell
$ poetry run uvicorn main:app --reload --port 7001