{"id":13479439,"url":"https://github.com/xiaohk/clip2imgur","last_synced_at":"2025-07-26T20:36:42.037Z","repository":{"id":134719557,"uuid":"120966623","full_name":"xiaohk/clip2imgur","owner":"xiaohk","description":"A simple macOS command line tool for uploading your screenshots from clipboard to Imgur","archived":false,"fork":false,"pushed_at":"2024-04-11T16:16:22.000Z","size":1145,"stargazers_count":18,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T10:02:51.435Z","etag":null,"topics":["cli","imgur","macos","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/xiaohk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-02-09T23:24:35.000Z","updated_at":"2025-02-21T23:01:19.000Z","dependencies_parsed_at":"2024-04-10T04:24:40.280Z","dependency_job_id":"fe7a38c8-fd7f-46c5-ba23-44373ac8c588","html_url":"https://github.com/xiaohk/clip2imgur","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaohk%2Fclip2imgur","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaohk%2Fclip2imgur/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaohk%2Fclip2imgur/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaohk%2Fclip2imgur/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiaohk","download_url":"https://codeload.github.com/xiaohk/clip2imgur/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248550634,"owners_count":21122933,"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":["cli","imgur","macos","swift"],"created_at":"2024-07-31T16:02:16.123Z","updated_at":"2025-04-12T10:06:58.052Z","avatar_url":"https://github.com/xiaohk.png","language":"Swift","funding_links":[],"categories":["Swift"],"sub_categories":[],"readme":"\u003ch1\u003eclip2imgur \u003cimg src=\"./icon.png\" height=\"36\" align=\"right\"\u003e\u003c/h1\u003e\n\n\u003e A simple macOS command line tool for uploading your screenshots from clipboard\n\u003e to Imgur\n\n[![Github Actions Status](https://github.com/xiaohk/clip2imgur/workflows/build/badge.svg)](https://github.com/xiaohk/clip2imgur/actions/workflows/build.yml)\n[![License](https://img.shields.io/badge/License-MIT-yellowgreen)](https://github.com/xiaohk/clip2imgur/blob/master/LICENSE)\n[![pypi](https://img.shields.io/pypi/v/clip2imgur?color=blue)](https://pypi.python.org/pypi/clip2imgur)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5348350.svg)](https://doi.org/10.5281/zenodo.5348350)\n\n## Usage\n\n\u003cimg src=\"./demo.gif\" width=500 style=\"margin-left:50px\"  align=\"right\"\u003e\n\n- Press \u003ckbd\u003econtrol+shift+command+3\u003c/kbd\u003e or \u003ckbd\u003econtrol+shift+command+4\u003c/kbd\u003e\n  to capture and copy a screenshot.\n\n- Run `clip2imgur` in your terminal, then boom, the image URL is in your\n  clipboard.\n\n- If it is your first time to run `clip2imgur`, you can choose to authorize this\n  tool, and your image will be posted in your image collection\n  (`username.imgur.com/all`).\n\n- You also can choose to post anonymously, but it is hard to get the url later\n  and Imgur might delete your posts.\n\nIn default setting, the URL of posted image will be copied to your clipboard.\nYou can use flags to configure it.\n\n```\n$ clip2imgur --html\n$ clip2imgur -n\n```\n\n| short | long         | description                                                                         |\n| :---- | :----------- | :---------------------------------------------------------------------------------- |\n| `-m`  | `--markdown` | URL will be copied in the Markdown image format.`[](https://i.imgur.com/x.png)`     |\n| `-t`  | `--html`     | URL will be copied in the HTML image format.`\u003cimg src=\"https://i.imgur.com/x.png\"\u003e` |\n| `-n`  | `--notcopy`  | Your image URL will not be copied to your clipboard                                 |\n| `-a`  | `--anon`     | Post the image anonymously                                                          |\n\nPersonally I like to include images in Markdown file using the HTML format,\nwhich gives more control of the display. If you forget these flags, you always\ncan run `clip2imgur -h` to check the usage.\n\n## Change Log\n\n- (4/9/2024): Clip2imgur is rewritten in Python.\n- (2/15/2018): Clip2imgur is released. This version is written in Swift.\n\n## Install\n\nThis package is built using cross-platform Swift with Swift Package Manager\n(SPM), but it currently only supports macOS. There are three ways to install\n`clip2imgur`.\n\n### Homebrew\n\nUsing `Homebrew` is the recommended and also the easiest way to get `clip2imgur`\ninstalled on your mac. If you don't have `Homebrew` installed, you can simply\nrun:\n\n```\n$ /usr/bin/ruby -e \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)\"\n```\n\nThen, to install `clip2imgur`:\n\n```\n$ brew tap xiaohk/clip2imgur\n$ brew install clip2imgur\n```\n\n### PyPI\n\nIf you are familiar with Python, you can install `clip2imgur` with pip.\n\n```\n$ pip install clip2imgur\n```\n\n## Built With\n\nThe latest version (\u003e=v0.9.1) uses Python.\n\nThe first version (v0.9.0) was built with:\n\n- [Swift Package Manager](https://swift.org/package-manager/)\n- [Rainbow](https://github.com/onevcat/Rainbow)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaohk%2Fclip2imgur","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaohk%2Fclip2imgur","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaohk%2Fclip2imgur/lists"}