Skip to content

un1970ix/analogatique

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

analogatique · web gallery for your photos

A beautiful static gallery generator (written in Rust 🦀) for anyone who wants to showcase their photos, whether film scans or digital images. It keeps the analog spirit with vintage aesthetics and Atkinson dithering while making it easy to create stunning web galleries.

🎞️ See it in action here.

Warning

This project is currently under development and may introduce breaking changes.

Quick Start

  1. Create a new directory for your gallery.
mkdir films && cd films
  1. Set up the required structure.
analogatique init
  1. Update config.toml with your gallery details and preferences.

  2. Add your photos to the photos/ directory.

  3. Create metadata.txt by writing one JSON line for each photo or use analogatique extract-metadata to extract metadata from your photos.

{"filename": "photo1.jpeg", "date": "15-06-2023", "name": "Sunset at the Beach", "camera": "Canon AE-1", "film": "FUJICOLOR C200"}
{"filename": "photo2.jpeg", "date": "20-06-2023", "camera": "Polaroid SX-70", "film": "B&W SX-70"}
  1. Generate your gallery:
analogatique generate

Your gallery will be created in the public/ directory if you haven't changed the output directory.

Metadata Format

Each line in metadata.txt should be a JSON object with these fields:

Field Description Required
filename Name of the photo file. Yes
date Date the photo was taken. (DD-MM-YYYY) Yes
camera Camera model used to take the photo. No
film Name of the film used for the photo. No
lens Lens used to capture the photo. No
location Place where the photo was taken. No
name Custom title or name given to the photo. No
notes Additional information or remarks about the photo. No

Supported Image Formats

  • JPEG (.jpg, .jpeg)
  • PNG (.png)
  • TIFF (.tif, .tiff)

Output Formats

  • Thumbnails: WebP (You can enable optional Atkinson dithering.)
  • Full Resolution: JPEG

Customization

Templates

The templates/ directory contains:

  • index.html
  • styles.css files.

These use the Tera templating engine. Customize them to match your style!

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments

  • I pay homage to Bill Atkinson for his Atkinson dithering algorithm and other work.
  • I sincerely thank the Trippy team for their help with the release workflow. The current workflow is based on theirs.