{"id":13533880,"url":"https://github.com/PicGo/PicGo-Core","last_synced_at":"2025-04-01T22:31:00.619Z","repository":{"id":38445286,"uuid":"149085734","full_name":"PicGo/PicGo-Core","owner":"PicGo","description":":zap:A tool for pictures uploading. Both CLI \u0026 API supports.","archived":false,"fork":false,"pushed_at":"2024-12-11T09:40:56.000Z","size":550,"stargazers_count":870,"open_issues_count":18,"forks_count":88,"subscribers_count":7,"default_branch":"dev","last_synced_at":"2025-03-30T15:05:37.145Z","etag":null,"topics":["picgo","picture-upload","upload-pictures"],"latest_commit_sha":null,"homepage":"https://picgo.github.io/PicGo-Core-Doc/","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/PicGo.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":"2018-09-17T07:26:44.000Z","updated_at":"2025-03-29T11:06:31.000Z","dependencies_parsed_at":"2024-06-18T13:59:33.717Z","dependency_job_id":"a79060a1-400d-4af4-92ec-7d9ceeaaf573","html_url":"https://github.com/PicGo/PicGo-Core","commit_stats":{"total_commits":270,"total_committers":15,"mean_commits":18.0,"dds":0.09259259259259256,"last_synced_commit":"bde7223877f7633e365b8dce8da8772e8a25374d"},"previous_names":[],"tags_count":91,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PicGo%2FPicGo-Core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PicGo%2FPicGo-Core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PicGo%2FPicGo-Core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PicGo%2FPicGo-Core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PicGo","download_url":"https://codeload.github.com/PicGo/PicGo-Core/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246720455,"owners_count":20822907,"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","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":["picgo","picture-upload","upload-pictures"],"created_at":"2024-08-01T07:01:23.973Z","updated_at":"2025-04-01T22:31:00.239Z","avatar_url":"https://github.com/PicGo.png","language":"TypeScript","readme":"# PicGo-Core\n\n![standard](https://img.shields.io/badge/code%20style-standard-green.svg?style=flat-square)\n![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg?style=flat-square)\n[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fpicgo%2Fpicgo-core%2Fbadge%3Fref%3Dmaster\u0026style=flat-square)](https://actions-badge.atrox.dev/picgo/picgo-core/goto?ref=master)\n![npm](https://img.shields.io/npm/v/picgo.svg?style=flat-square)\n[![PicGo Convention](https://img.shields.io/badge/picgo-convention-blue.svg?style=flat-square)](https://github.com/PicGo/bump-version)\n![node](https://img.shields.io/badge/node-%3E%3D12.0.0-blue?style=flat-square)\n\n![picgo-core](https://cdn.jsdelivr.net/gh/Molunerfinn/test/picgo/picgo-core-fix.jpg)\n\nA tool for picture uploading. Both CLI \u0026 api supports. It also supports plugin system, please check [Awesome-PicGo](https://github.com/PicGo/Awesome-PicGo) to find powerful plugins.\n\n**Typora supports PicGo-Core natively**. If you like PicGo-Core and have time, welcome to help me translate the documentation of PicGo-Core into English.\n\n## Installation\n\nPicGo should be installed with node.js \u003e= 12 (v1.5.0-alpha.4 and small) \u0026 node.js \u003e= 16 (since v1.5.0-alpha.5).\n\n### Global install\n\n```bash\nnpm install picgo -g\n\n# or\n\nyarn global add picgo\n```\n\n### Local install\n\n```bash\nnpm install picgo -D\n\n# or\n\nyarn add picgo -D\n```\n\n## Usage\n\n### Use in CLI\n\n\u003e PicGo uses `SM.MS` as the default upload pic-bed.\n\nShow help:\n\n```bash\n$ picgo -h\n\n  Usage: picgo [options] [command]\n\n  Options:\n\n    -v, --version                 output the version number\n    -d, --debug                   debug mode\n    -s, --silent                  silent mode\n    -c, --config \u003cpath\u003e           set config path\n    -h, --help                    output usage information\n\n  Commands:\n\n    install|add \u003cplugins...\u003e             install picgo plugin\n    uninstall|rm \u003cplugins...\u003e            uninstall picgo plugin\n    update \u003cplugins...\u003e                  update picgo plugin\n    set|config \u003cmodule\u003e [name]           configure config of picgo modules\n    upload|u [input...]                  upload, go go go\n    use [module]                         use modules of picgo\n    init [options] \u003ctemplate\u003e [project]  create picgo plugin\\'s development templates\n```\n\n#### Upload a picture from path\n\n```bash\npicgo upload /xxx/xx/xx.jpg\n```\n\n#### Upload a picture from clipboard\n\n\u003e picture from clipboard will be converted to `png`\n\n```bash\npicgo upload\n```\n\nThanks to [vs-picgo](https://github.com/Spades-S/vs-picgo) \u0026\u0026 [Spades-S](https://github.com/Spades-S) for providing the method to upload picture from clipboard.\n\n### Use in node project\n\n#### Common JS\n\n```js\nconst { PicGo } = require('picgo')\n```\n\n#### ES Module\n\n```js\nimport { PicGo } from 'picgo'\n```\n\n#### API usage example\n\n```js\nconst picgo = new PicGo()\n\n// upload a picture from path\npicgo.upload(['/xxx/xxx.jpg'])\n\n// upload a picture from clipboard\npicgo.upload()\n```\n\n## Documentation\n\nFor more details, you can checkout [documentation](https://picgo.github.io/PicGo-Core-Doc/).\n","funding_links":[],"categories":["TypeScript","Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPicGo%2FPicGo-Core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPicGo%2FPicGo-Core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPicGo%2FPicGo-Core/lists"}