Skip to content

ltk/kurtz-kloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kloud

Super simple screenshot sharing using your own S3 bucket, built with Node.js

It goes like this

  • You start Kloud.
  • It watches a directory of your choice, for new files matching your defined criteria. (In my case it watches my Desktop for new screen shot pngs.)
  • When a new file is detected, Kurtz Kloud saves the file to a bucket of your choice in S3, copies the file's S3 URL to your clipboard, and displays a notification.

Terminal output Native notification

Requirements

Install

git clone git@github.com:ltk/kurtz-kloud.git
cd kurtz-kloud
npm install

Configure

cp config.json.example config.json

Edit config.json to suit your needs. Your S3 bucket must already exist. Kloud will not create a bucket if the configured bucket is not found.

If you want your images to be publicly accessible (if you want to share them with other people) you may need to add a bucket policy to your S3 bucket similar to the one below that makes the getObject action across the entire bucket accessible to everyone:

{
	"Version": "2012-10-17",
	"Statement": [
		{
			"Sid": "AddPerm",
			"Effect": "Allow",
			"Principal": {
				"AWS": "*"
			},
			"Action": "s3:GetObject",
			"Resource": "arn:aws:s3:::YOUR_BUCKET_NAME_HERE/*"
		}
	]
}

Run

cd kurtz-kloud
npm start

About

A Node app for sharing screen shots

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published