Photos
@bixu/photosv2026.06.07.4
01README
Directory-watch photo pipeline — scan for new images, process with sips, stage in Glass via Safari
02Models
@bixu/photosv2026.06.07.2photos.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| sourceDir | string | Directory to watch for new photos |
| exportDir? | string | Directory for processed output (default: sourceDir/processed) |
fn scan(extensions?: array)
Scan source directory for new image files not yet processed
| Argument | Type | Description |
|---|---|---|
| extensions? | array | File 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
| Argument | Type | Description |
|---|---|---|
| maxWidth | number | Maximum width in pixels |
| quality | number | JPEG quality |
| format | enum | Output format (macOS sips-supported formats) |
fn publish(title?: string, category?: string)
Stage processed photos in Glass upload modal via Safari AppleScript
| Argument | Type | Description |
|---|---|---|
| title? | string | Override photo title for Glass |
| category? | string | Glass 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 Versions
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
Repository
https://github.com/bixu/swamp-extensions05Platforms
06Labels