{"id":18705546,"url":"https://github.com/hazimavdal/gpurge","last_synced_at":"2025-11-09T05:30:37.826Z","repository":{"id":158474797,"uuid":"242872742","full_name":"hazimavdal/gpurge","owner":"hazimavdal","description":"A utility to convert Google Documents to physical files","archived":false,"fork":false,"pushed_at":"2022-09-24T05:38:04.000Z","size":32,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-28T06:41:46.385Z","etag":null,"topics":["google","google-docs","google-drive","google-sheets","microsoft-excel","microsoft-word","self-hosting"],"latest_commit_sha":null,"homepage":"","language":"Python","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/hazimavdal.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-25T00:19:30.000Z","updated_at":"2023-01-23T18:18:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"dac27670-cb32-4ec9-9eb8-d214ff20a667","html_url":"https://github.com/hazimavdal/gpurge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazimavdal%2Fgpurge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazimavdal%2Fgpurge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazimavdal%2Fgpurge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hazimavdal%2Fgpurge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hazimavdal","download_url":"https://codeload.github.com/hazimavdal/gpurge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239568371,"owners_count":19660658,"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","google-docs","google-drive","google-sheets","microsoft-excel","microsoft-word","self-hosting"],"created_at":"2024-11-07T12:11:17.893Z","updated_at":"2025-02-18T23:28:11.234Z","avatar_url":"https://github.com/hazimavdal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GPurge\n\nThis is a utility that converts Google Documents, Sheets, etc. to physical files. `gpurge` can search in a local folder (typically a fully-synced Google Drive folder) recursively and convert all `.godc` and `gsheet` files to `.docx` and `xlsx`, respectively.\n\n## Prerequisites\n\n- Python 3.6 or greater\n\n- [Google Drive Python Client Library V3](https://developers.google.com/drive/api/v3/quickstart/python#step_2_install_the_google_client_library)\n\n```\npip3 install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib\n```\n\n- [Turn on Drive API](https://developers.google.com/drive/api/v3/enable-drive-api). Save the `credentials.json` file as `creds/client_id.json` in the same folder as the `gpurge.py` file.\n\n\n## Usage\n\nRun `./gpurge.py -h`.\n\n## Google Docs are great, why convert to MS Word?\n\nHere are some scenarios that make sense to do this:\n\n- You want to archive your files and guarantee that you have access to their _content_ 20 years from now. Google [killed](https://en.wikipedia.org/wiki/List_of_Google_products) a great many products in the past, and it is not unlikely that they will discontinue Google Docs at some point in the future.   \n\n- Be able to perform bulk operations on these documents locally, such as searching.\n\n- You need to port your files to another system. How many applications out there can process `.gdoc` files, other than Google Docs? \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhazimavdal%2Fgpurge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhazimavdal%2Fgpurge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhazimavdal%2Fgpurge/lists"}