Home > WeGive

WeGive

WeGive is a project mainly written in ..., based on the MIT license.

Charity Hack 2010

We Give — Charity Hack 2010 entry

This is entry by Arran, Zoltan, Heather and me.

The point

In Web2.0-speak it's mix of Lanyrd and Groupon.

Allows people to set up challenge for their friends: I donated X, and if my friends donate XX, then I'll donate X more.

For the challenger this gives good excuse to tell all their friends which causes he/she supports.

Friends can do something together towards a charitable goal. We're showing who's donated already, so there's peer pressure to join in.

We're pulling friends from Twitter, so users can browse their social graph and see what their friends support, discover new charities supported by their friends.

Company twist: companies can set up challenges as well. You can get your friends together to reach a set goal and make the company double what you've raised.

The code

Code is pretty clean for something that was built literally overnight! Of course there are big unfinished gaps.

APIs

It uses PayPal AdaptivePayments API to pre-approve all payments upfront. MissionFish for discovery of charities and distribution of donations. Twitter OAuth for login and friends.

Requirements to run it:

  • PHP 5.3
  • Postgresql
  • PHP ActiveRecord
  • PHPTAL
  • Twitter-async
  • Lighttpd (can be easily converted to Apache)