Skip to content


Subversion checkout URL

You can clone with
Download ZIP
An image uploader and server based on Riak and Django. Offers short URLs to boot.
JavaScript Python
Branch: master

Merge pull request #1 from klynton/master

Upgraded to Django 1.4.2 and changed to the new project structure.
latest commit d22669394f
@seancribbs seancribbs authored
Failed to load latest commit information.
LICENSE Fix the port I broke in my last push.
dotcloud.yml add dotcloud
nginx.conf add nginx.conf
requirements.txt Updating to Django 1.4.2's new project structure and fixing imports f…


riagi is a sample application using Riak with Django to implement an imgur clone. It uses Riak to store images, thumbnails, image metadata, user profiles, and sessions.


The needed packages are listed in requirements.txt, but briefly, they are:

  • Django 1.4.2
  • Python Imaging Library (PIL)
  • Riak Python Client (riak)
  • shortuuid

Once you have those packages installed and Riak available on the local host in the default configuration, enable Riak Search on the Riak node, and then run these two commands to install the search indexing hooks:

$ search-cmd install riagi-users
$ search-cmd install riagi-image-metadata

Now start up the server:

$ python runserver

Open your browser to http://localhost:8000/ to view the app. You should see something like so:



riagi is licensed under the Apache v2.0 license.

Something went wrong with that request. Please try again.