MIT License

项目介绍

jomo/imgur-screenshot 是一个托管在 GitHub 上的开源项目,主要使用 Shell 编写,采用 MIT License 许可证,目前获得 554 个 Star、80 次 Fork。

仓库全名
jomo/imgur-screenshot
开源许可证
MIT License
Star 数
554
Fork 数
80
未关闭 Issue
4

README 摘要

The Imgur-Screenshot uploader for Linux & OS X from imgur.com/tools Imgur-Screenshot 1. select area of your screen 1. The screenshot is uploaded to imgur Features Upload screenshot or image files Copy link to clipboard Customizable configuration Edit image before uploading Upload anonymously or to an account Create and add to albums Filename, link, and deletion link history is stored Automatic image deletion Update…

完整内容见 GitHub 原始 README 或本页 。

常见问题

imgur-screenshot 用什么语言开发?

主要使用 Shell 编写,采用 MIT License 许可证,目前有 554 个 Star。

imgur-screenshot 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 imgur-screenshot 的源码?

可以直接克隆仓库:git clone https://github.com/jomo/imgur-screenshot.git,默认分支为 master;安装与运行步骤见仓库 README。

imgur-screenshot 最近还在维护吗?

仓库最近一次更新为 2021年8月21日,当前有 4 个未关闭 Issue;Star 数为 554,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Take screenshot selection, upload to imgur. + more cool things

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
715
价值分
356
活跃状态
归档

语言占比

Shell

Release

README

The Imgur-Screenshot uploader for Linux & OS X from imgur.com/tools

Imgur-Screenshot

  1. select area of your screen
  2. The screenshot is uploaded to imgur

screenshot gif

Features

  • Upload screenshot or image files
  • Copy link to clipboard
  • Customizable configuration
  • Edit image before uploading
  • Upload anonymously or to an account
  • Create and add to albums
  • Filename, link, and deletion link history is stored
  • Automatic image deletion
  • Update notifications

The edit feature can be used for automated editing with something like ImageMagick, or just to quickly add notes.

Contributing

  • Report issues
  • Submit feature request
  • Make a pull request
  • Get imgur-screenshot on more package managers!

See also: CONTRIBUTING.md

Installation

Install on Mac via Homebrew

brew update && brew install imgur-screenshot

Install on ArchLinux via AUR

See imgur-screenshot for the stable version, and imgur-screenshot-git for the development version.

Install on CentOS and Fedora via COPR

See valdikss/imgur-screenshot on COPR.

Install on NixOS via Nix

See imgur-screenshot on Hydra.

Install via git

git clone https://github.com/jomo/imgur-screenshot.git

Download source

Alternatively, you can download imgur-screenshot from releases.
These builds have auto-update.patch applied, allowing to update via --update.


Make sure you have all dependencies installed (see below).

That’s it.
Bind the script to a hotkey or add it to your $PATH for quick access ;)

Enjoy!

Usage

Note: You can override the default configuration in ~/.config/imgur-screenshot/settings.conf.
Check out the wiki for more!

imgur-screenshot [--debug] [-c | -v | -h | -u]
imgur-screenshot [--debug] [optiion]... [file]...

Run imgur-screenshot -h to see all command line options.

Uploading a screenshot

All you need to do is simply run imgur-screenshot.

Uploading a screenshot to your account

imgur-screenshot -c # shows you which account you're connected to
imgur-screenshot -l true

Dependencies

  • curl
  • jq
  • Linux only:
  • libnotify-bin
  • scrot (or other screenshot tool)
  • xclip (needed for copy_url)
  • macOS only:
  • terminal-notifier or growlnotify

OS support

With the above dependencies installed, imgur-screenshot should work on most UNIX systems.
This will not work on Windows. (maybe with cygwin?)
I have successfully tested this on Ubuntu and macOS.
If this won’t work on your OS, create a new issue.

Note

The screenshot will be taken after the selection has been made. This might be annoying if you want to capture something quickly and then want to select an area. However, you can take a full shot and use the edit option to crop the image before upload.

评论

暂无评论