A React and Vite-based tool with an Express backend that converts text, screenshots, and Figma designs into clean, functional code powered by LLMs. It employs a conversational approach for continuous page effect adjustments. Now supports AWS Bedrock and Claude 3.5 Sonnet.
https://github.com/user-attachments/assets/a77d428f-ce29-4f0a-b692-d983fdb02258
Clone the repository:
git clone https://github.com/superyhee/claude-ui-copilot.git
cd ui-code-generator
Configure API key:
cd server
cp .env.example .env
Edit .env:
IS_DOCKER_ENV=true
ANTHROPIC_API_KEY=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_REGION=us-east-1
In the root directory of the project:
docker-compose up -d --build
In the root directory of the project, install dependencies and start the frontend and backend separately:
# Install frontend dependencies
cd frontend
npm install --legacy-peer-deps
npm run dev
# Install backend dependencies
cd ../server
npm install
npm run dev
Open your browser and visit http://localhost:9000 to see the frontend page.
Licensed under the MIT License.