Giter VIP home page Giter VIP logo

saycheese's Introduction

SayCheese

A screenshot taking app written in Swift (thought its libraries are Objective-C).

#Why?

There are plenty of apps for taking screenshots in OSX out there. Why another one?

Well, it's true that there are many apps out there and the one I like the most is LightShot, but they all lack something from this list:

  • They upload your screenshots anonymously so you can't control them once they are uploaded.
  • You can only take live-screenshots. What's that? If you are playing a game or trying to get a cropped screenshot of something that disappears, you will have a bad time.
  • They only upload screenshots of the whole screen.

Also, I wanted to write an app in Swift.

#What can I do with it?

SayCheese has a few options:

  • Assign custom hotkeys to taking a screenshot.
  • Region-selection screenshot taking.
  • Save that selection locally as JPG or PNG.
  • Upload it to imgur.com:
    • Anonymously.
    • Using your account. This way you can delete them whenever you want.

#Do you have a binary?

But of course! You can download the latest version from here.

#How does it work?

The app consist of a few main classes:

  • BackgroundApplication controls the hotkey pressing, it's the core of the app.
  • ScreenshotWindow is launched by BackgroundApplication when you take a screenshot. It contains a CroppingNSImageView instance, which allows you to select the region to upload and a SelectActionView which lets you decide what to do with that selection.
  • ImgurClient controls the session and handles uploading of screenshots.
  • PreferencesWindowController lets you change the hotkeys with an HotkeyTextField, whether you want the app to start at login or not, and the Imgur account.

#Can I contribute?

If you are insane enough to read and comprehend the code, then sure, do it. Just be sure that you submit pull requests to development branch.

Libraries used

For this project I used the Objective-C library provided by Imgur which also provides AFNetworking, everything using CocoaPods.

License

This app is licensed under Apache v2, so basically you can do whatever you want with it. For more info: see LICENSE file.

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.