Display Project Wonderful Earnings In Conky

Introduction

Conky is a fantastic resource monitor for Linux/BSD that can be customized to not only show system statistics, but run external scripts as well. I've created a script that will display your Project Wonderful earnings for today, along with total amount of funds on your account, directly into your Conky display.

Conky Example

I've also created a script for displaying your Google AdSense Earnings in Conky as well.


Requirements
  • Conky
  • PHP with the curl extension

Usage

There are three things you need to change on the script to fit your needs. If you understand PHP it should be a breeze for you.

First, set your username and password by changing the values in the quotes.

$username = "username@example.com";
$password = "mypassword";

To integrate this into Conky, add the following lines to your .conkyrc configuration.

Project Wonderful:
${texeci 900 /location/to/projectwonderful.php}

This will update your Project Wonderful funds and earnings every 15 minutes (900 seconds). You can change this value, but it might not be a good idea to poll your account too often.

Make sure the Project Wonderful script is executable, by setting the correct permissions.


Download

Project Wonderful PHP Script