Skip to main content

Photos

@bixu/photosv2026.06.07.4· 9d agoMODELS
01README

Directory-watch photo pipeline — scan for new images, process with sips, stage in Glass via Safari

02Models1
@bixu/photosv2026.06.07.2photos.ts

Global Arguments

ArgumentTypeDescription
sourceDirstringDirectory to watch for new photos
exportDir?stringDirectory for processed output (default: sourceDir/processed)
fn scan(extensions?: array)
Scan source directory for new image files not yet processed
ArgumentTypeDescription
extensions?arrayFile extensions to include (default: jpeg, jpg, heic, heif, png, tiff)
fn process(maxWidth: number, quality: number, format: enum)
Resize and convert scanned photos for Glass using macOS sips
ArgumentTypeDescription
maxWidthnumberMaximum width in pixels
qualitynumberJPEG quality
formatenumOutput format (macOS sips-supported formats)
fn publish(title?: string, category?: string)
Stage processed photos in Glass upload modal via Safari AppleScript
ArgumentTypeDescription
title?stringOverride photo title for Glass
category?stringGlass category

Resources

scan(1d)— Scan results — new files found in source directory
processed(1d)— Processed photos ready for upload
published(infinite)— Photos published to Glass
03Previous Versions3
2026.06.07.3Jun 7, 2026
2026.06.07.2Jun 7, 2026

Modified 1 models. updated platforms. updated labels

2026.06.07.1Jun 7, 2026
04Stats
A
100 / 100
Downloads
1
Archive size
11.0 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels