A simple Django app to access Openstack Swift
Simple web app build with Django and Twitter Bootstrap to access Openstack Swift.
- No database needed
- Works with keystone, tempauth & swauth
- Support for public containers. ACL support in the works
- Minimal interface, usable on your desktop as well as on your smartphone
- Screenshots anyone? See below!
pip install django-swiftbrowser
Please make sure that “tempurl” and “formpost” middlewares are activated in your proxy server. Extract from /etc/swift/proxy-server.conf:
[pipeline:main] pipeline = catch_errors gatekeeper healthcheck proxy-logging cache tempurl formpost tempauth proxy-logging proxy-server
[filter:tempurl] use = egg:swift#tempurl
[filter:formpost] use = egg:swift#formpost
Run development server:
django-admin runserver –settings=swiftbrowser.settings
Open “http://127.0.0.1:8000/” in your browser and use ‘account:username’ to login (or tenant/project:username if using Keystone).
![Login screen](screenshots/00.png) ![Container view](screenshots/01.png) ![Object view](screenshots/02.png)