Image Annex
Image Annex is a deduplicating photo archive. Originals stay in a git-annex repository, S3 holds the durable copy, and a local catalog stores EXIF, captions, OCR, and transcripts so you can search without downloading every file.
Install the command-line tool, then check that git, git-annex, and exiftool are available:
uv tool install image-annex
ia doctor
ia
ia lists the commands. ia tui opens the terminal dashboard. image-annex opens that same dashboard directly. ia ingest adds a folder, ia gallery start serves local thumbnails, and ia storage status reports what is on disk and in S3. Agents and installers should follow llms.txt.
The Android photo picker is a separate repository, image-annex-picker (~/repos/image-annex-picker on the hub machine). Package net.bizkite.imageannex.picker. It is a debug CloudMediaProvider: sign in, tap Sync, then choose Image Annex as the cloud library inside the system picker. It is not on the Play Store.
This repository also contains the AWS CDK infrastructure for the archive bucket and the hosted gallery.
The core concept is based on the essay Your Photos Are a Mess, which details a workflow for using git-annex to manage a master photo repository backed by cloud storage.
Use
ia ingest ~/photos
ia tui
ia gallery start
ia storage status
ia --help
Search matches filename, path, caption, OCR, transcript, and camera text. The full command list and the Android picker steps are in llms.txt.
Docs
- Install and use: The short guide for people and for agents.
- Hosted gallery: Read-only phone mirror on S3, CloudFront, and Cognito, plus the export timer.
- Security: Deployment auth and secret handling.
- Archive workflow: How the hub archive is operated.
- AWS CDK application:
cdk_image_annex/.
Metadata & Thumbnails
- Metadata: Extracted using
exiftooland stored in a local SQLite database (metadata.db). - Thumbnails: Generated locally with Pillow. The hub exports thumbnail copies and
catalog.jsonfor the hosted gallery. Originals stay in the git-annex S3 remote, separate from that gallery prefix.
Current Status (Dev/UAT)
This project is currently in a Development/UAT phase. Key points:
- Automated testing (UAT) is performed via Docker (
Dockerfile.uat). - Limitation:
git-annexcurrently places anannex-uuidfile at the root of the S3 bucket duringinitremote, even if a prefix is configured. This makes multi-tenant or multi-prefix use of a single bucket slightly more complex. - The production infrastructure is defined but should be used with caution until UAT is finalized.
Version
Run these from this checkout:
ia version
ia version release patch
ia version prints the installed build and the latest release on PyPI. ia version release patch bumps the patch number, commits it, tags vX.Y.Z, and pushes. Use minor or major the same way. Add --no-push to keep the tag local.
The PyPI project page uses this README. A release published before readme was set in pyproject.toml shows an empty description until the next upload.
Deployment
This project is deployed automatically via a GitHub Actions workflow. The deployment pipeline is configured to use a secure OIDC connection to AWS.
For details, see docs/SECURITY.md.
Local Development
To work with the CDK infrastructure locally:
- Environment Setup:
- Copy
.env.templateto.env. - Set up a Python virtual environment:
python3 -m venv .venv source .venv/bin/activate pip install .
- Copy
- CDK Commands:
op run --env-file=.env -- cdk synth op run --env-file=.env -- cdk deploy
Metadata
Release files for image-annex 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| image_annex-0.1.4.tar.gz | 139.6 kB | With provenance | Details for image_annex-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| image_annex-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for image_annex-0.1.4-py3-none-any.whl |
Total release size: 285.6 kB
Release files / image_annex-0.1.4.tar.gz
| Download URL | image_annex-0.1.4.tar.gz |
|---|---|
| Size | 139.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b115362755130a82eb4a5a8f22714e70dcd7863d79c6083d483206fddad0cda3
|
|
BLAKE2b-256 checksum How to use checksums |
ca6e9ad2d8e3bba151d92562420dfefc1bf703fd6d250b98f49a88ef184c8bfe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.
Transparency logRelease files / image_annex-0.1.4-py3-none-any.whl
| Download URL | image_annex-0.1.4-py3-none-any.whl |
|---|---|
| Size | 146.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
911b54e5252aff74d33ce8ba8a6c3a6e90356bcef60a08d973880ade45d56c17
|
|
BLAKE2b-256 checksum How to use checksums |
68c2e93e03856cde44f46ad0d0ed6d60741ee76d0da214068264f199eb62bf92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.
Transparency logSecurity for image-annex 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for image_annex-0.1.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.