Repository navigation
v0.1.0
The first release: the standalone demo for argus-lens.
Added
- Gallery navigated by lens's structured captions. Faceted filtering by lens's category buckets: terms within a category are OR'd and categories are AND'd. There are also headcount and camera facets, free-text search over every caption and the raw output, and all state in the URL.
- Ordinary tags that miss the hint list still become facets: known gaps go under their category, the rest under
detail. Rating, sexual and minor-related tags are never added. - The facet lists are loaded from JSON (
FACET_LISTS_JSON). - Facet groups in the sidebar can be collapsed, and the choice is remembered per group.
- Ordinary tags that miss the hint list still become facets: known gaps go under their category, the rest under
- Photo detail dialog:
- Caption tab: the final caption and every variant, with copy buttons and a token count that warns when a caption is over the target backend's budget.
- How it was built tab: raw tags and prose, dropped meta tags, the category buckets, a per-variant trace, compaction notes and headcount evidence.
- Compare tab: the same raw output assembled tags-only, prose-only and hybrid.
- Metadata tab: EXIF (never GPS), provenance and licence, and the
.txtand XMP sidecar downloads. - Swipe or use the arrow keys to move between photos. The grid thumbnail morphs into the detail image with a View Transition.
- The grid and detail view show the zero-shot caption by default.
NEXT_PUBLIC_DEFAULT_CAPTIONnames another variant, orfinalfor lens's own pick. This changes the display only. - Word cloud of caption words or tags, over the current filter or the whole set, with a CSV histogram export.
/docspage and in-context lens help./docsshows the lens version the gallery was baked with and links to PyPI, the source at that version, and lens's docs sections.- Each detail tab links to the matching lens section.
- The Caption tab says which lens version, backend and refine model captioned the photo, taken from the recorded caption.
- The bake (
lightbox-bake):fixture: 12 synthetic scenes, captioned by lens's real assembly and committed asweb/public/data/.tape: the recorded pipeline run, read from the cortex lineage and blob stores.folder: captions a photo directory through a lens server, with a sha256 caption cache.purge.- Every bake re-runs lens's assembly on the raw output to explain it. The recorded caption stays what's shown, and a disagreement sets
explain.drift. A rewrite lens checked and kept is recorded ascaption.refineand is not counted as drift. - Quarry's licence and attribution are mapped onto provenance.
- Your own photos with Docker Compose.
docker compose up --buildserves a gallery of~/Pictures, orPHOTOS_DIR, captioned by argus-lens 0.10.0 (LENS_TAGoverrides). The gallery is published while captions are still being written.- Captioning is hybrid: RAM++ tags plus Florence prose, or an Ollama or ComfyUI vision model. With
OLLAMA_URLset, captions are also refined.compose.gpu.yamladds an NVIDIA GPU. CAPTION_CACHE_KEYkeeps each caption profile's cache apart.make purgestarts over.
- Choosing the final caption in folder mode, for one photo or in bulk. It rewrites
index.json, the XMP sidecar and the caption cache throughPOST /api/caption-choiceon the folder server, and is refused while captions are queued. - Hosted demo (
make pages, Cloudflare Pages on every push tomain). It holds 205 openly licensed photos captioned by argus-lens, with a demo banner, OG/Twitter metadata and a styled 404 page. - Security and privacy:
- GPS is never emitted, and renditions are re-encoded so no source metadata survives.
- The static export gets a strict hash-based CSP with Trusted Types (
web/scripts/csp.mjs). _headersadds HSTS, frame, referrer and permissions policies.- External links open in a new tab without an opener or referrer.
- Accessibility: contrast, link underlines, target sizes, tab semantics, a skip link and reduced motion.
- Docs: README,
docs/cli.md(every subcommand and flag, and running without Docker), and the Argus suite map inCLAUDE.md. - CI on
devandmain: ruff, pytest, eslint, tsc, vitest, the build, and the suite check.