Skip to content

jclasley/lt_showcase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LT Showcase

Usage

You can pass four flags to the built binary:

  1. -album <int> -- returns photos in a given album
  2. -id <int> -- returns the specific photo with that ID
  3. -title <string|regex> -- returns photos where the title matches the given string or regex
  4. -raw -- returns the raw JSON (for piping to JQ)

You can always pass the -h flag to see these options in your terminal.

All flags can be used in any given combination, but might not return any results.

Example:

$ ./photos -album 1 -title 'ut.*id'

# Output:

# 1-[48]          ut esse id
# URL:            https://via.placeholder.com/600/68e0a8
# Thumbnail:      https://via.placeholder.com/150/68e0a8

Running locally

Install with Go

Does not require cloning the repo.

$ go install github.com/jclasley/lt_showcase
$ lt_showcase -raw | jq

Build and run

Requires cloning the repo.

$ go build -o ./photos .
$ ./photos -album 2 -title 'ut.*ed'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages