Skip to content

sparrow-js/an-codeAI

Repository files navigation

ant-codeAI

English · 中文

By using AI technology to generate highly available code, web (React, Vue, Tailwind CSS), native (react native) and other codes, GPT-4 Vision is used to generate it. By converting screenshots into code, you can customize prompts to generate controllable code. The whiteboard function can generate code based on different drafts.

web support(React,Vue,Tailwind CSS)

2023-12-28.9.44.27.mov

app support(react native)

2023-12-21.9.29.07.mov

🚀 Try It Out!

online

You can download it and run it locally.

npm run dev

🛠 Setting

Pasted Graphic 1
  • OpenAI API Key
  • OpenAI Base URL(proxy url, default:https://api.openai.com/v1)
  • Mock AI Response(mock AIThe returned data does not directly request AI)

Generate

Original Generate
截屏2023-12-16 上午12 14 18 截屏2023-12-16 上午8 41 15
截屏2023-12-17 下午1 38 21 截屏2023-12-17 下午1 38 48

if this project is helpful to you, buy me a coffee.

"Buy Me A Coffee"

reference material screenshot-to-code