{"id":16260768,"url":"https://github.com/jkchao/vs-md-upload-image","last_synced_at":"2025-08-07T20:04:33.928Z","repository":{"id":87187864,"uuid":"182768577","full_name":"jkchao/vs-md-upload-image","owner":"jkchao","description":"写 .md 时，上传图片的 VSCode 插件，支持上传前图片裁剪、旋转、压缩等","archived":false,"fork":false,"pushed_at":"2023-04-30T23:09:34.000Z","size":8188,"stargazers_count":13,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T07:11:36.722Z","etag":null,"topics":["crop-image","qiniu","upload-image","vscode-extension"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jkchao.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-22T11:26:06.000Z","updated_at":"2021-09-07T15:45:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"77161a74-dc36-4c7c-91f7-9a9164d10ccb","html_url":"https://github.com/jkchao/vs-md-upload-image","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jkchao/vs-md-upload-image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkchao%2Fvs-md-upload-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkchao%2Fvs-md-upload-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkchao%2Fvs-md-upload-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkchao%2Fvs-md-upload-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jkchao","download_url":"https://codeload.github.com/jkchao/vs-md-upload-image/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkchao%2Fvs-md-upload-image/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269317118,"owners_count":24396845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crop-image","qiniu","upload-image","vscode-extension"],"created_at":"2024-10-10T16:21:06.329Z","updated_at":"2025-08-07T20:04:33.880Z","avatar_url":"https://github.com/jkchao.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vs-md-upload-image\n\n在 VSCode 中写 .md 时，上传图片至七牛云的插件，支持上传前对图片裁剪，旋转等操作。\n\n## Features\n\n- .md 文件中选择图片上传至七牛云\n- 上传前裁剪\n- 旋转（未完成）\n- 支持压缩后上传（未完成）\n- 支持拖拽上传（未完成）\n- 其他一些没想到的\n\n## Extension Settings\n\n| Setting        | type    | default      | Required | desc                                                          |\n| -------------- | ------- | ------------ | -------- | ------------------------------------------------------------- |\n| qiniu.bucket   | string  | \"\"           | true     | bucket name                                                   |\n| qiniu.ak       | string  | \"\"           | true     | access key                                                    |\n| qiniu.sk       | string  | \"\"           | true     | security key                                                  |\n| qiniu.prefix   | string  | \"yyyy-mm-dd\" | false    | 路径前缀可以用来分类文件，例如： image/jpg/your-file-name.jpg |\n| qiniu.domain   | string  | \"\"           | true     | 外链域名                                                      |\n| qiniu.needCrop | boolean | true         | false    | 是否需要裁剪                                                  |\n\n## How to use\n\n- 由于底层默认使用 [GraphicsMagick](http://www.graphicsmagick.org/)，因此你需要先安装 GraphicsMagick\n\n  ```shell\n  brew install GraphicsMagick\n  ```\n\n- 安装插件，配置参数\n\n- 打开一个 **.md** 文件，打开设置面板 (mac: control + command + p, windows: ctr + shift + p)，选择 Upload image: select file to upload，接下来就可以进行操作了。\n\n- 或者点击 statusBar（右下角） 下的文字 'Upload' 即可上传\n\n## Screenshot\n\n- 使用设置面板形式\n\n![image](https://raw.githubusercontent.com/jkchao/vs-md-upload-image/master/screenshot/upload.gif)\n\n- 使用 StatusBar：\n\n![image](https://raw.githubusercontent.com/jkchao/vs-md-upload-image/master/screenshot/statusBar.gif)\n\n## Notice\n\n此插件是新开一个 paner 来进行图片的操作，因此受限于 VSCode 暴露的 API 限制（[如不能通过 API 来切换到指定的 paner](https://github.com/Microsoft/vscode/issues/15178)），当你在操作图片时切换到另一个 paner，此 paner 将会关闭。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkchao%2Fvs-md-upload-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjkchao%2Fvs-md-upload-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkchao%2Fvs-md-upload-image/lists"}