ys / analog

Just a tool to help me manage my scans collection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🎞 Analog

build

This project is a set of utilities helping me getting organized with scans.

Part of it might look like a rebuilt of a catalog. Goal is to not have to rely on lightroom all the time.

Current Commands

$ analog
Commands:
  analog catalog:build                                 # Build symlinks to rolls per camera and per film
  analog exif:read [ROLL_NUMBER]                       # Read Exif from Roll
  analog exif:write [ROLL_NUMBER]                      # Write Exif from Roll
  analog offline:build [ROLL_NUMBER]                   # Create an offline HTML contact sheet per folder
  analog photos:rename [ROLL_NUMBER]                   # Rename roll pictures based on information
  analog rolls:details [ROLL_NUMBER]                   # See Roll details
  analog rolls:overview [YEAR]                         # See all
  analog rolls:rename [ROLL_NUMBER]                    # Rename roll based on information
  analog rolls:stats [YEAR]                            # See some stats

All the commands taking a [ROLL_NUMBER] also accept --all to be run on every roll

Config

Create a ~/.analog file with

path: /path/to/scans 

Where /path/to/scans has the cameras.yml and films.yml and a yearly structure

Folders Structures

Photos/
Photos/raws/2021/20210101-... # This one goes developed in Lightroom or is already developed. 
Photos/scans/2021/20210101-...
Photos/scans/2021/20210101-.../index.md
πŸ”— Cameras/Leica M6/2021/20210101-.../
πŸ”— Films/Kodak - Portra 400/2021/20210101-...

Frontmatter index files

---
camera: leica-m6
film: portra-400
format: 135
scanned_at: 2020-11-30
exported: true
lab: mori-film
roll_number: 20x17
themes:
- cars
- beach
- surf
- personal
---
# My summer vacation
Roll story
  • Frontmatter format is YAML.
  • Mandatory keys:
    • camera
    • film
  • Allowed keys:
    • lenses/lens if only one
    • themes
    • iso

Folder structure is built based on the information we have in the files here. Camera and Film might become slugs from 2 files

those would be lists of cameras slugs and information

If we are not using negativelabpro, we might also push exif information to the files in the format

Inpsiration

  • Frontmatter and index.md files come from my use of Hugo/Jekyll.
  • Exif data comes from me wanting something organized without touching anything

Ideas

Contact sheet command

❯ find 2021 -type d | xargs -I {} montage -verbose -pointsize 10 -background '#fff' -fill 'gray' -define jpeg:size=200x200 -geometry 200x200+2+2 -auto-orient '{}/*.jpg' {}/sheet.jpg

About

Just a tool to help me manage my scans collection

License:MIT License


Languages

Language:Ruby 94.9%Language:Liquid 4.7%Language:Shell 0.4%