View Single Post
turtle
Lord of the Rant.
Formerly turtle2472
 
Join Date: Mar 2005
Location: Upstate South Carolina
 
2023-02-09, 09:30

Ok, so I went through and built the same collection of photos from my original AppleTV HDD Upgrade thread and ran it through the build with each of the four built in themes.
Original from Aperture here.
Mosaic here.
Cards here.
Classic here.
Flow here.
For this batch of images, Flow looks pretty amazing actually!

Source:
Code:
$ ls -lah /mnt/nfs/TimeLapse/thumbsup/In/appletvupgradeFlow/ total 8.4M drwxrwxrwx. 3 1028 users 4.0K Oct 2 2021 . drwxrwxrwx. 4 1032 users 4.0K Feb 9 09:09 .. -rwxrwxrwx. 1 1028 users 359K May 18 2016 picture-10.jpg -rwxrwxrwx. 1 1028 users 440K May 18 2016 picture-11.jpg -rwxrwxrwx. 1 1028 users 407K May 18 2016 picture-12.jpg -rwxrwxrwx. 1 1028 users 414K May 18 2016 picture-13.jpg -rwxrwxrwx. 1 1028 users 442K May 18 2016 picture-14.jpg -rwxrwxrwx. 1 1028 users 349K May 18 2016 picture-15.jpg -rwxrwxrwx. 1 1028 users 294K May 18 2016 picture-16.jpg -rwxrwxrwx. 1 1028 users 312K May 18 2016 picture-17.jpg -rwxrwxrwx. 1 1028 users 272K May 18 2016 picture-18.jpg -rwxrwxrwx. 1 1028 users 397K May 18 2016 picture-19.jpg -rwxrwxrwx. 1 1028 users 387K May 18 2016 picture-1.jpg -rwxrwxrwx. 1 1028 users 271K May 18 2016 picture-20.jpg -rwxrwxrwx. 1 1028 users 428K May 18 2016 picture-21.jpg -rwxrwxrwx. 1 1028 users 317K May 18 2016 picture-22.jpg -rwxrwxrwx. 1 1028 users 364K May 18 2016 picture-2.jpg -rwxrwxrwx. 1 1028 users 388K May 18 2016 picture-3.jpg -rwxrwxrwx. 1 1028 users 359K May 18 2016 picture-4.jpg -rwxrwxrwx. 1 1028 users 354K May 18 2016 picture-5.jpg -rwxrwxrwx. 1 1028 users 347K May 18 2016 picture-6.jpg -rwxrwxrwx. 1 1028 users 301K May 18 2016 picture-7.jpg -rwxrwxrwx. 1 1028 users 450K May 18 2016 picture-8.jpg -rwxrwxrwx. 1 1028 users 466K May 18 2016 picture-9.jpg -rwxrwxrwx. 1 1028 users 54K May 18 2016 terminal1.png -rwxrwxrwx. 1 1028 users 50K May 18 2016 terminal2.png -rwxrwxrwx. 1 1028 users 49K May 18 2016 terminal3.png -rwxrwxrwx. 1 1028 users 48K May 18 2016 terminal4.png -rwxrwxrwx. 1 1028 users 46K May 18 2016 terminal5.png -rwxrwxrwx. 1 1028 users 3.6K May 18 2016 terminal6.png
The command to build is pretty straight forward:
Code:
thumbsup --input /mnt/nfs/TimeLapse/thumbsup/In/appletvupgradeFlow/ --output /mnt/nfs/TimeLapse/thumbsup/Out/ --theme "flow"
Output:
Code:
$ ls -lah /mnt/nfs/TimeLapse/thumbsup/Out/ total 200K drwxrwxrwx. 5 1028 users 4.0K Feb 9 09:11 . drwxrwxrwx. 11 1032 users 4.0K Feb 9 09:10 .. -rwxrwxrwx. 1 1025 users 18K Feb 9 09:10 index.html drwxrwxrwx. 6 1025 users 4.0K Feb 9 09:11 media drwxrwxrwx. 7 1025 users 4.0K Feb 9 09:11 public -rwxrwxrwx. 1 1025 users 120K Feb 9 09:10 thumbsup.db -rwxrwxrwx. 1 1025 users 0 Feb 9 09:10 thumbsup.log $ ls -lah /mnt/nfs/TimeLapse/thumbsup/Out/media/ total 56K drwxrwxrwx. 6 1025 users 4.0K Feb 9 09:11 . drwxrwxrwx. 5 1028 users 4.0K Feb 9 09:11 .. drwxrwxrwx. 2 1025 users 4.0K Feb 9 09:10 large drwxrwxrwx. 2 1025 users 4.0K Feb 9 09:10 small drwxrwxrwx. 2 1025 users 4.0K Feb 9 09:10 thumbs $ ls -lah /mnt/nfs/TimeLapse/thumbsup/Out/public/ total 192K drwxrwxrwx. 7 1025 users 4.0K Feb 9 09:11 . drwxrwxrwx. 5 1028 users 4.0K Feb 9 09:11 .. -rwxrwxrwx. 1 1025 users 1.6K Feb 9 09:10 core.css -rw-r--r--. 1 1025 users 0 Feb 9 09:10 .gitkeep -rw-r--r--. 1 1025 users 94K Feb 9 09:10 jquery.min.js drwxr-xr-x. 2 1025 users 4.0K Feb 9 09:10 justifiedgallery drwxr-xr-x. 7 1025 users 4.0K Feb 9 09:11 lightgallery drwxr-xr-x. 6 1025 users 4.0K Feb 9 09:11 lightslider -rw-r--r--. 1 1025 users 1.8K Feb 9 09:10 play.png -rwxrwxrwx. 1 1025 users 2.2K Feb 9 09:10 theme.css drwxr-xr-x. 3 1025 users 4.0K Feb 9 09:10 videojs
I was gonna drill down each folder level but your get the idea.

Of course there is a config file option so if you know you want certain settings all the time you just reference the JSON file and it will run off of those. Yeah, this is exactly what I was looking for. I can take a folder full of images and run the command to output a nice and simple gallery that is able to be completely standalone. On top of that, it uses the .db to prevent rerunning the same images it has already done if you just add more images to the source folder and rerun the builder. This also has the ability to handle videos though I don't know how often I would use that, it is an option. This is the cheat-sheet for all the flags you can issue via CLI or config file.

My uses are really one off for things like this AppleTV upgrade I did. However I can see how this would be beneficial for someone publishing galleries more often. Of course, being CLI means you can easily automate it as well. A cron and all you have to do is add images to the source folder and it can do everything for you.

Yeah, all around this is exactly what I was looking for. I'm so happy I stumbled onto it.

Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.”
Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it.
  quote