A cake that can tweet
See examples at https://twitter.com/tweeting_cake
This is part of the "Internet of ordinary things" movement:
We take ordinary things and ask kids what they would do if it was connected to a computer and/or the internet.
It is a creative that brings value to both parties
- Kids learn to code while thinking witout bounderies
- Brands get a glimpse of what is possible if they think (way) outside their normal product development processes
Prerequisits
This is what you need to make a tweeting cake
- Makey Makey
- A cake that is not too dry
Official support matrix
Ruby >= 2.0
Installation
gem install tweeting_cake
Makey Makey installation
- The
earth
goes in the cake - The
space bar
connects to the cake slicer
Configuration
- Create an app and developer tokens at http://dev.twitter.com
- Add these tokens to these environment variables
- TWITTER_CONSUMER_KEY
- TWITTER_CONSUMER_SECRET
- TWITTER_ACCESS_TOKEN
- TWITTER_ACCESS_SECRET
In development, you can add this configuration in a file called .env
More info at https://github.com/bkeepers/dotenv
Usage
Once installed, open irb
and enter the following lines
require 'tweeting_cake'
cake_supervisor = TweetingCake::CakeSupervisor.new
cake_supervisor.supervise_cake_cutting