salaheddinesalmi007

writealt native cms

by salaheddinesalmi007
AI content generation
v?
MIT

Overview

Summary generated from the README

Adds a native admin tool to Payload 3 that generates image alt text through the WriteAlt service and saves it to an existing text field on a configured upload collection. Requires a WriteAlt account with credits and a server-side API key set as an environment variable. Image bytes and generation preferences are sent to WriteAlt during generation. Optimization is a separate opt-in action for compatible local uploads.

Features

  • Per-image alt text generation and explicit regeneration
  • Selected-batch processing and missing-only fill for the current page
  • One language per request
  • Missing-only runs never overwrite existing descriptions
  • Optional file optimization to WebP, AVIF or original for local uploads
  • Ambiguous replacements are flagged for review and failed checks leave files unchanged

Use cases

  • Fill in missing alt text across a large media library to improve accessibility
  • Regenerate alt descriptions in a different language for selected images
  • Convert local uploads to WebP or AVIF without generating new descriptions

From the author

WriteAlt plugins for Strapi, Payload, and Sanity Studio

0

Stars

0

Forks

0

Open Issues

1 weeks ago

Last Updated

0

Weekly Downloads

v

npm Version

Dependencies

GitHub stars

00 since Nov 22

Show data
GitHub stars by day (UTC)
DateStars
Dec 6, 20260
Dec 5, 20260
Dec 4, 20260
Dec 3, 20260
Dec 2, 20260
Dec 1, 20260
Nov 30, 20260
Nov 29, 20260
Nov 28, 20260
Nov 27, 20260
Nov 26, 20260
Nov 25, 20260
Nov 24, 20260
Nov 23, 20260
Nov 22, 20260
npm weekly downloads

Trends appear after 7 days of data. Daily snapshots have not started yet.

Each point is npm's rolling 7-day download count.

Health Score

35/100Fair

Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.

Badge for your README

Payload Directory health badge
Markdown
[![Payload Directory](https://payloaddirectory.dev/badge/1474811498-root.svg)](https://payloaddirectory.dev/plugins/1474811498-root)
HTML
<a href="https://payloaddirectory.dev/plugins/1474811498-root"><img src="https://payloaddirectory.dev/badge/1474811498-root.svg" alt="Payload Directory"></a>
Updated Nov 28, 2026Created Nov 27, 2026

README

WriteAlt native CMS plugins

WriteAlt brings bulk image alt text to Strapi 5, Payload 3, Statamic 6, and Sanity Studio. The server-side plugins run inside each CMS. Sanity Studio requires an authenticated relay on the project's existing host; a static Studio alone cannot generate alt text with this release.

All four use a native admin tool with per-image generation, explicit regeneration, selected batches, missing-only fill for the current page, and one language per request. Existing descriptions are not overwritten by a missing-only run. File optimization is a separate action, never calls the WriteAlt API, and never generates an alt description. Supported replacement adapters require a configured, editable alt field even when its value is blank. If processing or eligibility checks fail before replacement, no file is changed. An ambiguous replacement is flagged for review.

CMSPackageWhere alt text is savedFile optimization
StrapinpmMedia Library asset's alternativeTextNot available
PayloadnpmExisting text field on the configured upload collectionWebP, AVIF or original; opt-in for compatible local uploads
StatamicGitHub releaseExisting editable text field in the asset blueprintSame-format JPEG, PNG or WebP compression; opt-in with GD
SanitynpmExisting alt field on a configured draft imageNot available

The plugins are free to install. Generation requires a WriteAlt account and uses credits. Set WRITEALT_API_KEY on the server, never in client code. For generation, the plugin sends image bytes and generation preferences to WriteAlt. Optimization runs separately and does not use credits. Test compatibility with your CMS, editor permissions, and storage in staging before enabling the plugin on a live site.

Similar plugins