photo-lambda

module
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2026 License: Apache-2.0

README

photo-lambda

This code provides the catalog operation for the photo archive.

For CR3 (Canon RAW) and JPEG files, it will try to figure out the timestamp on the file (i.e. when the photo was taken) and move the incoming files to the archive bucket under prefix/year/month/day/filename

Building

Assuming go 1.20.5 or better is installed:

% CGO_ENABLED=0 go test ./...
% CGO_ENABLED=0 go build -o bootstrap ./cmd/photo-lambda

Pre-Commit hook

To use the pre-commit hook, first install pre-commit, then install the hook:

% brew install pre-commit
% pre-commit install

License

Copyright 2022 Little Dog Digital

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis
cmd
photo-lambda command
main provides a Lambda function used to archive and manipulate the photo stream
main provides a Lambda function used to archive and manipulate the photo stream
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL