Self-hosted photo backup and sharing web app. Think flickr, but much simpler. Accompanying android app will be open-sourced soon.
PHP JavaScript HTML CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_filecache/images
_filestore
library
public
setup
src
vendor
.gitignore
.gitmodules
LICENSE.txt
bootstrap.php
composer.json
configuration-sample.php
notes.txt
readme.markdown
thi.json

readme.markdown

Collections

In the spirit of the IndieWeb(http://indiewebcamp.com/) movement, this is my self-hosted photo backup and sharing web app. There is an Android app component to this, which I use to upload photos from my phone, but it's not ready to open source yet.

Screenshots: 4 columns filtered by tag, editing an image, about to share selected images, shared images at unique URL

Download & Install

Requirements:

  • PHP 5.3+ - with imagemagick enabled
  • PHP Composer (https://getcomposer.org/)
  • Git
  • One of: Sqlite3, MySQL/MariaDB, PostgreSQL

Install

  • git clone https://github.com/alanszlosek/collections
  • cd collections
  • composer install
  • Create a database using the setup/mysql.sql or setup/sqlite3.sql files
  • cp configuration-sample.php configuration.php
  • Modify configuration.php with your database info, desired password, file storage paths
  • Make sure cache and file storage folders (defaults: _filestore, _filecache) are writable by your webserver

Run:

  • Test easily with: php -S localhost:9999
  • Point your browser to http://localhost:9999

Third-party software

Thanks to the following tools for helping me get up-to-speed quicker:

To Do

  • Batch editing of tags
  • Start the android app that uploads new photos nightly
  • Only load images that are near the viewport ... aka, don't load the whole page of images
  • Batch editing of tags