Skip to content
Golang screenshot CLI, written with Cobra
Go
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd
LICENSE
README.md
go.mod
go.sum
main.go

README.md

Screenshot

A screenshot CLI application built in Golang. This app uses Cobra, as well as a bunch of other libraries I created.

This app will allow you to take a screenshot of your whole screen, or just a selected region. It will copy the screenshot to your clipboard, and with the --upload flag will upload it to imgur.

Installation

Make sure you have your $GOPATH setup properly. Use go get to install the binary:

go get -u github.com/ZacJoffe/screenshot

Usage

Invoke the app with the screenshot command. Using the --select (or -s for short) flag will allow you to select a region. Using the --upload (or -u) flag will upload the screenshot to imgur, output the link and copy it to your clipboard.

The --imagemagick (or -i for short) flag will use ImageMagick instead of maim for the screenshot backend.

So, to select a region of the screen and upload it, you can use:

screenshot -su
You can’t perform that action at this time.