senen 0.1.1 copy "senen: ^0.1.1" to clipboard
senen: ^0.1.1 copied to clipboard

Senen media library for Maat - attach files to models with collections, custom properties, ordering, and queued image conversions.

Senen #

[senen — Media library for Maat with model attachments, collections, ordering, and image conversions.]

Senen attaches files to typed Seshat models. It keeps originals and derived images on Shena disks, with named collections, custom properties, ordering, queued conversions, and pure-Dart or ImageMagick drivers.

final media = await post.media
    .add(upload)
    .usingName('Avatar')
    .toCollection('images');

final thumbnail = await post.media.url(media, 'thumb');

Register senenExtension, add ...senenMigrations to the application migrations, and register each model's MediaSchema explicitly. Run maat media:regenerate after adding or changing conversions.

Full guide: docs/media-library.md.

0
likes
160
points
--
downloads

Documentation

API reference

Publisher

unverified uploader

Senen media library for Maat - attach files to models with collections, custom properties, ordering, and queued image conversions.

Repository (GitHub)

License

MIT (license)

Dependencies

image, khepri, maat, path, seshat, seshat_maat, shena_maat

More

Packages that depend on senen