{"id":30135649,"url":"https://github.com/frontify/sanity-io-plugin","last_synced_at":"2026-01-20T16:55:37.742Z","repository":{"id":306242414,"uuid":"1024163449","full_name":"Frontify/sanity-io-plugin","owner":"Frontify","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-24T13:25:11.000Z","size":2531,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-08T16:48:24.718Z","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/Frontify.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-22T09:23:06.000Z","updated_at":"2025-07-24T13:25:15.000Z","dependencies_parsed_at":"2025-07-24T15:22:06.705Z","dependency_job_id":"22f12283-bbdb-464a-85b1-eac71b771efe","html_url":"https://github.com/Frontify/sanity-io-plugin","commit_stats":null,"previous_names":["frontify/sanity-io-plugin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Frontify/sanity-io-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frontify%2Fsanity-io-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frontify%2Fsanity-io-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frontify%2Fsanity-io-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frontify%2Fsanity-io-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Frontify","download_url":"https://codeload.github.com/Frontify/sanity-io-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frontify%2Fsanity-io-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269803772,"owners_count":24477649,"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-08-10T02:00:08.965Z","response_time":71,"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-08-10T22:51:15.363Z","updated_at":"2026-01-20T16:55:37.715Z","avatar_url":"https://github.com/Frontify.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontify DAM \u003e Sanity\n\n![Frontify demo](https://raw.githubusercontent.com/Frontify/sanity-io-plugin/main/assets/Sanity_Frontify_Plugin.gif)\n\nA Sanity plugin that integrates the Frontify Finder, Frontify asset chooser, as a custom asset source, allowing users to select images from Frontify directly within their Sanity Studio.\n\n\u003e This is a **Sanity Studio v3** plugin.\n\n## Features\n\n- Select images from Frontify directly in Sanity Studio\n- Configurable filters for asset selection\n- Support for single or multiple asset selection\n- Automatically transforms Frontify assets to Sanity-compatible format\n- Preserves asset metadata and source information\n\n## Installation\n\n```sh\nnpm install sanity-plugin-frontify-dam\n```\n\n## Usage\n\nAdd it as a plugin in `sanity.config.ts` (or .js):\n\n```ts\nimport {defineConfig} from 'sanity'\nimport {frontifyPlugin} from 'sanity-plugin-frontify-dam'\n\nexport default defineConfig({\n  // ... other config\n  plugins: [\n    frontifyPlugin({\n      domain: 'your-frontify-domain',\n      allowMultiSelect: false,\n      filters: [\n        {\n          key: 'object_type',\n          values: ['IMAGE'],\n          inverted: false,\n        },\n      ],\n    }),\n  ],\n})\n```\n\n## Configuration\n\nThe plugin accepts the following configuration options:\n\n- `domain` (string): The domain of the Frontify instance - the end user will be promped for this if it is not provided in the config\n- `allowMultiSelect` (boolean): Whether to allow multiple asset selection (default: false)\n- `filters` (array): Array of filters to apply to the asset selection\n\n## Using in Schema\n\nOnce the plugin is installed, the Frontify asset source will be available for all image fields in your schema automatically. The plugin adds itself as an asset source for image fields.\n\n## Direct Usage\n\nYou can also use the asset source directly in specific fields:\n\n```ts\nimport {defineField, defineType} from 'sanity'\nimport {frontifyAssetSource} from 'sanity-plugin-frontify-dam'\n\nexport default defineType({\n  name: 'post',\n  title: 'Post',\n  type: 'document',\n  fields: [\n    defineField({\n      name: 'mainImage',\n      title: 'Main image',\n      type: 'image',\n      options: {\n        hotspot: true,\n        sources: [\n          frontifyAssetSource({\n            allowMultiSelect: false,\n            filters: [\n              {\n                key: 'object_type',\n                values: ['IMAGE'],\n                inverted: false,\n              },\n            ],\n          }),\n        ],\n      },\n    }),\n  ],\n})\n```\n\n## Requirements\n\n- Sanity Studio v3 or later\n- React 18+\n\n## License\n\n[MIT](LICENSE) © Frontify\n\n## Develop \u0026 test\n\nThis plugin uses [@sanity/plugin-kit](https://github.com/sanity-io/plugin-kit)\nwith default configuration for build \u0026 watch scripts.\n\nSee [Testing a plugin in Sanity Studio](https://github.com/sanity-io/plugin-kit#testing-a-plugin-in-sanity-studio)\non how to run this plugin with hotreload in the studio.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrontify%2Fsanity-io-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrontify%2Fsanity-io-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrontify%2Fsanity-io-plugin/lists"}