Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

sparrow-js/an-codeAI

Open more actions menu
 
 

Repository files navigation

ant-codeAI

English · 中文

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

2024-01-07.1.04.52.mov

Editing support (HTML+Tailwind, react+Tailwind, react+Tailwind+shadcn/ui)

Home page display and editing capabilities

home page Support editing
截屏2024-01-17 下午6.12.59.png 截屏2024-01-17 下午6.14.19.png

template

Original template prompt: Change to blue style.
截屏2024-01-17 下午5.37.29.png 截屏2024-01-17 下午5.39.12.png

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(free):

  • Gemini API key

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

"Buy Me A Coffee"

Morty Proxy This is a proxified and sanitized view of the page, visit original site.