Skip to content

Commit 94f9f93

Browse files
authored
Merge pull request #5 from sparrow-js/readme-feature
Readme feature
2 parents 79162d6 + d8d421b commit 94f9f93

File tree

3 files changed

+24
-66
lines changed

3 files changed

+24
-66
lines changed

README-en.md

Lines changed: 0 additions & 48 deletions
This file was deleted.

README-zh_CN.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,37 @@
11
# ant-codeAI
22
中文 · [English](./README.md)
33

4-
通过使用AI技术生成高可用代码,web(React,Vue,Tailwind CSS),native(react native)等代码,使用GPT-4 Vision生成,通过截图转化到代码,可以自定义prompt生成可控代码。提供白板功能可以绘制草稿生成代码
4+
通过使用OpenAI、Gemini技术生成高可用代码,支持 web(React,Vue,Tailwind CSS),native(react native)等代码,使用GPT-4 Vision生成,通过截图、绘制草稿、输入创意生成代码
55

6-
web 支持(React,Vue,Tailwind CSS)
6+
https://github.com/sparrow-js/ant-codeAI/assets/59440091/e53fae82-d797-4a52-a1a7-a327bc3917a4
77

8-
https://github.com/sparrow-js/ant-codeAI/assets/59440091/b66c80fa-b121-442e-b482-f4d3a0cd2d88
8+
编辑支持(HTML + Tailwind,react + Tailwind)
9+
<img width="1206" alt="Editing support (HTML+Tailwind, react+Tailwind)" src="https://github.com/sparrow-js/ant-codeAI/assets/59440091/9e1be3c2-5fff-40e9-bba0-ddbdad68a586">
910

10-
app 支持(react native)
11-
12-
https://github.com/sparrow-js/ant-codeAI/assets/59440091/1f60f5a6-3bbd-4cca-8a9a-7e9a211de8ff
1311

1412

1513
## 🚀 试用
1614
> [线上地址](https://www.ancodeai.com/)
1715
18-
> [线上临时腾讯云地址,图片最大可上传1MB](https://service-1fiqz1da-1253530766.gz.tencentapigw.com/release/)
19-
2016

2117
可以下载下来本地运行.
2218
```bash
2319
npm run dev
2420
```
21+
2522
## 🛠 设置
26-
<img width="558" alt="Pasted Graphic 1" src="https://github.com/sparrow-js/firefly/assets/59440091/2daf0da1-dc53-4c2a-b450-2667abcf940b">
23+
支持OpenAI、Gemini(免费),Gemini输出的效果不好
2724

25+
<img width="563" alt="setting" src="https://github.com/sparrow-js/ant-codeAI/assets/59440091/7f464a2c-edef-4b00-8cbe-fe46cfabf19e">
26+
27+
OpenAI:
2828
- OpenAI API Key
2929
- OpenAI Base URL(代理地址,默认:https://api.openai.com/v1)
3030
- Mock AI Response(mock AI返回的数据,不直接请求AI),直接请求OpenAI 接口会消耗费用
3131

32+
Gemini(免费):
33+
- Gemini API key
34+
3235

3336
## 生成对比
3437
| 原图 | 生成网页 |
@@ -37,7 +40,6 @@ npm run dev
3740
| <img width="1091" alt="截屏2023-12-17 下午1 38 21" src="https://github.com/sparrow-js/ant-codeAI/assets/59440091/e973ba23-3dc8-484f-9aed-793271a286e8"> | <img width="1055" alt="截屏2023-12-17 下午1 38 48" src="https://github.com/sparrow-js/ant-codeAI/assets/59440091/414fd1fd-6288-4e20-9f7e-9d279ab3808c"> |
3841

3942

40-
4143
## 🙋‍♂️ 合作
4244
- 如果有合作意向欢迎加wx:sparrow777-js,不闲聊,没有具体事情请不要加🙏。
4345
- bug,意见等直接提交到git上即可

README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
# ant-codeAI
22
English · [中文](./README-zh_CN.md)
33

4-
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.
4+
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.
55

6-
web support(React,Vue,Tailwind CSS)
6+
https://github.com/sparrow-js/ant-codeAI/assets/59440091/e53fae82-d797-4a52-a1a7-a327bc3917a4
77

8-
https://github.com/sparrow-js/ant-codeAI/assets/59440091/b66c80fa-b121-442e-b482-f4d3a0cd2d88
9-
10-
app support(react native)
11-
12-
https://github.com/sparrow-js/ant-codeAI/assets/59440091/1f60f5a6-3bbd-4cca-8a9a-7e9a211de8ff
8+
Editing support (HTML+Tailwind, react+Tailwind)
9+
<img width="1206" alt="Editing support (HTML+Tailwind, react+Tailwind)" src="https://github.com/sparrow-js/ant-codeAI/assets/59440091/9e1be3c2-5fff-40e9-bba0-ddbdad68a586">
1310

1411

1512
## 🚀 Try It Out!
@@ -21,12 +18,19 @@ You can download it and run it locally.
2118
npm run dev
2219
```
2320
## 🛠 Setting
24-
<img width="558" alt="Pasted Graphic 1" src="https://github.com/sparrow-js/firefly/assets/59440091/2daf0da1-dc53-4c2a-b450-2667abcf940b">
21+
Supports OpenAI, Gemini (free), Gemini output is not good
22+
23+
<img width="563" alt="setting" src="https://github.com/sparrow-js/ant-codeAI/assets/59440091/7f464a2c-edef-4b00-8cbe-fe46cfabf19e">
2524

25+
OpenAI:
2626
- OpenAI API Key
2727
- OpenAI Base URL(proxy url, default:https://api.openai.com/v1)
2828
- Mock AI Response(mock AIThe returned data does not directly request AI)
2929

30+
Gemini(free):
31+
- Gemini API key
32+
33+
3034
## Generate
3135
| Original | Generate |
3236
| --- | --- |

0 commit comments

Comments
 (0)