• Stars
    star
    501
  • Rank 88,002 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 2 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

AI generate code

an-codeAI

English · 中文

By using OpenAI and Gemini technologies to generate highly available code, it supports web (React, Vue, Tailwind CSS, shadcn/ui), native (react native) and other codes. It is generated using GPT-4 Vision. Code is generated by taking screenshots, drawing drafts, and inputting ideas.

Promotionalvideo.mp4

🔥 Support

  • technology stack: web (React, Vue, Tailwind CSS, shadcn/ui), native (react native)
  • Editing support (HTML+Tailwind, react+Tailwind, react+Tailwind+shadcn/ui)
  • Entry Information: screenshot、text、whiteboard

React+shadcn/ui

excalidraw draw Output code
截屏2024-01-17 下午5.42.29.png 截屏2024-01-17 下午5.42.40.png

🚀 Try It Out!

online

You can download it and run it locally.

npm run dev

🛠 Setting

Supports OpenAI, Gemini (free), Gemini output is not good

setting

OpenAI:

  • 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)

Gemini (Not recommended)(free):

  • Gemini API key

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

"Buy Me A Coffee"