capoferro / twixpenser

Twitter interface for google spreadsheet used to manage shared expenses in apartment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This ruby script + cron job allows you to text message expense reports to be posted (via curl) to the google spread sheet that calculates the shared expenses.

Twitter Format:

d <twitter account> <cost><delimiter><item name><delimiter><item description>

Example yaml:

:delimiter: ! :account: mytwixpenser :pass: mypass :url: http://spreadsheets.google.com/formResponse?formkey=mykey

Based on the above information, tweeting: ==d mytwixpenser 25.15!myitem!This is the item I bought==

…will produce…

Time Stamp Item Description Amount Who Paid? Original Tweet
(Time of Tweet) myitem This is the item I bought 25.15 d mytwixpenser 25.15This is the item I bought

Step by step:

  • Follow your new twitter account, and have your new twitter account follow you.
  • Do the following
    • git clone git://github.com/bluepojo/twixpenser.git
    • cd twixpenser
    • mv example.twix.conf.yml twix.conf.yml
    • emacs twix.conf.yml # or which ever your favorite text editor is
  • Enter your new twitter account information in the fields provided in twix.conf.yml
  • Here you have the option of selecting a different delimiter for your text messages. Default is “!”. Note the format above to see how the delimiter is used.
  • Todo: how to set up the google form. (with example?)

About

Twitter interface for google spreadsheet used to manage shared expenses in apartment


Languages

Language:Ruby 100.0%