ddunlop / pizza-album

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pizza Album

This is some quick code that allows me to easily maintain dunlop.pizza. I can add an image to an iOS photos album and have it added to a static html page.

Set Up

  1. Copy config_example.js to config.js and set the secret
  2. Use ifttt New photo added to album Trigger from the iOS Photos Channel
  3. Use ifttt to make a web request from the Maker Channel
  4. Set the URL to point to his app
  5. Set the Content Type to json and set the body to
  {"date":"{{TakenDate}}","photo_url":"{{PublicPhotoURL}}","secret":"<<insert your own secret here>>"}
  1. Adjust template/index.html and public/style/base.css as apprpriate

Notes

  • graphicsmagick needs to be installed
  • All photos are converted to square
  • Photos get a white border drawn in them
  • Original photos are kept so that they can be reprocessed if needed

About


Languages

Language:JavaScript 75.3%Language:CSS 15.5%Language:HTML 9.2%