Giter VIP home page Giter VIP logo

clippo's Introduction

Installation

  1. Clone the project
git clone [email protected]:davidjairala/clippo.git
cd clippo

rbenv install
bundle
  1. Install requirements
brew install pngpaste
  1. Edit config file
cp config/config.example.yml config/config.yml
vim config/config.yml

Enter your s3 details into the YML file.

Usage

Copy some text or a screenshot into your clipboard that you want to share and then run clippo:

clippo

Uploaded to (and copied to clipboard):
https://davidjairala-notes.s3-us-west-1.amazonaws.com/2016-03-25/1458940549__196287852.png

The file is uploaded to s3 and set with ACL of public-read. The public url is then copied to the clipboard as well so you can share it easily.

All uploaded files are placed within the bucket you specify in the config/config.yml file and within folders for the date you uploaded the file in the format YYYY-MM-DD.

Included you'll also find clippo.sh that you can move to wherever you keep executable shortcuts in your path (~/bin for example), so you can invoke clippo from everywhere!

To run with a global shortcut:

Copy the included clippo.workflow folder to ~/Library/Services:

cp -Rf clippo.workflow ~/Library/Services/

Then go into System Preferences -> Keyboard -> Shortcuts -> Services, find clippo and assign the desired keyboard shortcut combo.

Help

Hit me up here.

clippo's People

Contributors

davidjairala avatar

Stargazers

Dustin Getz avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.