Skip to content

Commit

Permalink
v2 done! 🍻
Browse files Browse the repository at this point in the history
  • Loading branch information
aimerforreimu committed May 3, 2019
1 parent 46a7525 commit ed05f58
Show file tree
Hide file tree
Showing 294 changed files with 16,898 additions and 3,583 deletions.
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Bug report(报告问题)
about: Create a report to help us improve
---
<!--
注意:为更好的解决你的问题,请参考模板提供完整信息,准确描述问题,信息不全的 issue 将被关闭。
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.
-->


## Bug report(问题描述)

#### Steps to reproduce(问题复现步骤)

1. [xxx]
2. [xxx]
3. [xxxx]


#### Screenshot or Gif(截图或动态图)


#### Server environment(服务器环境)
- Your OS & version (服务器系统&版本):
- DataBase & version (数据库&版本):


#### Other relevant information(格外信息)
- auxpi version:
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Question(提问)
about: Asking questions about use
---

## Question(提问)

<!--
提问之前,请确定你已经过自己的努力,尝试解决过这个问题。
若是代码相关问题,请不要只截图,请提供在线 demo,以便节约彼此的时间。
Before asking a question, please make sure that you have tried your best to solve this problem.
If it's a code-related issue, please don't just take screenshots. Please provide an online demo to save each other's time.
-->
9 changes: 7 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ public/upload/*
*.log
resource/node_modules
build/
pem/
.well-known
.well-known/*
*.memprof
*.pprof

# Binaries for programs and plugins
*.exe
Expand All @@ -20,7 +23,9 @@ pem/
*.dylib
*.idea
*.log

main
.key
.crt

# Test binary, build with `go test -c`
*.test
Expand Down
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
language: go
osx_image: xcode10.2
sudo: true

go:
- 1.11.x
- master

os:
- linux
- osx

env:
- GO111MODULE=on

cache:
directories:
- node_modules

script:
- bash build.sh all 99.99 clear
48 changes: 23 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@

## AUXPI

**基于 API 的简单图床**


**集合多家 API 的新一代图床**

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

* 支持 web 上传图片
* 支持 API 上传图片
* 支持图床:

* 搜狗
* 新浪 (私有+公共)
* SMMS
* 奇虎 (360)
* 百度
* 阿里
* 京东
* Upload.cc
* Flickr
* 网易
* 掘金
* 本地

* 支持分发,控制反转
* 各种自由定制请看下面的截图


Expand All @@ -68,7 +52,6 @@

有问题请到 Issue 中提出

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


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




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

请勿滥用,滥用者将被加入 ip 黑名单并且放到 github 上公示

演示站点管理员账户:
```text
用户名:admin123
Expand Down Expand Up @@ -198,7 +184,7 @@ GOOS=darwin GOARCH=amd64 bee pack

## API 上传

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


### API 上传实例

Expand Down Expand Up @@ -305,9 +291,7 @@ API 未开启返回值

* [x] API 上传

* [ ] API 自动文档

* [ ] API v2 版本分发上传,返回所有图床储存链接
* [x] API v2 版本分发上传,返回所有图床储存链接

* [x] 用户系统

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

* [x] 使用 MySQL 而不是 JSON

* [ ] API 自动文档

* [ ] 国际化

* [ ] 多缓存选择 Memory|redis|file|Memcached

* [ ] 用户后台重构

* [ ] 定时任务调度

## 说明

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

## 致敬
[@ astaxie](https://github.com/astaxie) (beego)

[@ PanJiaChen](https://github.com/PanJiaChen) (vue-element-admin)

[@ metowolf](https://github.com/metowolf/upimg-cli) (upimg-cli)

[@ wisp-x](https://github.com/wisp-x) (lsky-pro)

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

[astaxie](https://github.com/astaxie)

## LICENSE

Expand Down

0 comments on commit ed05f58

Please sign in to comment.