Skip to content

Commit

Permalink
feat: adjust name&domain;
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanuo committed Jun 22, 2024
1 parent f0b8664 commit bb03453
Show file tree
Hide file tree
Showing 94 changed files with 16,403 additions and 12,340 deletions.
6 changes: 3 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* @Author: Harry
* @Author: Ryanuo
* @Date: 2022-07-24 11:17:52
* @LastEditors: harry
* @Github: https://github.com/rr210
* @LastEditors: ryanuo
* @Github: https://github.com/ryanuo
* @LastEditTime: 2022-07-24 20:48:54
* @FilePath: \vite\.eslintrc.js
*/
Expand Down
Empty file added .github/workflows/build.yml
Empty file.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<a href="https://b2.mr90.top/" >
<img width="100" align="right" alt="blazeB2" src="https://cloud.mr90.top/hexo/4/16533db7-b477-46ec-bbf8-44ae848bc771.png">
<a href="https://b2.ryanuo.cc/" >
<img width="100" align="right" alt="blazeB2" src="https://cloud.ryanuo.cc/hexo/4/16533db7-b477-46ec-bbf8-44ae848bc771.png">
</a>

# Blaze B2图床

[![文档](https://img.shields.io/badge/docs-%E6%96%87%E6%A1%A3-blueviolet)](https://blazeb2.js.org/) [![Author](https://img.shields.io/badge/author-Rr210-violet.svg)](https://github.com/Rr210) [![Release](https://img.shields.io/github/release/Rr210/blazeB2.svg)](https://github.com/Rr210/blazeB2/releases) [![License](https://img.shields.io/github/license/Rr210/blazeB2.svg)](https://github.com/Rr210/blazeB2/blob/master/LICENSE) [![Stars](https://img.shields.io/github/stars/Rr210/blazeB2)](https://github.com/Rr210/blazeB2) [![Issues](https://img.shields.io/github/issues/Rr210/blazeB2)](https://github.com/Rr210/blazeB2/issues)
[![文档](https://img.shields.io/badge/docs-%E6%96%87%E6%A1%A3-blueviolet)](https://blazeb2.js.org/) [![Author](https://img.shields.io/badge/author-ryanuo-violet.svg)](https://github.com/ryanuo) [![Release](https://img.shields.io/github/release/ryanuo/blazeB2.svg)](https://github.com/ryanuo/blazeB2/releases) [![License](https://img.shields.io/github/license/ryanuo/blazeB2.svg)](https://github.com/ryanuo/blazeB2/blob/master/LICENSE) [![Stars](https://img.shields.io/github/stars/ryanuo/blazeB2)](https://github.com/ryanuo/blazeB2) [![Issues](https://img.shields.io/github/issues/ryanuo/blazeB2)](https://github.com/ryanuo/blazeB2/issues)
## 📃 仓库介绍 | Warehouse introduction

> 📷基于 backBlazeb2 API ⚡ cloudflare 开发的具有 CDN 加速功能的图床工具
- 在线使用 [传送](https://b2.mr90.top/) 功能展示 [传送](https://www.bilibili.com/video/BV1gB4y1v7qs)
- 在线使用 [传送](https://b2.ryanuo.cc/) 功能展示 [传送](https://www.bilibili.com/video/BV1gB4y1v7qs)
- `deploys` 文件为项目部署文件 [传送](https://blazeb2.js.org/zh/guide/deploy.html)

> [!NOTE]
Expand Down Expand Up @@ -56,47 +56,47 @@
<strong>上传图片</strong>
</td>
<td>
<img src="https://cloud.mr90.top/hexo/5/d15c17f1-b06f-4560-a363-dd9adce488b2.gif" />
<img src="https://cloud.ryanuo.cc/hexo/5/d15c17f1-b06f-4560-a363-dd9adce488b2.gif" />
</td>
</tr>
<tr>
<td>
<strong>水印上传</strong>
</td>
<td>
<img src="https://cloud.mr90.top/hexo/5/c8f15ba7-b934-4ef6-afb2-22dd472fb4d2.gif" />
<img src="https://cloud.ryanuo.cc/hexo/5/c8f15ba7-b934-4ef6-afb2-22dd472fb4d2.gif" />
</td>
</tr>
<tr>
<td>
<strong>图床管理</strong>
</td>
<td>
<img src="https://cloud.mr90.top/hexo/5/1d146393-3012-4b55-8083-01b8c0e562c8.gif" />
<img src="https://cloud.ryanuo.cc/hexo/5/1d146393-3012-4b55-8083-01b8c0e562c8.gif" />
</td>
</tr>
</table>
</details>

## ⭐ 历史star | Star History

![Star History Chart](https://api.star-history.com/svg?repos=Rr210/blazeB2&type=Date)
![Star History Chart](https://api.star-history.com/svg?repos=ryanuo/blazeB2&type=Date)


## ✨ 贡献 | Contribution

欢迎各种形式的贡献,包括但不限于:美化界面、增加功能、改进代码、 修复 Bug 等

<a href="https://github.com/rr210/blazeB2/graphs/contributors">
<img src="https://contrib.rocks/image?repo=rr210/blazeB2" />
<a href="https://github.com/ryanuo/blazeB2/graphs/contributors">
<img src="https://contrib.rocks/image?repo=ryanuo/blazeB2" />
</a>

## 🎃 反馈 | Feedback

在使用过程中,如遇问题,请仔细阅读 **[文档](https://blazeb2.js.org)** ,或给作者提 **[Issue](https://github.com/rr210/blazeB2/issues)**
在使用过程中,如遇问题,请仔细阅读 **[文档](https://blazeb2.js.org)** ,或给作者提 **[Issue](https://github.com/ryanuo/blazeB2/issues)**

## 💿 许可 | License

**[Apache License 2.0](https://github.com/Rr210/blazeB2/blob/master/LICENSE)**
**[Apache License 2.0](https://github.com/ryanuo/blazeB2/blob/master/LICENSE)**

Copyright © 2022-Present blazeB2
2 changes: 1 addition & 1 deletion deploys/vercel-api/api/index.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @File : index.py
# @Author: Harry
# @Author: Ryanuo
# @Date : 24/6/2022
# @Desc :
import hashlib, uuid, base64, json, requests
Expand Down
2 changes: 1 addition & 1 deletion deploys/vercel-api/api/static/css/index-f4e67d99.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions deploys/vercel-api/api/static/js/index-6faaed9e.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions deploys/vercel-api/api/static/js/index-legacy-86fe920f.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions deploys/vercel-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"name": "blazeb2-vercel",
"version": "1.5.2",
"description": "📷基于 backBlazeb2 API & ⚡ cloudflare 开发的具有 CDN 加速功能的图床工具",
"author": "rr210 <author> (https://github.com/rr210)",
"author": "ryanuo <author> (https://github.com/ryanuo)",
"license": "GPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/Rr210/blazeB2.git"
"url": "https://github.com/ryanuo/blazeB2.git"
},
"homepage": "https://blazeb2.js.org"
}
10 changes: 5 additions & 5 deletions docs/.vitepress/config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* @Author: Harry
* @Author: Ryanuo
* @Date: 2022-07-30 21:56:16
* @LastEditors: harry
* @Github: https://github.com/rr210
* @LastEditors: ryanuo
* @Github: https://github.com/ryanuo
* @LastEditTime: 2022-10-01 21:45:47
* @FilePath: \dev\docs\.vitepress\config.js
*/
Expand All @@ -21,7 +21,7 @@ export default {
sidebar,
logo: '/img/logo.svg',
socialLinks: [
{ icon: 'github', link: 'https://github.com/rr210/blazeb2' }
{ icon: 'github', link: 'https://github.com/ryanuo/blazeb2' }
],
algolia: {
apiKey: '96df3907aa74556f4746511deee28203',
Expand All @@ -37,7 +37,7 @@ export default {
lastUpdated: '上次更新',
footer: {
message: 'Released under the Apache License 2.0.',
copyright: 'Copyright © 2021-present Harry'
copyright: 'Copyright © 2021-present Ryanuo'
}
}
}
8 changes: 4 additions & 4 deletions docs/.vitepress/configs/head.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* @Author: Harry
* @Author: Ryanuo
* @Date: 2022-07-31 10:31:30
* @LastEditors: harry
* @Github: https://github.com/rr210
* @LastEditors: ryanuo
* @Github: https://github.com/ryanuo
* @LastEditTime: 2022-07-31 21:12:07
* @FilePath: \dev\docs\docs\.vitepress\configs\head.js
*/
Expand All @@ -14,4 +14,4 @@ export const head = [
{ rel: "stylesheet", href: "https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.css" },
],
["script", { src: "https://cdn.jsdelivr.net/npm/@fancyapps/[email protected]/dist/fancybox.umd.js" }]
]
]
8 changes: 4 additions & 4 deletions docs/.vitepress/configs/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* @Author: Harry
* @Author: Ryanuo
* @Date: 2022-07-31 10:32:34
* @LastEditors: harry
* @Github: https://github.com/rr210
* @LastEditors: ryanuo
* @Github: https://github.com/ryanuo
* @LastEditTime: 2022-07-31 11:35:17
* @FilePath: \dev\docs\docs\.vitepress\configs\index.js
*/
Expand All @@ -13,4 +13,4 @@ import { markdown } from './markdown'

export {
sidebar, nav, head, markdown
}
}
8 changes: 4 additions & 4 deletions docs/.vitepress/configs/markdown.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* @Author: Harry
* @Author: Ryanuo
* @Date: 2022-07-31 11:12:10
* @LastEditors: harry
* @Github: https://github.com/rr210
* @LastEditors: ryanuo
* @Github: https://github.com/ryanuo
* @LastEditTime: 2022-07-31 12:37:11
* @FilePath: \dev\docs\docs\.vitepress\configs\markdown.js
*/
Expand All @@ -17,4 +17,4 @@ export const markdown = {
'data-fancybox': "gallery"
})
}
}
}
10 changes: 5 additions & 5 deletions docs/.vitepress/configs/nav.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* @Author: Harry
* @Author: Ryanuo
* @Date: 2022-07-30 21:56:58
* @LastEditors: harry
* @Github: https://github.com/rr210
* @LastEditors: ryanuo
* @Github: https://github.com/ryanuo
* @LastEditTime: 2022-07-31 14:13:40
* @FilePath: \dev\docs\docs\.vitepress\configs\nav.js
*/
Expand All @@ -11,7 +11,7 @@ export const nav = [
{
text: '在线使用', items: [
{ text: "推荐较快", link: 'https://blazeb2.mr90.cf/' },
{ text: "镜像站点", link: 'https://b2.mr90.top/' },
{ text: "镜像站点", link: 'https://b2.ryanuo.cc/' },
]
}
]
]
6 changes: 3 additions & 3 deletions docs/.vitepress/configs/sidebar.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* @Author: Harry
* @Author: Ryanuo
* @Date: 2022-07-30 21:57:08
* @LastEditors: harry
* @Github: https://github.com/rr210
* @LastEditors: ryanuo
* @Github: https://github.com/ryanuo
* @LastEditTime: 2022-07-31 14:11:58
* @FilePath: \dev\docs\docs\.vitepress\configs\sidebar.js
*/
Expand Down
14 changes: 7 additions & 7 deletions docs/.vitepress/theme-default/Comment.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--
* @Author: Harry
* @Author: Ryanuo
* @Date: 2022-07-31 20:52:35
* @LastEditors: harry
* @Github: https://github.com/rr210
* @LastEditors: ryanuo
* @Github: https://github.com/ryanuo
* @LastEditTime: 2022-07-31 21:12:27
* @FilePath: \dev\docs\docs\.vitepress\theme\components\Comment.vue
-->
Expand All @@ -25,9 +25,9 @@ export default {
clientSecret: "4c4dcc532189d7716296c80cebe6775e9557f70f",
// 评论项目名
repo: 'blazeb2',
owner: 'rr210',
admin: ['rr210'],
githubID: 'rr210',
owner: 'ryanuo',
admin: ['ryanuo'],
githubID: 'ryanuo',
id: decodeURI(window.location.pathname),
language: 'zh-CN',
distractionFreeMode: true
Expand All @@ -36,4 +36,4 @@ export default {
gitalk.render("gitalk-container");
},
};
</script>
</script>
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--
* @Author: Harry
* @Author: Ryanuo
* @Date: 2022-07-31 21:22:44
* @LastEditors: harry
* @Github: https://github.com/rr210
* @LastEditors: ryanuo
* @Github: https://github.com/ryanuo
* @LastEditTime: 2022-07-31 21:30:04
* @FilePath: \dev\docs\docs\.vitepress\theme-default\components\VPSwitchAppearance.vue
-->
Expand Down
14 changes: 7 additions & 7 deletions docs/.vitepress/theme/components/Comment.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--
* @Author: Harry
* @Author: Ryanuo
* @Date: 2022-07-31 20:52:35
* @LastEditors: harry
* @Github: https://github.com/rr210
* @LastEditors: ryanuo
* @Github: https://github.com/ryanuo
* @LastEditTime: 2022-07-31 21:12:27
* @FilePath: \dev\docs\docs\.vitepress\theme\components\Comment.vue
-->
Expand All @@ -25,9 +25,9 @@ export default {
clientSecret: "4c4dcc532189d7716296c80cebe6775e9557f70f",
// 评论项目名
repo: 'blazeb2',
owner: 'rr210',
admin: ['rr210'],
githubID: 'rr210',
owner: 'ryanuo',
admin: ['ryanuo'],
githubID: 'ryanuo',
id: decodeURI(window.location.pathname),
language: 'zh-CN',
distractionFreeMode: true
Expand All @@ -36,4 +36,4 @@ export default {
gitalk.render("gitalk-container");
},
};
</script>
</script>
8 changes: 4 additions & 4 deletions docs/.vitepress/theme/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* @Author: Harry
* @Author: Ryanuo
* @Date: 2022-07-31 09:02:02
* @LastEditors: harry
* @Github: https://github.com/rr210
* @LastEditors: ryanuo
* @Github: https://github.com/ryanuo
* @LastEditTime: 2022-07-31 21:24:17
* @FilePath: \dev\docs\docs\.vitepress\theme\index.js
*/
Expand All @@ -15,4 +15,4 @@ export default {
// 注册组件
app.component("Comment", Comment);
}
}
}
6 changes: 3 additions & 3 deletions docs/guide/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description: 待定

- 按照图片填写,保存至本地即可

![](https://cloud.mr90.top/hexo/api/b78be59a-7608-4601-976e-7abe8c27e52c.png)
![](https://cloud.ryanuo.cc/hexo/api/b78be59a-7608-4601-976e-7abe8c27e52c.png)

这里需要注意的是 **图床地址****项目地址** 不是一个东西。

Expand All @@ -21,10 +21,10 @@ description: 待定
- 压缩默认关闭,打开后默认压缩比为80%
- 第一个上传路径 **必须填写** 按照如图流程填写,几级目录都可以,如果在 B2 桶中的不存在该文件夹,那么在上传时,会自动创建文件夹。

![](https://cloud.mr90.top/hexo/api/49d81a6b-ea0e-4987-b50d-2db41d4586c4.png)
![](https://cloud.ryanuo.cc/hexo/api/49d81a6b-ea0e-4987-b50d-2db41d4586c4.png)

## Step. 3: 图床管理配置

- 图片文件夹目录为图床管理界面下的默认检索地址。

![](https://cloud.mr90.top/hexo/api/dc8a54e2-d757-41a3-8e3c-1f3316c7c5cf.png)
![](https://cloud.ryanuo.cc/hexo/api/dc8a54e2-d757-41a3-8e3c-1f3316c7c5cf.png)
2 changes: 1 addition & 1 deletion docs/guide/contribution/issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: 欢迎BlazeB2各种形式的贡献,包括但不限于:美化界

## Issues. 1: 关于vercel部署问题

- 解决方法:[详情](https://github.com/Rr210/blazeB2/issues/3)
- 解决方法:[详情](https://github.com/ryanuo/blazeB2/issues/3)

- 文档详细介绍: [传送](https://blazeb2.js.org/guide/deploy/vercel.html)

Expand Down
8 changes: 4 additions & 4 deletions docs/guide/deploy/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ description: 使用docker+nginx一键部署balzeb2图床项目

```js
// github
git clone -b build https://github.com/Rr210/blazeB2.git
git clone -b build https://github.com/ryanuo/blazeB2.git
// gitee
git clone -b build https://gitee.com/rbozo/blazeB2.git
```
Expand Down Expand Up @@ -82,11 +82,11 @@ docker logs flask_v1
```js
server {
listen 80; # 监听80端口
root /www/wwwroot/b2.mr90.top;
server_name b2.mr90.top; # 配置域名
root /www/wwwroot/b2.ryanuo.cc;
server_name b2.ryanuo.cc; # 配置域名
# 处理静态资源:
location ~ ^\/static\/.*$ {
root /www/wwwroot/b2.mr90.top/static/;
root /www/wwwroot/b2.ryanuo.cc/static/;
}
fastcgi_param HTTPS on;
fastcgi_param HTTP_SCHEME https;
Expand Down
Loading

0 comments on commit bb03453

Please sign in to comment.