https://github.com/tripleerv/strutta-tools
📷 CLI tool to work with Strutta contest data.
https://github.com/tripleerv/strutta-tools
cli exif exiftool
Last synced: 5 months ago
JSON representation
📷 CLI tool to work with Strutta contest data.
- Host: GitHub
- URL: https://github.com/tripleerv/strutta-tools
- Owner: tripleerv
- License: mit
- Created: 2019-03-28T20:54:25.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T21:18:12.000Z (over 1 year ago)
- Last Synced: 2025-08-24T18:34:07.616Z (10 months ago)
- Topics: cli, exif, exiftool
- Language: JavaScript
- Homepage:
- Size: 95.7 KB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Strutta Tools
These Strutta tools can be used to download contest images, as well as add **image description** metadata to images.
## Getting Started
### Prerequisites
- NodeJS 20 or greater
## Usage
### Downloading files
To download files from a contest, run the following command:
```bash
npx @tripleerv/strutta-tools download --id --dest
```
Options available for this command are:
- `--id` - sets the contest ID (required)
- `--dest` - to specify the output directory (defaults to `./dist`)
- `--no-emit` - setting this option does not output the results CSV file
### Updating metadata
To update the metadata of a folder of images, run the following:
```bash
npx @tripleerv/strutta-tools update --source --csv
```
Options:
- `--source` - path to the source folder with images to update (defaults to `./dist`)
- `--csv` - path to the CSV file with descriptions (defaults to `./dist/entries.csv`)
- `--id` - optional name of the ID column in the CSV file (defaults to `ID`)
- `--description` - optional name of the description column in the CSV file (defaults to `Description`)