Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

uploadlatest

CLI util for uploading screenshots to FTP or Imgur.

Initial setup

Copy uploadlatest to /usr/bin/uploadlatest

# cp uploadlatest /usr/bin/uploadlatest

Dependencies

Debian/Ubuntu & Derivatives:

# apt-get install jq curl

Arch:

# pacman -S jq curl

If you are on Xorg, you will need the xclip package:

Debian/Ubuntu & Derivatives:

# apt-get install xclip

Arch:

# pacman -S xclip

Configuration

Copy uploadlatest.conf.default to ~/.config/uploadlatest.conf

$ cp uploadlatest.conf.default ~/.config/uploadlatest.conf

Configure this file using your favourite editor.

Imgur Setup

Imgur needs a client ID. You can set this up at https://api.imgur.com/oauth2/addclient

Set authorization type to anonymous usage without user authorization

Set callback URL to imgur.com

Paste the client ID in your config file.

Usage

After configuration, you can simply use uploadlatest to take the latest screenshot from your screenshots directory.

Usage: uploadlatest [options]
Options:
  -s, --service <service>   Specify the service (ftp or imgur)
  -h, --help                Display this help message

About

CLI util for uploading screenshots to FTP or Imgur.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages