Photon Vault is a simple web-based photo manager for your home's LAN. Use Photon Vault to keep your photos organized on a single computer.
You will need:
- Python 2.7 (http://python.org)
- Tornado Web (forked at https://github.com/chfoo/tornado. Use the branch features_experimental which is experimental)
- pyexiv2 (http://tilloy.net/dev/pyexiv2/)
- Python Image Library (PIL) (http://www.pythonware.com/products/pil/)
- MongoDB (http://mongodb.org/)
- pymongo
- python-iso8601
Python packages can be obtained from their respective websites, http://pypi.python.org, unofficial packages/installers, and easy_install. GNU/Linux users should use their distribution package managers.
Photon Vault works well as a standalone program.
Here is an example directory layout:
my_photos/
mongodb/
bin/
data/
photonvault/
tornado/
config.conf
Ready to use service installers are not yet available.
You can invoke the photonvault package like so:
python -m photonvault.main config.conf
Then, open your web browser and go to http://localhost:8000. You can now upload, edit, and browse photos. Other computers can connect as well. There is no login system in place; anyone can edit the photos.
The official project page is http://launchpad.net/photonvault. A courtesy GitHub project is located at https://github.com/chfoo/Photon-Vault. (Best of both worlds ☺)
- A label with "None" may be visible if there are no real tags
- My fork of Tornado does not work well with uploads.
- A viewer mode which displays files from a server's local directory. This mode does not use a database and items will be populated from the directory. Tags and titles will be auto-generated and removed when the directory is scanned.
- Will not crash on start up if the database isn't ready yet
- Experimental: Duplicates will be detected by date and filename during processing. This occurs for new files that are uploaded. * Fingerprints are the first 4 bytes of a MD5 hash of {the lowercased filename and the ISO8601 date} concatenated with the last two bytes of the lowercased filename without an extension. This method is suited for JPEG files named like IMAGE_123456.jpg. Using truncated hashes of filenames and dates allows the fingerprint to be short and fast to compute which should be sufficient for home usage.
- Experimental: Scan a server's local directory for files
- Support deleting photos through Manage
- Improved navigation
First release to support upload, editing, tagging, and browsing.