/nextcloud-google-docs-redirect

Nextcloud app to redirect to the Google Doc web application when clicking on .gddoc files

Primary LanguagePHPGNU Affero General Public License v3.0AGPL-3.0

Google Docs Redirect

This Nextcloud app adds a few lines of JavaScript to open uploaded Google Docs documents in a new tab (redirect to Google Docs) instead of downloading them.

The following file extensions are supported:

  • .gdoc
  • .gddoc
  • .gsheet
  • .gdsheets
  • .gslides
  • .gdslides
  • .glink
  • .gdlink
  • .gform

Development

For development, you need the following dependencies:

  • on mac OS: gtar: brew install gnu-tar
  • Prettier in your path

There is a Makefile to perform the following tasks:

make format
make release