Skip to content

TrailSnap CLI

Install trailsnap-cli, run trailsnap, and use TrailSnap from any terminal.

Package trailsnap-cli·CLI binary trailsnap
$npm install -g trailsnap-cli

Power of TrailSnap, in your terminal

Manage photos, albums, tags, locations, and people from the terminal — install trailsnap-cli, then use the trailsnap command.

Photos

Manage photos from the shell: list, info, delete — the rich command set for day-to-day workflows.

terminal
$ trailsnap photos --help Usage: trailsnap photos [options] [command] Manage photos Options: -h, --help display help for command Commands: list [options] List photos with filters info --photo-id <id> View photo metadata and description delete --photo-id <id>Delete a photo permanently help [command] display help for command

Locations

Statistics based on photo GPS information, query location distribution, and footprint timeline.

terminal
$ trailsnap locations --help Usage: trailsnap locations [options] [command] Query locations and footprint timeline Options: -h, --help display help for command Commands: list [options] Query location distribution timeline [options] Query footprint timeline help [command] display help for command

Albums & Tags

One-click queries for system album lists and classification tag lists. Supports pagination and custom output formats.

terminal
$ trailsnap albums --help Usage: trailsnap albums|tags [options] [command] Manage albums and tags Options: -h, --help display help for command Commands: list [options] List albums or tags with pagination help [command] display help for command

Media & People

Query intelligently recognized people and faces, or directly retrieve the original media files and access URLs.

terminal
$ trailsnap medias --help Usage: trailsnap medias [options] [command] Get media files or URLs Options: -h, --help display help for command Commands: get [options] Get photo media file or URL help [command] display help for command

Ready for agent use

Expose TrailSnap as a tool other agents can call. Standard input and output, predictable exit codes, no UI required — just plug it into the orchestration of your choice.

TRAILSNAP CLI

TRAILSNAP CLI

Get started with TrailSnap CLI

Install globally, run trailsnap --help, then explore photos, locations, albums, and media command groups.

$ npm i -g trailsnap-cli
CLI reference on npm

Released under the AGPL-3.0 License