Obsolete: this page refers to the pre-2019 Libravatar service.
Libravatar is a fairly simple Django application.
Here's what you'll find in the main repository:
- config/: Apache configuration files
- contrib/: contributed code related to the project but not needed by the main application
- debian/: installation scripts and cron jobs
- libravatar/: Gearman workers and Django configuration
- libravatar/account/: main application (logged in)
- libravatar/locale/: translations
- libravatar/public/: public-facing website (logged out)
- libravatar/schemas/: XML schema used for account exports
- libravatar/templates/: HTML templates
- libravatar/tools/: helpful interactive tools
- static/: CSS stylesheets, Javascripts and images need by the Django application
- static/cdn/: images needed by the avatar CDNs
As far as getting your head around the Django-specific code, have a look at the excellent manual they provide.