{"id":15039890,"url":"https://github.com/automattic/google-docs-add-on","last_synced_at":"2025-10-19T18:31:55.547Z","repository":{"id":51427016,"uuid":"74598084","full_name":"Automattic/google-docs-add-on","owner":"Automattic","description":"Publish to WordPress from Google Docs","archived":false,"fork":false,"pushed_at":"2023-01-27T01:51:26.000Z","size":1244,"stargazers_count":164,"open_issues_count":63,"forks_count":21,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-01-30T01:03:49.093Z","etag":null,"topics":["google-apps-script","google-docs","wordpress","wordpress-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Automattic.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2016-11-23T17:11:33.000Z","updated_at":"2024-12-13T19:27:23.000Z","dependencies_parsed_at":"2023-01-31T20:30:26.050Z","dependency_job_id":null,"html_url":"https://github.com/Automattic/google-docs-add-on","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Automattic%2Fgoogle-docs-add-on","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Automattic%2Fgoogle-docs-add-on/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Automattic%2Fgoogle-docs-add-on/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Automattic%2Fgoogle-docs-add-on/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Automattic","download_url":"https://codeload.github.com/Automattic/google-docs-add-on/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237192028,"owners_count":19269809,"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-apps-script","google-docs","wordpress","wordpress-api"],"created_at":"2024-09-24T20:43:57.566Z","updated_at":"2025-10-19T18:31:55.141Z","avatar_url":"https://github.com/Automattic.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Getting started\n\nThe add-on lives in Google's Script Editor but, in keeping with [best practices](https://developers.googleblog.com/2015/12/advanced-development-process-with-apps.html),\nthis repo is the source of truth, and the script editor will be overwritten with\nlocal changes.\n\n# Configuring\n\nThis process needs to be performed once:\n\n1. `npm install` to install all dependencies\n5. Create a new apps script here: https://script.google.com\n6. Get the script ID from the URL (everything between the `/d/` and `/edit` - `script.google.com/a/google.com/d/SCRIPT_ID_HERE/edit`)\n2. Install [`clasp`](https://developers.google.com/apps-script/guides/clasp)\n7. ``\n8. Create a new [WordPress.com App](https://developer.wordpress.com/apps/new/):\n    1. Set the redirect URL to be `https://script.google.com/macros/d/SCRIPT_ID/usercallback`\n    2. Make a note of the app client ID and client secret\n9. In the app script, go to `File` and `Project Properties`\n    1. Select the `Script properties` tab\n    2. Add `OauthClientId` and set the value to your app\n    3. Add `OauthClientSecret` and set the value to your app\n\nEverything is now setup.\n\n# Deploying\n\n`npm run deploy`\n\nThis will use node-google-apps-script to upload the `src` directory to the\nadd-on's script editor.\n\n# Testing\n\nIn the script editor choose \"Publish\" → \"Test as add-on…\" and then select a\ndocument to test with.\n\nThat will open a new window with your document. You will then see your project\nin the Add-ons menu.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautomattic%2Fgoogle-docs-add-on","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautomattic%2Fgoogle-docs-add-on","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautomattic%2Fgoogle-docs-add-on/lists"}