tomzx / gdocs-to-markdown
Google documents to markdown exporter
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 1
pkg:composer/tomzx/gdocs-to-markdown
Requires
- php: >=5.4.0
- google/apiclient: ~1.0
- league/html-to-markdown: ~4.0
Requires (Dev)
- phpunit/phpunit: ~4
This package is auto-updated.
Last update: 2025-10-10 09:33:01 UTC
README
A simple application which lets you export files from a specific folder in Google Drive into markdown.
Getting started
- Create a
google-documents-exporter.p12at the root of the application which can be obtained by following this guide. - Run
php export.php $random@developer.gserviceaccount.com $folderId, where$random@developer.gserviceaccount.comìs the service account account which can be obtained through theGoogle's Developers Console - Permissionsand$folderIdis 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 theoutputdirectory.
License
The code is licensed under the MIT license. See LICENSE.