-
-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
837 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,99 +1,101 @@ | ||
# uPic | ||
|
||
> 图片(文件)上传 | ||
# ☁️ 简洁的 Mac 图床客户端 uPic | ||
|
||
<p align="center"> | ||
<img src="./screenshot/logo.png" alt=""> | ||
</p> | ||
<p align="center"> | ||
<a href="https://github.com/gee1k/uPic/releases"> | ||
<img src="https://img.shields.io/github/downloads/gee1k/uPic/total.svg?style=flat-square" alt=""> | ||
<div style="display: flex;justify-content: center;"> | ||
<a href="https://github.com/gee1k/uPic/stargazers"> | ||
<img src="https://img.shields.io/github/stars/gee1k/uPic.svg?style=popout-square" alt=""> | ||
</a> <a href="https://github.com/gee1k/uPic/releases" style="margin: 0 5px;"> | ||
<img src="https://img.shields.io/github/downloads/gee1k/uPic/total.svg?style=popout-square" alt=""> | ||
</a> <a href="https://github.com/gee1k/uPic/releases/latest"> | ||
<img src="https://img.shields.io/github/release/gee1k/uPic.svg?style=popout-square" alt=""> | ||
</a> | ||
<a href="https://github.com/gee1k/uPic/releases/latest"> | ||
<img src="https://img.shields.io/github/release/gee1k/uPic.svg?style=flat-square" alt=""> | ||
</a> | ||
</p> | ||
</div> | ||
|
||
## 📑 简介 | ||
|
||
> **uPic 是一款 Mac 端的图床(文件)上传客户端** | ||
> 可将图片、各种文件上传到配置好的指定提供商的对象存储中。 | ||
> 然后快速获取可供互联网访问的文件 URL | ||
## ⚒ 上传方式 | ||
## 💡 特点 | ||
|
||
**uPic支持选择文件上传、拖拽文件上传、复制文件上传、截图上传。支持菜单栏显示实时进度** | ||
无论是本地文件、或者屏幕截图都可自动上传,菜单栏显示实时上传进度。上传完成后文件链接自动复制到剪切板,让你无论是在写博客、灌水聊天都能快速插入图片。 | ||
连接格式可以是普通 URL、HTML 或者 Markdown,仍由你掌控。 | ||
|
||
### 1.选择文件上传 | ||
点击菜单栏 `选择文件上传`即可打开 Finder 选择需要上传的文件。 | ||
 | ||
## 📤 上传方式 | ||
|
||
### 2.复制上传 | ||
将需要上传的文件复制到剪切板,然后点击菜单栏中的`上传已拷贝的文件`即可上传。 | ||
 | ||
为了满足你可能遇到的各种需求,uPic 提供了多种上传方式 | ||
|
||
### 3.拖拽上传 | ||
只需要将当前图床所支持格式的文件拖到菜单栏的 uPic 图标上即可上传。 | ||
 | ||
- ✅ 选择文件上传 | ||
- ✅ 复制文件上传 | ||
- ✅ 拖拽文件上传 | ||
- ✅ 截图上传 | ||
|
||
### 4.截图上传 | ||
点击菜单栏 `截图上传`会激活截图操作,拉框选择要截图的范围即可自动上传。 | ||
 | ||
#### 🖥 选择文件上传 | ||
|
||
> 除了复制上传以外,所有上传方式均可以在`偏好设置`中设置全局快捷键。 | ||
> 设置好全局快捷键之后可以在任何时候通过快捷键激活对应的上传操作 | ||
 | ||
|
||
 | ||
#### ⌨️ 复制文件上传 | ||
|
||
## 💻 图床配置 | ||
 | ||
|
||
**在`偏好设置`中可配置图床,同一类型图床可配置多个,已满足多个云储存位置** | ||
#### 🖱 拖拽文件上传 | ||
|
||
 | ||
 | ||
|
||
配置好的图床可以在菜单栏`图床`栏看到,并选择您接下来要上传到的图床。 | ||
#### 🖱 截图上传 | ||
|
||
 | ||
 | ||
|
||
## 📝 输出格式 | ||
## 📦 图床、对象存储 | ||
|
||
**支持多种输出格式,以快速帮你实现的不同需求。** | ||
- [smms](https://sm.ms/) | ||
- [又拍云 USS](https://www.upyun.com/products/file-storage) | ||
- [七牛云 KODO](https://www.qiniu.com/products/kodo) | ||
- [阿里云 OSS](https://www.aliyun.com/product/oss/) | ||
- [腾讯云 COS](https://cloud.tencent.com/product/cos) | ||
- [自定义上传接口](https://blog.svend.cc/upic/tutorials/custom) | ||
- ... | ||
|
||
 | ||
#### ⚙️ 配置图床 | ||
|
||
## 支持图床服务 | ||
**在`偏好设置`中可配置图床。支持同一类型图床可配置多个实例** | ||
|
||
**以下是现有和未来计划加入支持的图床** | ||
 | ||
|
||
- [x] [~~smms~~](https://sm.ms/) | ||
#### 🔦 选择图床 | ||
|
||
- [x] [~~又拍云 USS~~](https://www.upyun.com/products/file-storage) | ||
**配置好的图床可以在菜单栏`图床`中看到,并选择您接下来要上传到的图床** | ||
|
||
- [x] [~~七牛云 KODO~~](https://www.qiniu.com/products/kodo) | ||
 | ||
|
||
- [x] [~~腾讯云 COS~~](https://cloud.tencent.com/product/cos) | ||
## 🧰 更多功能 | ||
|
||
- [x] [~~阿里云 OSS~~](https://www.aliyun.com/product/oss) | ||
**除了以上这些最基本的功能以外,uPic 还提供了一系列小功能让你使用起来更方便更顺心** | ||
|
||
- ... | ||
### ⌨︎ 全局快捷键 | ||
|
||
# ⚙ 开发 | ||
 | ||
|
||
- 1.克隆代码到本地 | ||
|
||
`https://github.com/gee1k/uPic.git` | ||
|
||
- 2.安装依赖,本项目依赖使用 [Cocoapods](https://cocoapods.org/) 管理,请先确保已有 Cocoapods 环境 | ||
### 🕦 上传历史 | ||
|
||
```sh | ||
# 进入项目目录 | ||
cd uPic | ||
# 安装依赖 | ||
pod install | ||
``` | ||
 | ||
|
||
- 3.依赖安装完成之后,可编译测试一下是否通过 | ||
### 📢 更多功能等待你发现 | ||
|
||
# ✉️ 联系我 | ||
... | ||
|
||
- `Email`: `[email protected]` | ||
# 💌 联系我 | ||
|
||
- `Email`: [email protected] | ||
- `微信`: `JSW5297` (请备注一下 uPic) | ||
- `Telegram`: [gee1k](https://t.me/gee1k) | ||
- `项目地址`: [Github](https://github.com/gee1k/uPic) | ||
|
||
# 📝 使用手册 | ||
|
||
**编写中...敬请期待** | ||
|
||
|
||
# ❤️ 赞助 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"info": { | ||
"version": 1, | ||
"author": "xcode" | ||
"info" : { | ||
"version" : 1, | ||
"author" : "xcode" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"idiom" : "universal", | ||
"filename" : "itmis_customer.png", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"version" : 1, | ||
"author" : "xcode" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.