Photos
@bixu/photosv2026.10.22.1
01README
Directory-watch photo pipeline — scan for new images, process with sips, stage in Glass via Safari
02Behaviors
@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.4
2026.06.07.3
2026.06.07.2
Modified 1 behaviors. updated platforms. updated labels
2026.06.07.1
04Stats
A
93 / 100
Downloads
45
Archive size
9.2 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 audit1/2partial
- @std/path--jsr:@std/path@1 is a range; audited 1.1.6, the version the registry resolved
1 dependency found
- jsr:@std/path@1 -- audited 1.1.6
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License2/2earned
- Verified public repository2/2earned
Repository
https://github.com/bixu/swamp-extensions05Platforms
06Labels