Commit Graph

242 Commits (master)

Author SHA1 Message Date
Romain Prieto 2037bf4455 Remove deleted media from the generated HTML pages 10 years ago
rprieto 58f1cb5c5e Fix error in new options 10 years ago
rprieto f1f09adc14 Sort folders by date or by name 10 years ago
rprieto 3c8ecce018 Use <yargs> to parse command line args, and support JSON config 10 years ago
rprieto 436d126050 Remove <regen> dependency (faster builds)
Since we read all the file metadata for EXIF dates, and we need it as well for the view model,
we should use it to generate the thumbnails and save many calls to glob() and fs.stat()
10 years ago
rprieto a13b94ea3e Fix view model for videos 10 years ago
rprieto 7f7b36ab7b Improve metadata collection (single file stat, ...) 10 years ago
rprieto 8fc19fab97 Metadata fake progress report 10 years ago
rprieto 63ee950684 Use the pre-built metadata to create the galleries view model
Fixes #4 : sorts the files by either EXIF date (photos) or file date (videos)
10 years ago
rprieto 11575c65d4 Read and cache EXIF data into <metadata.json> 10 years ago
rprieto ba8c4a59f3 Fix website generation (bad refactor) 10 years ago
rprieto 1687999976 Fix #1 : report progress of operations in the console 10 years ago
rprieto d7d9a9e3a9 Fix #3. Display web-friendly videos (smaller size, and keeps original) 10 years ago
rprieto 88ad9d6d05 Fix over-eager copy of original media 10 years ago
rprieto 8a468026da Fix "split" title when it's more than 2 words 10 years ago
rprieto 8531b26b2a Use modified time instead of creation time when copying folders 10 years ago
rprieto 8b763ef509 Upgrade to regen 0.0.3 10 years ago
rprieto 3c2c3aae96 Extract reusable "regen" module to process source / dest files 10 years ago
rprieto eaa8bd2831 support for custom title and CSS 10 years ago
rprieto 9a0234531c Large photos in 90% quality (smaller sizes, usually still OK) 10 years ago
rprieto 7970913ec7 Fix thumbnail sizes in HTML 10 years ago
rprieto 1608b3cfac Generated website contains original media too
- now generate thumbs + large (original is too big for web download)
- simpler build system
10 years ago
rprieto 3a388181ee Fix thumbnail size in HTML to avoid jumping content while loading 10 years ago
rprieto 551d5d5752 Better thumbnail quality 10 years ago
rprieto 288ee7f87c Only create thumbs / copy files if they have changed 10 years ago
rprieto 1268f5557e Remove wrench: using glob() everywhere 10 years ago
rprieto 3238707ba5 remove unused packages 10 years ago
rprieto aa055e2baf Cleanup thumbnail generation 10 years ago
rprieto e938aa811a Sort photos by date (newest at the end) 10 years ago
rprieto 12c9b3746a Cleanup 10 years ago
rprieto e91d2bcee5 Read file dates for sorting 10 years ago
rprieto 4a86ddc385 Remove unused template 10 years ago
rprieto 7b20cf1722 Remove Gulp dependency (see below)
Gulp is very good at buffered / streamed content.
However GraphicsMagick + FFmpeg work well with file paths,
so it's easier to just glob(**) and call the command line tools.
10 years ago
rprieto 9a75d7e672 Extract thumbs into separate module (moving away from gulp) 10 years ago
rprieto 2ddaa83728 BlueImp also supports MOV files 10 years ago
rprieto ddcf0c48aa Working "bin" script, and fix path for use from other modules 10 years ago
rprieto b9c315165a Spike to generate video thumbnails + poster with the right aspect ratio 10 years ago
rprieto dd93e87f42 Video thumbnails - no poster yet 10 years ago
rprieto dfd059cc1f support custom thumbnail sizes 10 years ago
rprieto 4859d3a6b2 index page = first gallery 10 years ago
rprieto 235a9c60e4 Activate BlueImp gallery viewer 10 years ago
rprieto 62c0d09868 Initial commit 10 years ago