kud/avatar-o-matic

This package is abandoned and no longer maintained. No replacement package was suggested.

Avatar-o-matic, a twitter avatar propaganda.

dev-master 2012-03-27 11:53 UTC

This package is not auto-updated.

Last update: 2020-01-18 04:36:47 UTC


README

This application allows you to create your own avatar propaganda. Choose an avatar, override web/img/avatar.png and set up this application. When it's done, you'll get a great application where people can apply your new avatar to their twitter account. Change the avatars, change the world!

Features

Installation

  • Vendors installation
$ wget http://getcomposer.org/composer.phar
$ php composer.phar install
  • Configuration
$ cp app/config/config.php.dist app/config/config.php

Don't forget to insert your own twitter application keys. Go to dev.twitter.com to create an app.

How to use it

Structure

The application boot with app/app.php. This process requires a non-versioned app/config.php, to easily switch between environments (dev, test, prod...):

<?php
require_once __DIR__.'/config.php';
// require_once __DIR__.'/config_dev.php';
// require_once __DIR__.'/config_test.php'
?>

Styles

For the styles, I used SASS. You need it to generate the css. Once done, you can remove SASS if you want and use whatever else you want.

Warning

You can't use any avatar you want. You have to respect a certain weight about the file that I don't know yet.

Thanks

Many thanks to Matt Harris for his great twitter lib. Well coded and includes good examples. Many thanks too to Ludovic Fleury who helped me to do a better app structure.