Skip to content

talltorp/tweeting_cake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Official support matrix

Ruby >= 2.0

Installation

gem install tweeting_cake

Makey Makey installation

  1. The earth goes in the cake
  2. The space bar connects to the cake slicer

Configuration

  1. Create an app and developer tokens at http://dev.twitter.com
  2. 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

About

A cake that tweets every time you take a bite.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages