theevocater/daily.photo

Code structure

Closed this issue · 1 comments

The python code is a, well, a mess

  1. Doesn't resize the image, etc so I have to do that manually with graphicsmagick
  2. No way to regenerate all the days without manually running the script

I think ideally the script would

  • operate on a single day
  • have a flag to generate the index

and i'd have a way to

  • correspond images to days
  • quickly run the updater script on the potentially 3 days necessary

Went a different way. script now

  • operates on a single day
  • has a flag to generate the index
  • has flags to not generate the previous or next day.
  • these flags understand if its the index file or the final day