{"id":21324098,"url":"https://github.com/mcejp/sheetkeeper","last_synced_at":"2025-03-15T23:20:23.088Z","repository":{"id":132598865,"uuid":"592964024","full_name":"mcejp/sheetkeeper","owner":"mcejp","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-27T17:00:49.000Z","size":95,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-09T01:29:40.836Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/mcejp.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-24T22:49:05.000Z","updated_at":"2024-12-27T17:00:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"ac83ab49-d22e-46ee-972f-badfddeda3c5","html_url":"https://github.com/mcejp/sheetkeeper","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/mcejp%2Fsheetkeeper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcejp%2Fsheetkeeper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcejp%2Fsheetkeeper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcejp%2Fsheetkeeper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcejp","download_url":"https://codeload.github.com/mcejp/sheetkeeper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243802679,"owners_count":20350283,"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":[],"created_at":"2024-11-21T20:28:40.444Z","updated_at":"2025-03-15T23:20:23.067Z","avatar_url":"https://github.com/mcejp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Sheetkeeper -- automated Google Sheets maintenance\n\n### Creating a Google Cloud Service Account\n\n1. Go to https://console.cloud.google.com/projectcreate and create a project\n2. Go to https://console.cloud.google.com/apis/api/sheets.googleapis.com and enable _Google Sheets API_ for the newly created project\n3. On the top you should see the message _To use this API, you may need credentials. Click 'CREATE CREDENTIALS' to get started._ Click the blue button to the right.\n4. Select _Application data_, _No_, and click _Next_.\n\n![screenshot](doc/credentials.png)\n\n5. Choose an arbitrary _Service account ID_ (_sheetkeeper_ will do), click _Next_\n6. Click _Continue_ and _Done_\n7. Go to the _Credentials_ panel (on the left) and select the newly created Service Account\n8. Go to the _Keys_ tab (on top) and click _Add key_ -\u003e _Create new key_\n9. Confirm the _JSON_ type and create the key. Download the file that will pop up.\n10. Base64-encode the file with the following command: `base64 -w0 \u003cfilename\u003e.json`. This will be the contents as your `SHEETKEEPER_CREDENTIALS` variable.\n\n\n### Configuration\n\nEnvironment variables:\n\n- `SHEETKEEPER_CREDENTIALS` base64-encoded Service Account credentials (see instructions above)\n- `SHEETKEEPER_SHEETS` (format: `id1:sheet1:sheet2:sheet3::id2:sheet1`; IDs are spreadsheet IDs, sheets are the tab names)\n\nS3 options (used for backup of sheet contents):\n\n- `AWS_ACCESS_KEY_ID`\n- `AWS_SECRET_ACCESS_KEY`\n- `AWS_DEFAULT_REGION`\n- `SHEETKEEPER_BUCKET`\n- `SHEETKEEPER_S3_ENDPOINT`\n\n\n### Dependencies\n\n- beautifulsoup4\n- boto3\n- google-api-python-client\n- google-auth-httplib2\n- requests\n- yt-dlp","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcejp%2Fsheetkeeper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcejp%2Fsheetkeeper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcejp%2Fsheetkeeper/lists"}