{"id":18510782,"url":"https://github.com/envato-archive/studio-client-uploader","last_synced_at":"2025-04-09T04:33:23.916Z","repository":{"id":28042331,"uuid":"31538082","full_name":"envato-archive/studio-client-uploader","owner":"envato-archive","description":null,"archived":true,"fork":false,"pushed_at":"2016-04-28T07:01:59.000Z","size":101,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":47,"default_branch":"master","last_synced_at":"2025-03-03T01:28:20.572Z","etag":null,"topics":["studio"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/envato-archive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-02T11:55:15.000Z","updated_at":"2025-02-26T21:52:21.000Z","dependencies_parsed_at":"2022-07-31T21:48:09.188Z","dependency_job_id":null,"html_url":"https://github.com/envato-archive/studio-client-uploader","commit_stats":null,"previous_names":["envato/react-studio-uploader","envato-archive/studio-client-uploader"],"tags_count":45,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envato-archive%2Fstudio-client-uploader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envato-archive%2Fstudio-client-uploader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envato-archive%2Fstudio-client-uploader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envato-archive%2Fstudio-client-uploader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/envato-archive","download_url":"https://codeload.github.com/envato-archive/studio-client-uploader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247980833,"owners_count":21027803,"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":["studio"],"created_at":"2024-11-06T15:25:07.086Z","updated_at":"2025-04-09T04:33:23.318Z","avatar_url":"https://github.com/envato-archive.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# studio-client-uploader\n\n## Usage:\n\n```bash\nnpm install --save studio-client-uploader\n```\n\nThen:\n\n```javascript\nimport React from 'react'\n\nimport { Uploader, AssetPreview, UploaderPreview } from 'studio-client-uploader'\n\nvar Application = React.createClass({\n  _onUpload: function(asset) {\n    console.log(asset);\n  },\n  render: function() {\n    return (\n      \u003cdiv\u003e\n        Uploader:\n        \u003cUploader id=\"test-uploader\" assetType=\"message-asset\" assetServiceUrl=\"http://STUDIO_ASSET_SERVICE.com\" uploadUrl=\"https://UPLOAD_ENDPOINT.com\" onUpload={this._onUpload}\u003e\n          \u003cdiv className=\"button button--muted\"\u003eUpload a file\u003c/div\u003e\n        \u003c/Uploader\u003e\n        \u003cUploaderPreview uploaderId=\"test-uploader\" previewComponent={AssetPreview} /\u003e\n      \u003c/div\u003e\n    )\n  }\n});\n\nReact.render(\u003cApplication /\u003e, document.getElementById('app'));\n\n```\n\n## Release:\n```bash\n./scripts/release\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenvato-archive%2Fstudio-client-uploader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenvato-archive%2Fstudio-client-uploader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenvato-archive%2Fstudio-client-uploader/lists"}