{"id":13608484,"url":"https://github.com/jupyterlab/jupyterlab-google-drive","last_synced_at":"2025-04-12T17:31:45.325Z","repository":{"id":41333588,"uuid":"76697406","full_name":"jupyterlab/jupyterlab-google-drive","owner":"jupyterlab","description":"Cloud storage for JupyterLab using Google Drive","archived":true,"fork":false,"pushed_at":"2023-08-03T16:55:22.000Z","size":2600,"stargazers_count":402,"open_issues_count":0,"forks_count":76,"subscribers_count":32,"default_branch":"master","last_synced_at":"2025-04-03T14:18:09.635Z","etag":null,"topics":["google-drive","jupyterlab","jupyterlab-extension"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/jupyterlab.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},"funding":{"github":"numfocus","custom":"https://numfocus.org/donate-to-jupyter"}},"created_at":"2016-12-17T01:40:45.000Z","updated_at":"2025-03-27T02:36:30.000Z","dependencies_parsed_at":"2024-01-10T21:05:15.094Z","dependency_job_id":null,"html_url":"https://github.com/jupyterlab/jupyterlab-google-drive","commit_stats":{"total_commits":429,"total_committers":14,"mean_commits":"30.642857142857142","dds":"0.053613053613053574","last_synced_commit":"4fee96dd1a19f099f2883bfeaf828359338f8693"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupyterlab%2Fjupyterlab-google-drive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupyterlab%2Fjupyterlab-google-drive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupyterlab%2Fjupyterlab-google-drive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupyterlab%2Fjupyterlab-google-drive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jupyterlab","download_url":"https://codeload.github.com/jupyterlab/jupyterlab-google-drive/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248605124,"owners_count":21132115,"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":["google-drive","jupyterlab","jupyterlab-extension"],"created_at":"2024-08-01T19:01:27.641Z","updated_at":"2025-04-12T17:31:40.919Z","avatar_url":"https://github.com/jupyterlab.png","language":"TypeScript","funding_links":["https://github.com/sponsors/numfocus","https://numfocus.org/donate-to-jupyter"],"categories":["JupyterLab Extensions","JupyterLab扩展"],"sub_categories":[],"readme":"**This project has been archived by lack of maintainers.**\n\n# jupyterlab-google-drive\n\n[![Build Status](https://travis-ci.org/jupyterlab/jupyterlab-google-drive.svg?branch=master)](https://travis-ci.org/jupyterlab/jupyterlab-google-drive)\n\n## Cloud storage for JupyterLab through Google Drive.\n\n**NOTE: this is beta software and is rapidly changing.**\n\nThis extension adds a Google Drive file browser to the left sidebar of JupyterLab.\nWhen you are logged into your Google account, you will have the\nfiles stored in your GDrive available to JupyterLab.\n\nIf you run into trouble, see if the [troubleshooting guide](docs/troubleshooting.md) has a solution for you.\n\n## Prerequisites\n\n- JupyterLab 1.x / 2.x\n- A Google Drive account\n\n## Setting up credentials with Google\n\nTo run this extension you need to authenticate your JupyterLab deployment\n(whether institutional or individual) with Google.\nIn order to identify yourself to Google, you will need to register a web application\nwith their Developers Console.\nDetailed instructions for setting up your application credentials can be found in\n[setup.md](docs/setup.md).\n\n## Installation\n\nTo install this extension into JupyterLab (requires node 6 or later), do the following:\n\n```bash\njupyter labextension install @jupyterlab/google-drive\n```\n\n## Development\n\nFor a development install, do the following in the repository directory:\n\n```bash\njlpm install\njlpm run build\njupyter labextension install .\n```\n\nYou can then run JupyterLab in watch mode to automatically pick up changes to `@jupyterlab/google-drive`.\nOpen a terminal in the `@jupyterlab/google-drive` repository directory and enter\n\n```bash\njlpm run watch\n```\n\nThen launch JupyterLab using\n\n```bash\njupyter lab --watch\n```\n\nThis will automatically recompile `@jupyterlab/google-drive` upon changes,\nand JupyterLab will rebuild itself. You should then be able to refresh the\npage and see your changes.\n\n## Getting Started from Scratch\n\n- Install JupyterLab\n\n  ```\n  pip install jupyterlab\n  ```\n\n- Install the jupyterlab-google-drive extension\n\n  ```\n  jupyter labextension install @jupyterlab/google-drive\n  ```\n\n- Set up your application credentials according to [this](docs/setup.md) guide.\n\n- Start JupyterLab\n\n  ```\n  jupyter lab\n  ```\n\n- Click on the Google Drive tab in the left sidebar in the JupyterLab interface\n  and log in to your Google Drive account.\n\n- Have someone share a notebook or markdown file with you.\n\n- You should now see the file in the **Shared with Me** folder in the file browser.\n  Double-click to open the file and begin editing!\n\n### Using Zero to JupyterHub (Z2JH)\nWhen using Zero to JupyterHub to deploy a containerized environment, you can minimize the need to sign into JupyterHub and Google Drive. If you are using Google OAuth to autenticate users for JupyterHub, you can simply add the additional scopes to to the `auth` block:\n\n```\nauth:\n    type: google\n    google:\n      callbackUrl: \"\u003cyour-url\u003e/hub/oauth_callback\"\n    scopes:\n      - \"openid\"\n      - \"email\"\n      - \"https://www.googleapis.com/auth/drive\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjupyterlab%2Fjupyterlab-google-drive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjupyterlab%2Fjupyterlab-google-drive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjupyterlab%2Fjupyterlab-google-drive/lists"}