clip2imgur

A simple macOS command line tool for uploading your screenshots from clipboard to Imgur

https://github.com/xiaohk/clip2imgur

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.6%) to scientific vocabulary

Keywords

cli imgur macos swift
Last synced: 4 months ago · JSON representation ·

Repository

A simple macOS command line tool for uploading your screenshots from clipboard to Imgur

Basic Info
  • Host: GitHub
  • Owner: xiaohk
  • License: mit
  • Language: Swift
  • Default Branch: master
  • Homepage:
  • Size: 1.09 MB
Statistics
  • Stars: 18
  • Watchers: 2
  • Forks: 3
  • Open Issues: 0
  • Releases: 3
Topics
cli imgur macos swift
Created almost 8 years ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

clip2imgur

A simple macOS command line tool for uploading your screenshots from clipboard to Imgur

Github Actions Status License pypi DOI

Usage

  • Press control+shift+command+3 or control+shift+command+4 to capture and copy a screenshot.

  • Run clip2imgur in your terminal, then boom, the image URL is in your clipboard.

  • If it is your first time to run clip2imgur, you can choose to authorize this tool, and your image will be posted in your image collection (username.imgur.com/all).

  • You also can choose to post anonymously, but it is hard to get the url later and Imgur might delete your posts.

In default setting, the URL of posted image will be copied to your clipboard. You can use flags to configure it.

$ clip2imgur --html $ clip2imgur -n

| short | long | description | | :---- | :----------- | :---------------------------------------------------------------------------------- | | -m | --markdown | URL will be copied in the Markdown image format.[](https://i.imgur.com/x.png) | | -t | --html | URL will be copied in the HTML image format.<img src="https://i.imgur.com/x.png"> | | -n | --notcopy | Your image URL will not be copied to your clipboard | | -a | --anon | Post the image anonymously |

Personally I like to include images in Markdown file using the HTML format, which gives more control of the display. If you forget these flags, you always can run clip2imgur -h to check the usage.

Change Log

  • (4/9/2024): Clip2imgur is rewritten in Python.
  • (2/15/2018): Clip2imgur is released. This version is written in Swift.

Install

This package is built using cross-platform Swift with Swift Package Manager (SPM), but it currently only supports macOS. There are three ways to install clip2imgur.

Homebrew

Using Homebrew is the recommended and also the easiest way to get clip2imgur installed on your mac. If you don't have Homebrew installed, you can simply run:

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Then, to install clip2imgur:

$ brew tap xiaohk/clip2imgur $ brew install clip2imgur

PyPI

If you are familiar with Python, you can install clip2imgur with pip.

$ pip install clip2imgur

Built With

The latest version (>=v0.9.1) uses Python.

The first version (v0.9.0) was built with:

Owner

  • Name: Jay Wang
  • Login: xiaohk
  • Kind: user
  • Location: Atlanta, GA
  • Company: @poloclub

Machine Learning PhD student at Georgia Tech. Life is not always 🦄 and 🌈, but my favorite emoji is 😉

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Wang"
  given-names: "Zijie J."
  orcid: "https://orcid.org/0000-0003-4360-1423"
title: "Clip2Imgur: A MacOS Software to Upload Screenshots from the Clipboard to Imgur"
version: 0.9.0
doi: 10.5281/zenodo.5348350
date-released: 2018-02-15
url: "https://github.com/xiaohk/clip2imgur"

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: 5 months ago

All Time
  • Total Commits: 46
  • Total Committers: 1
  • Avg Commits per committer: 46.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Jay Wang j****y@z****g 46
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 5 months ago

All Time
  • Total issues: 4
  • Total pull requests: 0
  • Average time to close issues: almost 2 years
  • Average time to close pull requests: N/A
  • Total issue authors: 4
  • Total pull request authors: 0
  • Average comments per issue: 1.75
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • fuzzyweapon (1)
  • normen (1)
  • MartinP7r (1)
  • noisyneil (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 22 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 4
  • Total maintainers: 1
pypi.org: clip2imgur

A simple CLI that uploads your image in the clipboard to Imgur.

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 22 Last month
Rankings
Dependent packages count: 9.6%
Average: 36.4%
Dependent repos count: 63.2%
Maintainers (1)
Last synced: 4 months ago

Dependencies

.github/workflows/build.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v4 composite
python/requirements.txt pypi
  • Sphinx ==1.8.5
  • bump2version ==0.5.11
  • coverage ==4.5.4
  • flake8 ==3.7.8
  • pip >=22.1
  • pyobjc >=10.2
  • pyperclip >=1.8.2
  • rich >=13.7.1
  • twine ==1.14.0
  • watchdog ==0.9.0
  • wheel ==0.38.1
python/setup.py pypi
Package.swift swiftpm