tomzx/gdocs-to-markdown

Google documents to markdown exporter

v0.1.0 2016-01-19 03:52 UTC

This package is auto-updated.

Last update: 2024-12-10 07:39:50 UTC


README

License Latest Stable Version Latest Unstable Version Build Status Code Quality Code Coverage Total Downloads

A simple application which lets you export files from a specific folder in Google Drive into markdown.

Getting started

  1. Create a google-documents-exporter.p12 at the root of the application which can be obtained by following this guide.
  2. Run php export.php $random@developer.gserviceaccount.com $folderId, where $random@developer.gserviceaccount.com ìs the service account account which can be obtained through the Google's Developers Console - Permissions and $folderId is the identifier of the folder you want to convert to markdown. All the documents in subfolders will be converted to markdown as well. You can find the final output in the output directory.

License

The code is licensed under the MIT license. See LICENSE.