Git Product home page Git Product logo

phone-photo-manager's Introduction

Phone Photo Manager

Server-side management of photos. Intended to replace the core functionality of Google Photos:

  • Delete oldest files once phone Photos folder reaches a configurable size
  • Make sure photos are in server-side archive before removing from phone
  • Browse archived photos from any computer
  • Keep photo on phone explicitly (regardless of file age)

Network

I’m using Syncthing to get files to/from my phone’s Photo folder. The network looks like this:

DeviceFolderPurpose
PhonePhotosNew photos saved here by the camera. Sync both ways so that servers can remove photos easily
Amazon ServerPhotosDirect sync with Phone Photos. Pi Server controls which photos are on phone by changing this folder
ArchivePhotos folder is synced via rsync to the archive
Home PiPhotosRedundant Photos sync (all devices sync to each other)
ArchiveRedundant Archive. Phone can download from Pi or Amazon servers
Cold StorageBecause Amazon is limited in space, only keep the full collection of photos on the Pi. Nothing is ever removed from Cold Storage

Setup

You will need to set up Syncthing (or some other file sync service) to suit your requirements.

I use rsync -a to sync Photos with Archive and Archive with Cold Storage. The former is on a cronjob every 30 minutes or so, and the latter is a job which should run every couple hours. Cleanup (reclaiming storage on phone and limited-space server) will happen every morning at 4 AM.

phone-photo-manager's People

Contributors

makuto avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.