Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pluveto/upgit-vscode-extension

Upload and insert clipboard image into document with upgit uploader
https://github.com/pluveto/upgit-vscode-extension

Last synced: 4 days ago
JSON representation

Upload and insert clipboard image into document with upgit uploader

Awesome Lists containing this project

README

        

# Upgit for VSCode

[简体中文](./README.zh-CN.md) | [English](./README.md)

Upload images from clipboard to remote and insert into document.

Backend [pluveto/upgit: Another Typora image uploader](https://github.com/pluveto/upgit) supports multiple upload methods:

+ Github
+ Tencent QcloudCOS
+ Qiniu Kodo
+ Upyun
+ SM.MS
+ Imgur
+ ImgUrl.org
+ CatBox
+ LSkyPro
+ Chevereto
+ ImgBB
+ Cloudinary
+ EasyImage

## Get started

First, make sure you have installed and configured Upgit program. See [pluveto/upgit](https://github.com/pluveto/upgit).

Search `upgit` in VSCode extension market, install and enable.

Press F1 to search `>Settings UI` and set `upgit.upgitPath` to your `upgit` installation path.

![upgit_20220413_1649824782.png](https://cdn.jsdelivr.net/gh/pluveto/0images@master/2022/04/upgit_20220413_1649824782.png)

> If you need to customize parameters, use JSON configuration file, example:
>
>```json
>{
> "upgitPath": "C:\\Users\\pluveto\\AppData\\Local\\upgit\\upgit.exe",
> "upgitArgs": {
> "": ":clipboard",
> "--output-type": "stdout",
> "--output-format": "markdown"
> }
>}
>```

When editing document, press F1 to search `Upgit: Upload clipboard image and insert into document` and excute it.

## Commands

You can bind commands to shortcut keys to make it easier to use.

`extension.upgit.upload-clipboard-image`: Upload images from clipboard.