Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhanghuid/picgo-plugin-gitee
picgo uploader for gitee
https://github.com/zhanghuid/picgo-plugin-gitee
Last synced: 3 months ago
JSON representation
picgo uploader for gitee
- Host: GitHub
- URL: https://github.com/zhanghuid/picgo-plugin-gitee
- Owner: zhanghuid
- License: mit
- Created: 2019-10-13T16:37:54.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-25T10:05:25.000Z (8 months ago)
- Last Synced: 2024-07-06T17:23:36.225Z (4 months ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 30
- Watchers: 3
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-PicGo - picgo-plugin-gitee
README
# 重要通知
**Recently Gitee has not allowed repo to be used as personal website, so please refer to #11 and do your new plan.
最近 gitee 不允许仓库作为个人图床,请参考 [#11](https://github.com/zhanghuid/picgo-plugin-gitee/issues/11),做好相应的处理。**# picgo-plugin-gitee
plugin for [PicGo](https://github.com/Molunerfinn/PicGo)
### Install
```bash
npm i picgo-plugin-gitee
```### Usage
#### input your config
- owner: gitee project's owner name
- repo: gitee project repo
- token: gitee's api token
- path: img path in response json (eg:url or data.url)
- message: gitee commit#### init your remote repo
- create git repo?
```bash
mkdir resources
cd resources
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin your-remote-link
git push -u origin master
```
- exists repo?
```
cd existing_git_repo
git remote add origin your-remote-link
git push -u origin master
```### Feature
- support sync gitee file delete### Todo
- [x] trim / delimiter
**gitee文件大小有1mb限制, 所以超过1mb的文件无法通过外链获取**