{"id":18685809,"url":"https://github.com/grapesjs/filestack","last_synced_at":"2025-06-30T21:34:13.036Z","repository":{"id":57253131,"uuid":"84124581","full_name":"GrapesJS/filestack","owner":"GrapesJS","description":"Enable Filestack uploader inside the Asset Manager","archived":false,"fork":false,"pushed_at":"2019-03-24T21:34:32.000Z","size":92,"stargazers_count":23,"open_issues_count":2,"forks_count":28,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-12T04:51:41.791Z","etag":null,"topics":["asset-manager","filestack","grapesjs","uploader"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GrapesJS.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}},"created_at":"2017-03-06T21:52:25.000Z","updated_at":"2024-12-10T11:48:46.000Z","dependencies_parsed_at":"2022-09-10T22:50:26.289Z","dependency_job_id":null,"html_url":"https://github.com/GrapesJS/filestack","commit_stats":null,"previous_names":["artf/grapesjs-plugin-filestack"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrapesJS%2Ffilestack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrapesJS%2Ffilestack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrapesJS%2Ffilestack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrapesJS%2Ffilestack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GrapesJS","download_url":"https://codeload.github.com/GrapesJS/filestack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248519473,"owners_count":21117757,"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","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":["asset-manager","filestack","grapesjs","uploader"],"created_at":"2024-11-07T10:24:20.467Z","updated_at":"2025-04-12T04:51:44.792Z","avatar_url":"https://github.com/GrapesJS.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [GrapesJS Filestack](http://grapesjs.com/demo.html)\n\nThis plugin replaces the default file uploader with the one from Filestack\n\nDemo: http://grapesjs.com/demo.html\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"http://grapesjs.com/img/screen-fs.jpg\" alt=\"GrapesJS\" width=\"500\" align=\"center\"/\u003e\u003c/p\u003e\n\u003cbr/\u003e\n\n\n\n## Summary\n\n* Plugin\n  * Name: `gjs-plugin-filestack`\n  * Options:\n      * `key` Filestack's API key (**required**)\n      * `btnEl` Custom button element which triggers Filestack modal\n      * `btnText` Text for the button in case the custom one is not provided, default: `Add images`\n      * `filestackOpts` Filestack's options, default: `{accept: 'image/*', maxFiles: 10}`\n      * `onComplete` On complete upload callback, eg. `onComplete: (blobs, assets) =\u003e {...}`\n        *blobs* Array of Objects, eg. [{url:'...', filename: 'name.jpeg', ...}]\n        *assets* Array of inserted assets\n\n## Prerequisites\n\n- [filestack-js](https://github.com/filestack/filestack-js) **up to v0.11.5 only** (not compatible with filestack-js v1 and above)\n\n## Download\n\n* `npm i grapesjs-plugin-filestack`\n* Latest release link https://github.com/artf/grapesjs-plugin-filestack/releases/latest\n\n\n\n## Usage\n\n```html\n\u003clink href=\"path/to/grapes.min.css\" rel=\"stylesheet\"/\u003e\n\u003clink href=\"path/to/grapesjs-plugin-filestack.css\" rel=\"stylesheet\"/\u003e\n\n\u003cscript src=\"path/to/grapes.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"path/to/grapesjs-plugin-filestack.min.js\"\u003e\u003c/script\u003e\n\n\u003cdiv id=\"gjs\"\u003e\u003c/div\u003e\n\n\u003cscript type=\"text/javascript\"\u003e\n  var editor = grapesjs.init({\n      container : '#gjs',\n      plugins: ['gjs-plugin-filestack'],\n      pluginsOpts: {\n        'gjs-plugin-filestack': {/* ...options */}\n      }\n  });\n\u003c/script\u003e\n```\n\n\n\n## Development\n\nClone the repository\n\n```sh\n$ git clone https://github.com/artf/grapesjs-plugin-filestack.git\n$ cd grapesjs-plugin-filestack\n```\n\nInstall it\n\n```sh\n$ npm i\n```\n\nThe plugin relies on GrapesJS via `peerDependencies` so you have to install it manually (without adding it to package.json)\n\n```sh\n$ npm i grapesjs --no-save\n```\n\nStart the dev server\n\n```sh\n$ npm start\n```\n\n\n\n## License\n\nBSD 3-Clause\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrapesjs%2Ffilestack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrapesjs%2Ffilestack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrapesjs%2Ffilestack/lists"}