Simple Clojure program to send a selection of old photos from a Shotwell database
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Esteban Manchado Velázquez e08ab21e88 Send mail using the local MTA 1 month ago
src Send mail using the local MTA 1 month ago
test/photo_memories First commit 3 years ago
.gitignore First commit 3 years ago
LICENSE First commit 3 years ago
README.md Make thumbnails and attach those in the e-mails 3 years ago
config-example.edn Send mail using the local MTA 1 month ago
project.clj Fetch actual images from the database 3 years ago

README.md

photo-memories

Small script to send yourself a collection of old images from your Shotwell collection. Shotwell is a GNOME program to keep photos.

The idea is to call this program every week from a cronjob or similar, and it will send you “what you were doing this week x years ago”.

Installation

You will need Leiningen to install and run this program.

Then, you have to create a configuration file config.edn. Copy it from config-example.edn and modify its values.

Having it installed and in your $PATH should be enough to run photo-memories. The first time you run it, it will take a while installing the dependencies, though.

Usage

If you want to use the current date as a reference (normal usage for a cronjob) simply call it like so:

$ lein run

If you want to specify a custom reference date, for testing or to see how it works, you can provide it as a parameter like so:

$ lein run 2017-07-30

License

Copyright © 2017 Esteban Manchado Velázquez

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.