Skip to content

Commit ed05f58

Browse files
committed
v2 done! 🍻
1 parent 46a7525 commit ed05f58

File tree

294 files changed

+16898
-3583
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

294 files changed

+16898
-3583
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: Bug report(报告问题)
3+
about: Create a report to help us improve
4+
---
5+
<!--
6+
注意:为更好的解决你的问题,请参考模板提供完整信息,准确描述问题,信息不全的 issue 将被关闭。
7+
8+
Note: In order to better solve your problem, please refer to the template to provide complete information, accurately describe the problem, and the incomplete information issue will be closed.
9+
-->
10+
11+
12+
## Bug report(问题描述)
13+
14+
#### Steps to reproduce(问题复现步骤)
15+
16+
1. [xxx]
17+
2. [xxx]
18+
3. [xxxx]
19+
20+
21+
#### Screenshot or Gif(截图或动态图)
22+
23+
24+
#### Server environment(服务器环境)
25+
- Your OS & version (服务器系统&版本):
26+
- DataBase & version (数据库&版本):
27+
28+
29+
#### Other relevant information(格外信息)
30+
- auxpi version:

.github/ISSUE_TEMPLATE/question.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Question(提问)
3+
about: Asking questions about use
4+
---
5+
6+
## Question(提问)
7+
8+
<!--
9+
提问之前,请确定你已经过自己的努力,尝试解决过这个问题。
10+
若是代码相关问题,请不要只截图,请提供在线 demo,以便节约彼此的时间。
11+
12+
Before asking a question, please make sure that you have tried your best to solve this problem.
13+
If it's a code-related issue, please don't just take screenshots. Please provide an online demo to save each other's time.
14+
-->

.gitignore

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ public/upload/*
1010
*.log
1111
resource/node_modules
1212
build/
13-
pem/
13+
.well-known
14+
.well-known/*
15+
*.memprof
16+
*.pprof
1417

1518
# Binaries for programs and plugins
1619
*.exe
@@ -20,7 +23,9 @@ pem/
2023
*.dylib
2124
*.idea
2225
*.log
23-
26+
main
27+
.key
28+
.crt
2429

2530
# Test binary, build with `go test -c`
2631
*.test

.travis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
language: go
2+
osx_image: xcode10.2
3+
sudo: true
4+
5+
go:
6+
- 1.11.x
7+
- master
8+
9+
os:
10+
- linux
11+
- osx
12+
13+
env:
14+
- GO111MODULE=on
15+
16+
cache:
17+
directories:
18+
- node_modules
19+
20+
script:
21+
- bash build.sh all 99.99 clear

README.md

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33

44
## AUXPI
55

6-
**基于 API 的简单图床**
7-
8-
6+
**集合多家 API 的新一代图床**
97

108
[![GitHub issues](https://img.shields.io/github/issues/aimerforreimu/AUXPI.svg)](https://github.com/aimerforreimu/AUXPI/issues)
119
[![GitHub forks](https://img.shields.io/github/forks/aimerforreimu/AUXPI.svg)](https://github.com/aimerforreimu/AUXPI/network)
@@ -32,21 +30,7 @@
3230

3331
* 支持 web 上传图片
3432
* 支持 API 上传图片
35-
* 支持图床:
36-
37-
* 搜狗
38-
* 新浪 (私有+公共)
39-
* SMMS
40-
* 奇虎 (360)
41-
* 百度
42-
* 阿里
43-
* 京东
44-
* Upload.cc
45-
* Flickr
46-
* 网易
47-
* 掘金
48-
* 本地
49-
33+
* 支持分发,控制反转
5034
* 各种自由定制请看下面的截图
5135

5236

@@ -68,7 +52,6 @@
6852

6953
有问题请到 Issue 中提出
7054

71-
官方站点为 [AuXpI 图床](https://imgx.0w0.tn/)
7255

7356

7457
## 安装教程
@@ -85,8 +68,11 @@ https://github.com/aimerforreimu/AUXPI/wiki/%E5%9B%BE%E5%BA%8A%E9%85%8D%E7%BD%AE
8568

8669

8770

71+
8872
演示站点为 [https://test.0w0.tn/](https://test.0w0.tn/)
8973

74+
请勿滥用,滥用者将被加入 ip 黑名单并且放到 github 上公示
75+
9076
演示站点管理员账户:
9177
```text
9278
用户名:admin123
@@ -198,7 +184,7 @@ GOOS=darwin GOARCH=amd64 bee pack
198184

199185
## API 上传
200186

201-
其实当时写这个程序的时候没有想要写前端的页面,是看到了另一位大佬的图床,感觉这个前端页面很好看才写网页版上传,本来想直接写个 API 服务.
187+
202188

203189
### API 上传实例
204190

@@ -305,9 +291,7 @@ API 未开启返回值
305291

306292
* [x] API 上传
307293

308-
* [ ] API 自动文档
309-
310-
* [ ] API v2 版本分发上传,返回所有图床储存链接
294+
* [x] API v2 版本分发上传,返回所有图床储存链接
311295

312296
* [x] 用户系统
313297

@@ -319,16 +303,30 @@ API 未开启返回值
319303

320304
* [x] 使用 MySQL 而不是 JSON
321305

306+
* [ ] API 自动文档
307+
308+
* [ ] 国际化
309+
310+
* [ ] 多缓存选择 Memory|redis|file|Memcached
311+
312+
* [ ] 用户后台重构
313+
314+
* [ ] 定时任务调度
322315

323316
## 说明
324317

325318
本项目是学习 Go 的过程中,边学边写出来的程序,可能存在 bug 连篇 ,逻辑让人无法接受,南辕北辙,代码无法让人直视等副作用。
326319

327320
## 致敬
321+
[@ astaxie](https://github.com/astaxie) (beego)
322+
323+
[@ PanJiaChen](https://github.com/PanJiaChen) (vue-element-admin)
324+
325+
[@ metowolf](https://github.com/metowolf/upimg-cli) (upimg-cli)
326+
327+
[@ wisp-x](https://github.com/wisp-x) (lsky-pro)
328328

329-
[wisp-x](https://github.com/wisp-x)
330329

331-
[astaxie](https://github.com/astaxie)
332330

333331
## LICENSE
334332

0 commit comments

Comments
 (0)