Skip to content
/ brioche Public

Brioche is a Ruby web app that tracks expenses via SMS.

Notifications You must be signed in to change notification settings

avand/brioche

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brioche

The fun way to slice the bread.

What is it?

A simple way to enter expenses and mileage into Google Docs from a text-message. You can specify "m" or "M" for mileage driven and "d" or "D" for dollars spent. For example, if you texted:

  • "35d Burgers with the team"
  • "44.1m Denver Airport"

You would end up with this:

Item Type Amount Date Who
Burgers with the team d $35.00 12/05/2013 +13035555555
Denver Airport m 44.1 12/05/2013 +13035555555

You can then use the "m" in Google Docs for mileage reimbursement calculation, etc.

Setup

  1. Push this code up to a Heroku Cedar app.
  2. Setup the following env variables (.env if you're using Foreman):
  • GOOGLE_EMAIL: The email address associated with your Google account.
  • GOOGLE_PASSWORD: The password for your Google account.
  • TWILIO_ACCOUNT_SID: Available on your Twilio dashboard.
  • TWILIO_AUTH_TOKEN: Keep this a secret.
  • SPREADSHEET_KEY: Grab this from the URL to the Google Doc spreadsheet.
  • WORKSHEET_INDEX: The index (0-based) of the worksheet.
  • Make sure you don't add these files to your git repo!
  1. Register a Twilio number.
  2. Point the SMS URL for that number to http://your-app.herokuapp.com/expenses.
  3. Send a text to the number in the format: "<amount> <description>".

About

Brioche is a Ruby web app that tracks expenses via SMS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages