Created
June 3, 2026 13:20
-
-
Save dmd/92f66b324e4f24727c9fa25db8ca1a80 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Timelapse project automation | |
| # Show available commands | |
| default: | |
| @just --list | |
| # Classify and rename new photos using AI | |
| classify *args: | |
| ./rename-lapse.py {{args}} | |
| # Start alignment service | |
| start-align: | |
| #!/usr/bin/env bash | |
| if ! command -v docker >/dev/null 2>&1; then | |
| echo "Error: Docker CLI not found. Please install Docker and try again." >&2 | |
| exit 1 | |
| fi | |
| if ! docker info >/dev/null 2>&1; then | |
| echo "Error: Docker daemon is not running. Start Docker and retry." >&2 | |
| exit 1 | |
| fi | |
| if ! docker ps --filter "name=^alignfacehttp$" --filter "status=running" --quiet | grep -q .; then | |
| if ! docker image inspect alignfacehttp >/dev/null 2>&1; then | |
| echo "Building alignment service..." | |
| cd alignfacehttp && docker build -t alignfacehttp --force-rm . | |
| fi | |
| echo "Starting alignment service..." | |
| docker run -p 15000:5000 -d --name alignfacehttp --rm alignfacehttp | |
| sleep 2 | |
| fi | |
| # Stop alignment service | |
| stop-align: | |
| -docker stop alignfacehttp | |
| # Align faces in photos (auto-manages Docker container) | |
| align: start-align | |
| alignfacehttp/make-aligned | |
| just stop-align | |
| # Generate web gallery | |
| web: | |
| ./make-web4up | |
| # Generate timelapse videos | |
| videos: | |
| ./make-vid4up | |
| # Generate yearly average portraits | |
| averages: | |
| ./generate-averages | |
| # Build everything (align, averages, videos, web) | |
| build: align averages videos web |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment