958fcc51

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Add tinybeans import command (#6)

Parses a Tinybeans export directory and copies media files into a local
media directory, using the entry UUID as the destination filename.

- tinybeans package: parses journal.json, followers.json, and per-entry
  metadata.json into Go structs; resolves the primary media file path
  for each entry (photos use <uuid>-o.jpg, videos use <uuid>.mp4)
- Unit tests against testdata/tinybeans-export/ covering journal,
  followers, and all four entries
- cmd/import-from-tinybeans: CLI that takes <export-dir> and <media-dir>
  and copies each entry's media file as <uuid>.<ext>
- dev-scripts/import-from-tinybeans: shell script wrapper

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/6
Co-authored-by: Michael Lynch <git@mtlynch.io>
Co-committed-by: Michael Lynch <git@mtlynch.io>

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 1s 1s 1s
Eval - - - -
Build 2s 23s - -
Test - - - -
Deploy - - - -
Suite 0s 24s - -

Timeline

0s10s