{"id":31959625,"url":"https://github.com/daun/statamic-asset-thumbnails","last_synced_at":"2026-07-18T12:02:17.127Z","repository":{"id":318736272,"uuid":"1072525321","full_name":"daun/statamic-asset-thumbnails","owner":"daun","description":"Generate asset thumbnails for unusual file formats","archived":false,"fork":false,"pushed_at":"2025-10-14T10:27:33.000Z","size":1142,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-14T11:12:26.033Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daun.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-08T20:58:52.000Z","updated_at":"2025-10-14T10:27:36.000Z","dependencies_parsed_at":"2025-10-14T11:12:29.185Z","dependency_job_id":null,"html_url":"https://github.com/daun/statamic-asset-thumbnails","commit_stats":null,"previous_names":["daun/statamic-asset-thumbnails"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/daun/statamic-asset-thumbnails","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daun%2Fstatamic-asset-thumbnails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daun%2Fstatamic-asset-thumbnails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daun%2Fstatamic-asset-thumbnails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daun%2Fstatamic-asset-thumbnails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daun","download_url":"https://codeload.github.com/daun/statamic-asset-thumbnails/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daun%2Fstatamic-asset-thumbnails/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019064,"owners_count":26086513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-14T15:47:42.736Z","updated_at":"2026-07-18T12:02:17.113Z","avatar_url":"https://github.com/daun.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Statamic Advanced Asset Thumbnails\n\n**Generate asset thumbnails for exotic file formats like videos, raw photos, audio files and documents.**\n\n![Example asset thumbnails](art/asset-thumbnails.gif)\n\n## How It Works\n\nThe addon generates control panel thumbnails for non-image files by integrating with a\nthird-party file conversion service and download the resulting preview image.\n\n## File Conversion Services\n\n[Transloadit](https://transloadit.com/)  \n9$/month for 5GB of uploads  \nFree tier allows 5GB of uploads \u0026 adds watermarks to thumbnails\n\n[CloudConvert](https://cloudconvert.com/)  \n10€/month for 1000 uploads / 18€ once for 1000 credits  \nFree tier allows 10 thumbnails per day\n\nTransloadit supports a few more file formats and advanced customization. The most obvious\ndifference is audio files: Transloadit can generate thumbnails from wave forms or embedded\nartwork, while CloudConvert does not support audio files at all.\n\n## Quick Start\n\n1. Install using `composer require daun/statamic-asset-thumbnails`\n2. Configure the driver and credentials in `config/statamic/asset-thumbnails.php`\n3. Install the required composer packages for your chosen driver:\n   - Transloadit: `composer require transloadit/php-sdk`\n   - CloudConvert: `composer require cloudconvert/cloudconvert-php`\n4. Any supported files will now automatically get a thumbnail in the control panel\n5. Recommended: set up a custom cache disk for faster thumbnail loading (see below for details)\n6. Recommended: disable thumbnail generation in local/dev environments to save on conversion credits\n\n## File Formats\n\nBoth drivers support the following file formats:\n\n- **Image**: tiff, bmp\n- **Video**: mp4, mov, avi, mkv, webm, wmv\n- **Photo**: raw, dng, heic, heif, nef, cr2, cr3, crw\n- **Document**: pdf, doc, docx, ppt, pptx, xls, xlsx, rtf, txt\n- **Adobe**: psd, psb, eps\n\nTransloadit supports a few additional formats:\n\n- **Audio**: mp3, aac, aif, m4a, off, opus, flac, wav\n- **Video**: h264\n- **Adobe**: ai\n- **Photo**: nrw, dcm\n\n## Cache Disk\n\nThe default setup streams cached thumbnails from a custom controller. This simplifies initial setup,\nbut comes with some overhead. To make thumbnails load faster, you can define a custom disk inside\nyour app's `public` folder. Thumbnails can then be served directly from a public url, circumventing\nLaravel entirely.\n\nFirst, define a new disk in `config/filesystems.php`.\n\n```diff\n'disks' =\u003e [\n+  'thumbnails' =\u003e [\n+    'driver' =\u003e 'local',\n+    'root' =\u003e storage_path('app/public/thumbnails'),\n+    'url' =\u003e env('APP_URL').'/storage/thumbnails',\n+    'visibility' =\u003e 'public',\n+  ],\n],\n```\n\nThen, update the cache disk in `config/statamic/asset-thumbnails.php`.\n\n```diff\n'cache' =\u003e [\n-  'disk' =\u003e null,\n+  'disk' =\u003e 'thumbnails',\n],\n```\n\n## Commands\n\nYou can clear the thumbnail cache using the following command:\n\n```bash\nphp please thumbnails:clear\n```\n\n## License\n\nThis addon is paid software with an open-source codebase. To use it in production, you'll need\nto [buy a license](https://statamic.com/addons/daun/asset-thumbnails) from the Statamic Marketplace.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaun%2Fstatamic-asset-thumbnails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaun%2Fstatamic-asset-thumbnails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaun%2Fstatamic-asset-thumbnails/lists"}