Thanks to visit codestin.com
Credit goes to github.com

Skip to content

theChaparral/kya

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File watcher for Linux that sends images to Gyazo. This allows you to use Gyazo with screenshot programs that are more usable, such as Spectacle.

Installation

Install using cargo.

cargo install kya

On Arch Linux install the kya package from AUR.

Perform the first-run setup:

kya-for-gyazo --first-run

Then edit the configuration file at .config/kya in your home directory. Kya requires an access token from the Gyazo API. Receiving an access token is fast and painless, simply go to the developer page and create a new app. You can leave the callback URL as "http://example.com" or whatever you like.

Edit the configuration TOML file with the access token and provide the location of where screenshots are saved. Kya will watch for any new files that show up while Kya is running. Configuration example:

access_token = "SomethingSomething"
directory = "/home/gert/Pictures/Screenshot"
open_in_browser = true
delete_after_upload = false

If you don't want the daemon to open the new image link in the browser, set open_in_browser to false. If you want the screenshots to be deleted automatically after upload, set delete_after_upload to true.

Automatically starting Kya

Kya is designed to be started automatically, such as by KDE autostart, or GNOME startup applications. You can also add it to .xinitrc, for example alongside KDE:

kya-for-gyazo &
exec startplasma-x11

Kya does a check to prevent running multiple instances of itself at once.

About

Gyazo file watcher for Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.2%
  • Shell 0.8%