Skip to content

Commit 2491d5d

Browse files
committed
fix readme
1 parent 7667e91 commit 2491d5d

File tree

2 files changed

+13
-44
lines changed

2 files changed

+13
-44
lines changed

README-zh_CN.md

+2-13
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# ant-codeAI
2-
English · [中文](./README-zh_CN.md)
2+
中文 · [English](./README.md)
33

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

66
web 支持(React,Vue,Tailwind CSS)
77

8-
https://github.com/sparrow-js/ant-codeAI/assets/59440091/810c6b55-ed85-4ef1-a49d-090ae6d478eb
8+
https://github.com/sparrow-js/ant-codeAI/assets/59440091/b66c80fa-b121-442e-b482-f4d3a0cd2d88
99

1010
app 支持(react native)
1111

@@ -30,14 +30,6 @@ npm run dev
3030
- Mock AI Response(mock AI返回的数据,不直接请求AI),直接请求OpenAI 接口会消耗费用
3131

3232

33-
## 🔥 使用场景
34-
- 中后台项目
35-
- 快速验证方案,对还原度要求不高的项目
36-
- 输出代码后自补全细节
37-
38-
<img width="500" alt="截屏2023-12-11 下午8 48 49" src="https://github.com/sparrow-js/firefly-codeAI/assets/59440091/781e496e-6141-413b-804a-72e7c17f0fe1">
39-
40-
4133
## 生成对比
4234
| 原图 | 生成网页 |
4335
| --- | --- |
@@ -54,8 +46,5 @@ npm run dev
5446
- 备注一定要添加自己邮箱地址.
5547
<img width="260" alt="付款二维码" src="https://github.com/sparrow-js/ant-codeAI/assets/59440091/950bad51-bddd-42c6-b29e-815052c8ff82">
5648

57-
> if this project is helpful to you, buy me a coffee.
58-
59-
[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/sparrowwhtl)
6049

6150
[reference material screenshot-to-code](https://github.com/abi/screenshot-to-code)

README.md

+11-31
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,39 @@
11
# ant-codeAI
22
English · [中文](./README-zh_CN.md)
33

4-
通过使用AI技术生成高可用代码,webReactVueTailwind CSS),nativereact native)等代码,使用GPT-4 Vision生成,通过截图转化到代码,可以自定义prompt生成可控代码。提供白板功能可以绘制草稿生成代码。
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.
55

6-
web 支持(React,Vue,Tailwind CSS)
6+
web support(React,Vue,Tailwind CSS)
77

88
https://github.com/sparrow-js/ant-codeAI/assets/59440091/b66c80fa-b121-442e-b482-f4d3a0cd2d88
99

10-
app 支持(react native)
10+
app support(react native)
1111

1212
https://github.com/sparrow-js/ant-codeAI/assets/59440091/1f60f5a6-3bbd-4cca-8a9a-7e9a211de8ff
1313

1414

15-
## 🚀 试用
16-
> [线上地址](https://www.ancodeai.com/)
15+
## 🚀 Try It Out!
16+
> [online](https://www.ancodeai.com/)
1717
18-
> [线上临时腾讯云地址,图片最大可上传1MB](https://service-1fiqz1da-1253530766.gz.tencentapigw.com/release/)
1918

20-
21-
可以下载下来本地运行.
19+
You can download it and run it locally.
2220
```bash
2321
npm run dev
2422
```
25-
## 🛠 设置
23+
## 🛠 Setting
2624
<img width="558" alt="Pasted Graphic 1" src="https://github.com/sparrow-js/firefly/assets/59440091/2daf0da1-dc53-4c2a-b450-2667abcf940b">
2725

2826
- OpenAI API Key
29-
- OpenAI Base URL(代理地址,默认:https://api.openai.com/v1)
30-
- Mock AI Response(mock AI返回的数据,不直接请求AI),直接请求OpenAI 接口会消耗费用
31-
32-
33-
## 🔥 使用场景
34-
- 中后台项目
35-
- 快速验证方案,对还原度要求不高的项目
36-
- 输出代码后自补全细节
37-
38-
<img width="500" alt="截屏2023-12-11 下午8 48 49" src="https://github.com/sparrow-js/firefly-codeAI/assets/59440091/781e496e-6141-413b-804a-72e7c17f0fe1">
27+
- OpenAI Base URL(proxy url, default:https://api.openai.com/v1)
28+
- Mock AI Response(mock AIThe returned data does not directly request AI)
3929

40-
41-
## 生成对比
42-
| 原图 | 生成网页 |
30+
## Generate
31+
| Original | Generate |
4332
| --- | --- |
4433
| <img width="1090" alt="截屏2023-12-16 上午12 14 18" src="https://github.com/sparrow-js/ant-codeAI/assets/59440091/0620753c-9c48-4878-a40f-3d79e40f1230"> | <img width="910" alt="截屏2023-12-16 上午8 41 15" src="https://github.com/sparrow-js/ant-codeAI/assets/59440091/18fd642c-9f92-4b76-a20d-7a59c6905256"> |
4534
| <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"> |
4635

4736

48-
49-
## 🙋‍♂️ 合作
50-
- 如果有合作意向欢迎加wx:sparrow777-js,不闲聊,没有具体事情请不要加🙏。
51-
- bug,意见等直接提交到git上即可
52-
- 如果不知道怎么获取OpenAI key和 OpenAI proxy url有需要可以充几块钱体验下。
53-
10元/20次预计生成,不退款(初次使用体验不要超过10元),感觉对自己有用在继续使用。每天20:00前发送至邮箱,如有openAI API key自行设置使用即可。
54-
- 备注一定要添加自己邮箱地址.
55-
<img width="260" alt="付款二维码" src="https://github.com/sparrow-js/ant-codeAI/assets/59440091/950bad51-bddd-42c6-b29e-815052c8ff82">
56-
5737
> if this project is helpful to you, buy me a coffee.
5838
5939
[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/sparrowwhtl)

0 commit comments

Comments
 (0)