{"id":18449178,"url":"https://github.com/frycz/google-drive-upload","last_synced_at":"2026-02-02T20:33:25.804Z","repository":{"id":46942154,"uuid":"143762631","full_name":"frycz/google-drive-upload","owner":"frycz","description":":outbox_tray: Easily build applications allowing users to upload text to Google Drive as Docs files","archived":false,"fork":false,"pushed_at":"2022-12-07T05:39:32.000Z","size":750,"stargazers_count":3,"open_issues_count":13,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-15T17:35:44.093Z","etag":null,"topics":["async-await","es7","gapi","google-drive","rollup"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/frycz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-06T17:43:02.000Z","updated_at":"2023-09-25T11:28:10.000Z","dependencies_parsed_at":"2023-01-24T13:46:05.126Z","dependency_job_id":null,"html_url":"https://github.com/frycz/google-drive-upload","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frycz%2Fgoogle-drive-upload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frycz%2Fgoogle-drive-upload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frycz%2Fgoogle-drive-upload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frycz%2Fgoogle-drive-upload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frycz","download_url":"https://codeload.github.com/frycz/google-drive-upload/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239132704,"owners_count":19587107,"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":["async-await","es7","gapi","google-drive","rollup"],"created_at":"2024-11-06T07:18:53.563Z","updated_at":"2025-10-31T06:31:22.341Z","avatar_url":"https://github.com/frycz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Drive Upload\n\n[![GitHub license](https://img.shields.io/github/license/frycz/google-drive-upload.svg)](https://github.com/frycz/google-drive-upload/blob/master/LICENSE.md)\n[![Package Control total downloads](https://img.shields.io/npm/dt/google-drive-upload.svg)](https://www.npmjs.com/package/google-drive-upload)\n[![npm](https://img.shields.io/npm/v/google-drive-upload)](https://www.npmjs.com/package/google-drive-upload)\n[![Website shields.io](https://img.shields.io/website-up-down-green-red/https/frycz.github.io/google-drive-upload.svg)](https://frycz.github.io/google-drive-upload/)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-green.svg?style=flat)](https://github.com/frycz/google-drive-upload/pulls)\n\nEasily build applications allowing users to upload text to Google Drive as Docs files.\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://developers.google.com/drive/images/drive-intro.png\" width=\"500\"\u003e\n\u003c/p\u003e\n\n## Demo\n\n- Go to [https://quicknote-91c7d.firebaseapp.com/](https://quicknote-91c7d.firebaseapp.com/)\n- Login with your Google account\n- Create a note\n- Hover the note and click _upload_ button\n\n## Installation\n\n```\nnpm i google-drive-upload\n```\n\n## Example\n\n- Go to [https://console.developers.google.com/apis](https://console.developers.google.com/apis)\n- Generate `clientId` and web client `apiKey`\n- Use the following code in your client application:\n\n```\nimport GoogleDriveUpload from 'google-drive-upload';\n\nGoogleDriveUpload.init({\n    apiKey: 'your-api-key',\n    clientId: 'your-client-id',\n});\n\nGoogleDriveUpload.upload({\n    title: 'Document title',\n    text: 'Message you want to save on your Google Drive',\n})\n.then(() =\u003e alert(\"Note successfully uploaded!\"));\n```\n\nThe user will be asked for permission to access their Google Drive during the first upload.\n\nIn case of any questions don't hesitate to contact me. Visit my Github account where you will find my email address and Twitter.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrycz%2Fgoogle-drive-upload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrycz%2Fgoogle-drive-upload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrycz%2Fgoogle-drive-upload/lists"}