├── .gitignore ├── LICENSE ├── README.md ├── overview ├── login-1.png ├── login-2.png ├── login.gif ├── logo.png ├── overview.png ├── usage-1.gif └── usage-2.gif ├── package.json └── picee ├── images └── logo.png ├── index.html ├── js ├── chooseImg.js ├── element-ui.js ├── fetch.js ├── main.js ├── paste.js └── vue.min.js ├── manifest.json └── style ├── element-ui.css ├── fonts ├── element-icons.ttf └── element-icons.woff ├── main.css └── main.less /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 JrainLau 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Picee 2 | 3 |  4 | 5 | **Picee** is a chrome extension for people to use Github as their image hosting service. 6 | 7 | ## Installation 8 | Install from Chrome webstore: [Picee](https://chrome.google.com/webstore/detail/picee/nmeeieecbmdnilkkaliknhkkakonobbc) 9 | 10 | ## Installation for developer 11 | 1. Go to [chrome://extensions](chrome://extensions). 12 | 2. Turn on "Development mode" on the top right. 13 | 3. Drag [picee.crx](https://github.com/jrainlau/picee/releases/download/1.4.1/picee.crx) into the page. 14 | 4. Done. 15 | 16 | > PS: If Chrome tells you that **Picee** was unsafety, you can unzip [picee.zip](https://github.com/jrainlau/picee/releases/download/1.4.1/picee.zip), and install it by "install unzip extentions" from the top left. 17 | 18 | ## Usage 19 | 20 | Before using **Picee**, you should make authentication with Github. **Picee** supports both *Github oAuth token* and *Github account and password*. 21 | 22 |  23 | 24 | > **Picee** uses the token or account & password only for requesting Github apis, will never send to any other places. 25 | 26 | After authentication, type the repo name and folder path, then click the check button. 27 | 28 |  29 | 30 | > Repo name must be like **Username/Reponame**. Folder path could be blank, default to the repo's root. 31 | 32 | You can select, paste or drag an image to the dashed area, then click the upload button (or set autoupload from the configuration). Once upload successed, the download url would be placed in the output area. 33 | 34 |  35 | 36 | > If upload GIF, please set the "Max upload size" to be larger than the GIF, nor the GIF you uploaded would be static. 37 | 38 | Enjoy! 39 | 40 | ## Lisence 41 | [MIT](./LICENSE) -------------------------------------------------------------------------------- /overview/login-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrainlau/picee/e236bf518f423c6ee1d36c953d668430c733e822/overview/login-1.png -------------------------------------------------------------------------------- /overview/login-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrainlau/picee/e236bf518f423c6ee1d36c953d668430c733e822/overview/login-2.png -------------------------------------------------------------------------------- /overview/login.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrainlau/picee/e236bf518f423c6ee1d36c953d668430c733e822/overview/login.gif -------------------------------------------------------------------------------- /overview/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrainlau/picee/e236bf518f423c6ee1d36c953d668430c733e822/overview/logo.png -------------------------------------------------------------------------------- /overview/overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrainlau/picee/e236bf518f423c6ee1d36c953d668430c733e822/overview/overview.png -------------------------------------------------------------------------------- /overview/usage-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrainlau/picee/e236bf518f423c6ee1d36c953d668430c733e822/overview/usage-1.gif -------------------------------------------------------------------------------- /overview/usage-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrainlau/picee/e236bf518f423c6ee1d36c953d668430c733e822/overview/usage-2.gif -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "picee", 3 | "version": "1.4.2", 4 | "description": "Using github as your image hosting service", 5 | "repository": { 6 | "type": "git", 7 | "url": "git+https://github.com/jrainlau/picee.git" 8 | }, 9 | "keywords": ["image", "image hosting service"], 10 | "author": "Jrain Lau", 11 | "license": "MIT", 12 | "bugs": { 13 | "url": "https://github.com/jrainlau/picee/issues" 14 | }, 15 | "homepage": "https://github.com/jrainlau/picee#readme" 16 | } 17 | -------------------------------------------------------------------------------- /picee/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrainlau/picee/e236bf518f423c6ee1d36c953d668430c733e822/picee/images/logo.png -------------------------------------------------------------------------------- /picee/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 |