All Projects → Automattic → Google Docs Add On

Automattic / Google Docs Add On

Licence: gpl-3.0
Publish to WordPress from Google Docs

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Google Docs Add On

Tony
An Elegant WordPress Theme Based on ✌️Vue.js | 基于 Vue.js 的简洁一般强大的 WordPress 单栏博客主题
Stars: ✭ 462 (+230%)
Mutual labels:  wordpress-api, wordpress
Hybrid
[I don't have time to work on this anymore. Use at your own risk] Build WordPress based PWA, iOS, Android & Windows phones apps in minutes!
Stars: ✭ 1,026 (+632.86%)
Mutual labels:  wordpress-api, wordpress
Intervention
WordPress plugin to configure wp-admin and application state using a single config file.
Stars: ✭ 481 (+243.57%)
Mutual labels:  wordpress-api, wordpress
Create React Wptheme
Create modern, React-enabled WordPress themes with a single command.
Stars: ✭ 252 (+80%)
Mutual labels:  wordpress-api, wordpress
Wordpresssharp
A C# client to to interact with the WordPress XML-RPC API
Stars: ✭ 97 (-30.71%)
Mutual labels:  wordpress-api, wordpress
Wp Api React
This boilerplate will help you use React JS with Wordpress REST API.
Stars: ✭ 255 (+82.14%)
Mutual labels:  wordpress-api, wordpress
Ultimate Fields
The plugin for custom fields in WordPress
Stars: ✭ 39 (-72.14%)
Mutual labels:  wordpress-api, wordpress
Wordprismic
Utility to import existing Wordpress blogs into the Prismic.io content platform
Stars: ✭ 25 (-82.14%)
Mutual labels:  wordpress-api, wordpress
Ember Wordpress
The bridge between Ember.js and Wordpress
Stars: ✭ 94 (-32.86%)
Mutual labels:  wordpress-api, wordpress
Headless Wp
A demo repo for Headless WordPress
Stars: ✭ 89 (-36.43%)
Mutual labels:  wordpress-api, wordpress
Kasia
🎩 A React Redux toolset for the WordPress API
Stars: ✭ 219 (+56.43%)
Mutual labels:  wordpress-api, wordpress
Frontpress
⚡️ A full front-end AngularJS template for WordPress Rest API.
Stars: ✭ 109 (-22.14%)
Mutual labels:  wordpress-api, wordpress
Flutter wordpress
Flutter WordPress API
Stars: ✭ 155 (+10.71%)
Mutual labels:  wordpress-api, wordpress
Wp Api Angular
Angular (>=2) services for WordPress WP-API(v2) or WP >= 4.7 (natively supports WP-API)
Stars: ✭ 266 (+90%)
Mutual labels:  wordpress-api, wordpress
Live Composer Page Builder
Free page builder plugin for WordPress http://livecomposerplugin.com
Stars: ✭ 143 (+2.14%)
Mutual labels:  wordpress-api, wordpress
Better Rest Endpoints
A WordPress plugin that serves up slimmer WP Rest API endpoints.
Stars: ✭ 56 (-60%)
Mutual labels:  wordpress-api, wordpress
Nextjs Wordpress Starter
WebDevStudios Next.js WordPress Starter
Stars: ✭ 104 (-25.71%)
Mutual labels:  wordpress-api, wordpress
Restsplain
WordPress REST API documentation generator
Stars: ✭ 126 (-10%)
Mutual labels:  wordpress-api, wordpress
Vip Coding Standards
PHP_CodeSniffer ruleset to enforce WordPress.com VIP and VIP Go coding standards
Stars: ✭ 133 (-5%)
Mutual labels:  wordpress
Wp Tailwind
A WordPress starter theme that utilizes Tailwind + PurgeCSS.
Stars: ✭ 135 (-3.57%)
Mutual labels:  wordpress

Getting started

The add-on lives in Google's Script Editor but, in keeping with best practices, this repo is the source of truth, and the script editor will be overwritten with local changes.

Configuring

This process needs to be performed once:

  1. npm install to install all dependencies
  2. Follow the first step here: Node Google Apps Quickstart - "Independent Developer Console Project" is recommended.
  3. Download the JSON oAuth details
  4. ./node_modules/bin/gapps auth <PATH-TO-JSON-OAUTH-FILE> and follow instructions
  5. Edit the generated gapps.config.json file and change the value for path to be src
  6. Create a new apps script here: https://script.google.com
  7. Get the script ID from the URL (everything between the /d/ and /edit - script.google.com/a/google.com/d/SCRIPT_ID_HERE/edit)
  8. ./node_modules/bin/gapps init <SCRIPT_ID>
  9. Create a new WordPress.com App:
  10. Set the redirect URL to be https://script.google.com/macros/d/SCRIPT_ID/usercallback
  11. Make a note of the app client ID and client secret
  12. In the app script, go to File and Project Properties
  13. Select the Script properties tab
  14. Add OauthClientId and set the value to your app
  15. Add OauthClientSecret and set the value to your app

Everything is now setup.

Deploying

npm run deploy

This will use node-google-apps-script to upload the src directory to the add-on's script editor.

Testing

In the script editor choose "Publish" → "Test as add-on…" and then select a document to test with.

That will open a new window with your document. You will then see your project in the Add-ons menu.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].