{"id":29854894,"url":"https://github.com/coderwelsch/strapi-video-thumbnails-graphql","last_synced_at":"2025-07-29T22:19:14.686Z","repository":{"id":305141435,"uuid":"1021751145","full_name":"Coderwelsch/strapi-video-thumbnails-graphql","owner":"Coderwelsch","description":"This plugin extends the GraphQL API to provide video thumbnail generation capabilities.","archived":false,"fork":false,"pushed_at":"2025-07-18T12:58:49.000Z","size":704,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-18T15:29:30.258Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Coderwelsch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2025-07-17T22:26:45.000Z","updated_at":"2025-07-18T12:58:52.000Z","dependencies_parsed_at":"2025-07-18T15:42:07.238Z","dependency_job_id":null,"html_url":"https://github.com/Coderwelsch/strapi-video-thumbnails-graphql","commit_stats":null,"previous_names":["coderwelsch/strapi-video-thumbnails-graphql"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Coderwelsch/strapi-video-thumbnails-graphql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coderwelsch%2Fstrapi-video-thumbnails-graphql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coderwelsch%2Fstrapi-video-thumbnails-graphql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coderwelsch%2Fstrapi-video-thumbnails-graphql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coderwelsch%2Fstrapi-video-thumbnails-graphql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Coderwelsch","download_url":"https://codeload.github.com/Coderwelsch/strapi-video-thumbnails-graphql/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coderwelsch%2Fstrapi-video-thumbnails-graphql/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267771830,"owners_count":24142081,"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-07-29T02:00:12.549Z","response_time":2574,"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-07-29T22:19:11.592Z","updated_at":"2025-07-29T22:19:14.677Z","avatar_url":"https://github.com/Coderwelsch.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"./docs/logo.png\" alt=\"Strapi Video Thumbnails Plugin\" style=\"width: 150px;\" /\u003e\n\u003c/p\u003e\n\n# Video Thumbnails GraphQl Plugin for Strapi\n\n![NPM Version](https://img.shields.io/npm/v/strapi-graphql-video-thumbnails) ![GitHub License](https://img.shields.io/github/license/Coderwelsch/strapi-video-thumbnails-graphql)\n\nThis plugin extends the GraphQL API to provide video thumbnail generation capabilities. It allows users to request thumbnails for videos stored in the public folder.\n\n![GraphQL Query Example](./docs/example-query.png)\n\n## Requirements\n\n- Strapi v5.x\n- GraphQL plugin installed and configured\n- ffmpeg installed on the server where Strapi is running\n- Node.js respectively\n\n## Installation\n\nTo install the plugin, you can use npm or yarn. Make sure you are in the root directory of your Strapi project and have the ffmpeg library installed on your server. Then run one of the following commands:\n\n```bash\n# Install the plugin\nnpm install strapi-video-thumbnails\n\n# or use yarn\nyarn add strapi-video-thumbnails\n \n```\n\n### Enable the Plugin in Strapi\n\nEdit strapi’s `config/plugins.js` file to enable the video thumbnails plugin like this:\n\n```typescript\nexport default () =\u003e ({\n\t// { Other plugins like graphql setup … }\n\t\"video-thumbnails\": {\n\t\tenabled: true,\n\t\tconfig: {\n\t\t\tthumbnailsPath: \"thumbnails\",\n\t\t\tthumbnailSize: '1280x720',\n\t\t\ttimeOffset: \"00:00:01\",\n\t\t},\n\t},\n});\n```\n\n\n## Usage\n\nTo use this plugin, you need to make a GraphQL query to the `uploadFiles` fields coming from strapi. The plugin will generate thumbnails for the specified video and return the URLs of the generated thumbnails.\n\n```graphql\n# Example GraphQL query to get video thumbnails\nquery ExampleQuery {\n\tuploadFiles (pagination:  {\n\t\tlimit: 1\n\t}) {\n\t\t# default UploadFile fields\n\t\t# url\n\t\t# formats\n\t\t# …\n\t\tthumbnail\n\t}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderwelsch%2Fstrapi-video-thumbnails-graphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderwelsch%2Fstrapi-video-thumbnails-graphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderwelsch%2Fstrapi-video-thumbnails-graphql/lists"}