Name: Koffeemate
Owner: Codemate Ltd
Description: Fresh coffee announcements on Slack. Brewing accidents and statistics too. For Android, written 100% in Kotlin.
Created: 2016-12-16 09:32:22.0
Updated: 2017-12-21 18:31:06.0
Pushed: 2017-02-20 11:16:56.0
Size: 9658
Language: Kotlin
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
We at Codemate love coffee. Numerous cups of that sweet black nectar are brewed every day at our office. Coffee is what keeps us productive, creative and especially on Mondays, awake. Simply put, we just couldn't function without it.
Koffeemate was made for three purposes:
This project is also a great opportunity to practice some Android testing and architecture skills.
The system is very elegant: we have a cheap Android phone glued to the wall next to our coffee machine. Running this app is the only thing that phone can do. We made this extra secure by taping some cardboard over the physical buttons.
Every time someone starts the coffee machine, they also press the coffee pot button on the center of the screen. After exactly 7 minutes, which is the most appropriate delay we've found, everyone in the special Slack channel gets notified.
However, if someone fails the coffee brewing process, they can be publicly shamed by using the “Log an accident” button.
Of course you do. Here's the steps to get it working:
`Create a bot user
` button.`Add Configuration
` button on the left.`Add bot integration
`.`git clone https://github.com/CodemateLtd/Koffeemate.git
``koffeemate.properties
` file in your app module with the following contents:Koffeemate/app/koffeemate.properties:
K_AUTH_TOKEN = your_api_token // Replace with the actual token, without quotation ("") marks
Now you can open the project in Android Studio. Make sure you have the Kotlin plugin installed.
Install the app to an old phone, glue it to a wall near a coffee machine and enjoy!
We'd love to have you contribute, and we do not have any strict rules.
However, here's some tips for a great start:
right 2016 Codemate Ltd
nsed under the Apache License, Version 2.0 (the "License");
may not use this file except in compliance with the License.
may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
ss required by applicable law or agreed to in writing, software
ributed under the License is distributed on an "AS IS" BASIS,
OUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
the License for the specific language governing permissions and
tations under the License.