• Stars
    star
    176
  • Rank 216,987 (Top 5 %)
  • Language
    Swift
  • License
    GNU General Publi...
  • Created over 6 years ago
  • Updated about 6 years ago

Reviews

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

Repository Details

A drink tracker for iOS with Untappd and HealthKit integration.

Good Spirits is a drink tracking iOS app that helps you stay under the government limits for "low-risk" drinking. Includes charts and stats, the ability to pull your check-ins from Untappd, and the ability to sync your drinks as calories to HealthKit.

You can find the App Store version here. Unfortunately, HealthKit is not available in this release. You can always compile the app yourself to get this functionality.

Technical Details

Compiling the code should be pretty straight-forward. Just be sure to run git submodule update --init --recursive after cloning the repo.

Note that there are three unique build configurations in this project, designed to toggle donation and HealthKit functionality. You can change this in your Scheme settings.

The directory structure is a bit messy. External contains modified dependencies. Submodules contains unmodified (git-submodule) dependencies. Modules contains the independent data layer, compilable as its own project. GoodSpirits contains the actual project code.

Sometimes, the compiler will complain about a "cycle in dependencies between targets 'Good Spirits' and 'GRDBiOS'". A clean build will fix this.

My Untappd Client ID, which is necessary for Untappd API calls, is not included. (I'm not sure I should be publishing it.) If you have API access, you can create a Keys.plist file in the GoodSpirits directory, add it to the Good Spirits target in Xcode, and add your Client ID string to the plist with an untappd key.

Licensing

The source code is available under the GPL license with absolutely no support or maintenance commitments. Note that GPL-licensed code isn't compatible with the App Store. If you're interested in releasing a fork in the App Store, please contact me.

You can find licenses for the third-party assets in the Licenses.txt file.

The app icon is not licensed for public use! You may not use the name of the app ("Good Spirits") nor the app icon in any of your own projects.

More Repositories

1

sensible-side-buttons

A macOS menu bar app that enables system-wide navigation functionality for the side buttons on third-party mice.
C
1,863
star
2

tasty-imitation-keyboard

A custom keyboard for iOS8 that serves as a tasty imitation of the default Apple keyboard. Built using Swift and the latest Apple technologies!
Swift
1,194
star
3

crdt-playground

Swift
295
star
4

backgroundifier-buddy

Swift
40
star
5

cyrillic-transliterator

This set of apps allows you to type Latin characters in OSX and have them transliterate in real time into Cyrillic characters. This includes multi-character transliterations like 'sh'/'ш'.
Objective-C
40
star
6

backgroundifier-public

Code for my Backgroundifier image conversion droplet for OSX. UI nib and other assets not included and not licensed for reuse. Code licensed under BSD.
Swift
30
star
7

faux-testing-keyboard

A fake 3rd party keyboard intended to debug issues with constraints and rotations, as well as to compare performance between manual layout and autolayout.
Swift
12
star
8

app-pauser

A simple app that allows you to suspend and resume applications and processes running on your system, bringing them down to 0% CPU.
Objective-C
10
star
9

aumidisynth-offline-render-test

Trying to get offline render working with kAudioUnitSubType_MIDISynth and AVAudioEngine. (Update: it works!)
Objective-C
6
star
10

force-button

A pressure sensitive, procedural, switch-like UIControl button & selection popup. Feel free to assume a BSD license.
Swift
3
star
11

chicken-scratch

A macOS Notification Center text field, in the same vein as tyke.app.
Swift
2
star
12

archagon.net

My Jekyll-based homepage. Not actually powered by Github Jekyll β€” Github Pages only serves the locally-compiled HTML and CSS.
CSS
2
star
13

uifeedbackgenerator-lag-test

UIFeedbackGenerator seems to have some latency. This is the simplest possible test case I could think of. https://lists.apple.com/archives/cocoa-dev/2016/Oct/msg00002.html
Swift
2
star
14

degausser

A nostalgic faux degauss button in your Mac menu bar! (WIP) Goals: explore shaders, GL, and procedural generation; figure out how to fake an interesting analog graphical effect in software.
C++
2
star
15

ABExpandingViewController

A popover-like container view controller that shrinks and contracts based on its two child view controllers.
Objective-C
1
star
16

a-jekyll-blog

A test Jekyll blog for messing around.
CSS
1
star
17

la-mulana-hd-text-encoder-decoder

A modified version of the script used to generate the La-Mulana HD Wiki text dump. The script can now re-encode the .dat file, allowing any changes to be used in the game.
Python
1
star
18

grammatical-passphrase-generator

A JS+HTML-based variant on diceware that follows grammatical sentence structure.
1
star
19

ios-bluetooth-headphone-unsleeper

My BT headphones (MDR-1RBT v1) disable their radio when there's more than a few seconds of silence: fine for music, but horrible for cleaned-up audiobooks and podcasts. This simple app plays an inaudible sound in the background to prevent this. It also starts a null recording session in order to show the expanded red status bar (as a reminder).
Swift
1
star