• Stars
    star
    168
  • Rank 225,507 (Top 5 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 9 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Caffeine tracking for everyone

Cortado

Download Cortado on the App Store

CI Status Coverage Status

Cortado is an iPhone app to help you track your caffeine consumption habits. Besides letting you manually enter caffeine data, it detects when you are at a coffee shop and automatically prompts you to input data right from your lock screen or watch.

For more information on the ideas behind Cortado, check out the blog post introducing it.

Cortado is available for sale on the App Store. While this codebase will allow you to build and run the app for free, if you actually use Cortado, please buy it on the App Store to help support future development.

Setup

  1. Clone this repo: git clone https://github.com/lazerwalker/cortado.git
  2. Generate API keys for both Foursquare and Mixpanel.
  3. If they are not already on your machine, install Cocoapods and Cocoapods-Keys: sudo gem install cocoapods cocoapods-keys
  4. Run pod install, plugging in your Mixpanel and Foursquare API keys as prompted.
  5. Open Cortado.xcworkspace in Xcode

From there, you should be good to go to build Cortado!

Contributing

Pull requests are welcome! Please run the test suite before opening a pull request, and please try to add new tests as appropriate.

Although there is no formal style guide, please follow the example of existing code. In general, you should:

  • Prefer autolayout over manual frame positioning
  • Prefer Interface Builder over layout code
  • Have no more than 1-2 view controllers/views per Storyboard/xib.
  • Maintain model immutability whenever possible
  • Use MVVM architecture and ReactiveCocoa as appropriate

A Plea

Releasing Cortado under such a liberal license is an experiment. I'm putting a lot of trust in you. Please don't abuse that trust. If you use Cortado, please buy a copy rather than simply compiling it from source. If you want to build your own software based off of my code, please make it meaningfully different rather than just a Cortado clone. You're all wonderful people, and I know I don't even need to be saying any of this.

License

The source code to Cortado is available under the MIT license. See the LICENSE file for more information.

The icons and photos that appear in this app are all licensed under a Creative Commons By-Attribution license. For licensing information and attribution for a given art asset, check out the "Image Attribution" section of the app (accessible from the settings page of the app itself, or from within SettingsViewController.storyboard in Xcode).

Although technically allowed by the licensing terms, please do not simply submit your own version of Cortado to the App Store.

Contact

Em Lazer-Walker

More Repositories

1

Theseus

An open-source iOS personal analytics tool
Objective-C
700
star
2

clojurescript-koans

A ClojureScript adaptation of the Clojure koans that runs purely in-browser
Clojure
268
star
3

twine-app-builder

Automatically generate Windows and macOS versions of your Twine games, for free!
HTML
212
star
4

hubot-imessage

iMessage adapter for Hubot
AppleScript
171
star
5

twison

A Twine 2 story format that provides JSON export
HTML
139
star
6

storyboard

A narrative engine for interactive storytelling
TypeScript
112
star
7

habit-squares

Habit tracking for lazy people
Ruby
106
star
8

fuckingblocksyntax.com

Syntax is hard.
HTML
79
star
9

Skeleton-Sass

A port of Skeleton's responsive grid framework to SASS
CSS
71
star
10

GroundKontrol

Tune your Unity game's constants using a Korg MIDI controller
C#
56
star
11

literally

Replaces occurrences of the word 'literally' with 'figuratively'. That's literally all it does.
JavaScript
47
star
12

Mobile-Safari-Inspector

Use WebKit Inspector to debug iOS web apps rendered in a native UIWebView
Objective-C
44
star
13

tinsel

Choose Your Own Adventure-style interactive fiction for touch tone phones
JavaScript
37
star
14

MTLParseAdapter

Convert your Mantle model objects to and from Parse PFObjects
Objective-C
22
star
15

whatsapplebees

The most popular Applebee's-based social network.
Objective-C
19
star
16

MWKeyboardAnimation

A UIView category to simplify animations that sync up with the UIKeyboard show/hide animation
Objective-C
19
star
17

playfab-twine

TypeScript
17
star
18

ios-3d-audio-test

Swift
16
star
19

lazerwalker-hubot-scripts

Some Hubot scripts I use to make my life easier
CoffeeScript
13
star
20

tracery-dot-app

Native desktop app for experimenting with Tracery grammars
TypeScript
12
star
21

dotfiles

Vim Script
11
star
22

dont-touch-your-face

HTML
10
star
23

prisoners-dilemma

A simple game to show off Apple's Multipeer Connectivity framework
Objective-C
9
star
24

lazerboy-pcb

6
star
25

machine-learning-rps

TypeScript
5
star
26

azure-mystery-mansion

4
star
27

geofencer

Swift
4
star
28

thumbstick

🎮 A virtual joystick for touch capable interfaces.
JavaScript
4
star
29

xoxo-closing-party

JavaScript
4
star
30

semaphore

TypeScript
3
star
31

walking-game

C#
3
star
32

storyboard-iOS

Swift reference client for the Storyboard storytelling engine
JavaScript
3
star
33

morse-keyboard

Arduino
3
star
34

poetry-ios

Swift
3
star
35

minimum-viable-webrtc

A WebRTC sample browser app + server that automatically negotiates streaming p2p video
TypeScript
3
star
36

diorama

A tool for making short narrative experiences in 3D
TypeScript
2
star
37

spatial-webrtc-test

TypeScript
2
star
38

tinsel-twison

Use Twine 2 to to create games for Tinsel
JavaScript
2
star
39

midi-tuner

JS webapp and server for MIDI variable gamefeel tuning
TypeScript
2
star
40

orbital

A Sass-based responsive grid that's out of this world
2
star
41

unity-ci-example

2
star
42

CafeAuLait

A node.js library for Remember The Milk written in CoffeeScript
CoffeeScript
2
star
43

storyboard-lang

TypeScript
2
star
44

ios-games-list

iOS games worth playing.
HTML
2
star
45

fbchan

A fully-functional web-based Facebook client that looks like 4chan.
JavaScript
1
star
46

doginternet

HTML
1
star
47

cordova-clvisit

1
star
48

TipsterJS

Yet another jQuery tooltip library
JavaScript
1
star
49

autocompete

JavaScript
1
star
50

blog

SCSS
1
star
51

electron-wrapper-template

JavaScript
1
star
52

marsjs

TypeScript
1
star
53

twine-app-builder-dev

Experimental features for Twine App Builder
HTML
1
star
54

lazerwalker

1
star
55

lickr-web

If you're not in MAS.863, you probably don't care about this.
Python
1
star
56

iron-blogger

Ruby
1
star