Romain
cd079a6ccc
docs(readme): update current CLI options
6 years ago
Romain
3c946621ec
feat(core): new --gm-args flag to pass additional options to GraphicsMagick
...
Example: thumbsup --gm-args ‘modulate 120’ --gm-args ‘equalize’
Closes #89 .
6 years ago
Romain
f7d7b827e5
feat(cli): --concurrency also controls the number of batch exiftool processes
6 years ago
Romain
a5740fb94e
feat(cli): Expose --photo-quality to control the quality of the converted images
6 years ago
Romain
a5a75b81ad
fix(cli): show an error on startup if one of the binary dependencies is missing
...
Closes #95
6 years ago
klemens
424d2c8b8b
spelling fixes
6 years ago
Brandon Lopez
205ec2f3cb
Add concurrency argument ( #92 )
...
Add concurrency option
6 years ago
Romain
cd3d699b34
feat(cli): new --dry-run option to skip resizing the files / creating the website
...
The index is still updated, and the media folder is still scanned to log how many tasks are required.
This is useful to know what thumbsup is about to do, without actually running the expensive tasks.
7 years ago
Romain
e5f6df3d28
refactor(cli): deprecated options logic now handled in <options> module
7 years ago
Romain
286dc8d15f
feat(albums): --albums-from can be a list of patterns with special keywords
...
- %path expands to the path of the photo/video
- %keywords expands to the IPTC keywords of the photo
- {format} expands to the photo's EXIF date, e.g. {YYYY MM}
7 years ago
Romain
23f19566d0
test(cli): add unit tests for options parsing, especially custom logic on top of yargs
7 years ago
Romain
74c981fb4c
feat(analytics): rename --no-usage-report to --no-usage-stats to be more explicit
...
This is not a breaking change since the version hadn’t been published since introduced
7 years ago
Romain
21b0e121d5
fix(log): use debug.enable() instead of setting process.env.DEBUG to set the log level dynamically
...
The `debug` package reads DEBUG on first require to configure itself.
So far `log.js` is the first file to require it so it works, but if `yargs` started using `debug`
then setting `process.env.DEBUG` would do nothing here.
Instead we can use `debug.enable()` method to set the filter dynamically.
7 years ago
Romain
a2042f3128
Fix logging option for non-TTY + highlight URL in welcome / error messages
7 years ago
Romain
47a924883e
New --log option to print a full text log with different verbosity levels
7 years ago
Romain
06ecd2edad
Add usage reporting with Google Analytics + greeting/error messages
...
This will help understand usage patterns to know what to focus on, e.g.
- are many people using thumbsup on Windows?
- are there many galleries with > 10,000 photos?
7 years ago
Romain
80f7a88c35
Fix #61 : new options to avoid copying original photos to the output folder
7 years ago
Romain
fb77791c80
Fix #33 : new --cleanup option to remove unused generated thumbnails/media
7 years ago
Romain
9dcebe6280
Group CLI options into 3 categories to make them more digestible
7 years ago
Romain
50f9a84eff
Remove deprecated --sort-folders option
7 years ago
Romain
59b9bdbbd2
Use <standard> for code style, which removed lots of unused variables/requires
7 years ago
Romain
e36464a76a
New --albums-output-folder option to write all albums to a subfolder (cleaner output)
...
The main changes are
- this introduces relative paths, since some HTML files have to go ".." to get to public/media
- it also introduces the difference between album.path (OS dependent) and album.url (forward slashes)
8 years ago
Romain
1c7469b13a
Fix extra bracket
8 years ago
Romain
596fe1babc
Fix CI build
8 years ago
Romain
7575da7474
New <footer> config setting to add a line of text (or HTML) at the bottom
8 years ago
Romain
23ce9b1e7d
Fix backwards support for "--sort-folders date"
8 years ago
Romain
bd7119c25b
Fix invalid default config setting (--sort-albums-by)
8 years ago
Romain
6d245f3ed5
Fix typos in CLI help and README
8 years ago
Romain
6565acb259
Update README.md
8 years ago
Romain
315e08e0e5
Fix #30 Fix #31 allow asc/desc order when sorting albums and media
8 years ago
Romain
5117c19eed
Cleanup CLI and validate multiple-choice arguments
8 years ago
Romain
b64843a8a1
Re-implement "classic" theme = same as thumbsup v1
8 years ago
Romain
90b2e17df3
Update executable with all new options
8 years ago
Romain Prieto
9c0071c00d
Work in progress: support multiple themes
8 years ago
Romain Prieto
c2f290bbd6
thumbsup v2: rewrite the website around 'albums'
8 years ago
Navneet Karnani
c8c5947c9b
Add support for custom start file
8 years ago
Romain Prieto
ef294ad513
Fix #18 : don't upload original media by default, add new command line options
10 years ago
Romain Prieto
92c6d6b9d3
Fix #12 , add support for --google-analytics config (uses latest GA tracking code)
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
eaa8bd2831
support for custom title and CSS
10 years ago
rprieto
70c77fd36b
Fix binary
10 years ago
rprieto
d595cec06c
Fix bin arguments
10 years ago
rprieto
ddcf0c48aa
Working "bin" script, and fix path for use from other modules
10 years ago
rprieto
62c0d09868
Initial commit
10 years ago