Skip to content

Toolchain to preprocess google docs for import into Notion

Notifications You must be signed in to change notification settings

unfoldingWord-box3/NotionImport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NotionImport

Toolchain to preprocess google docs for import into Notion

The Notion import tool is quite fragile and does not support many file formats. uW Google docs have some unsupported formats. This package converts google docs to files that Notion imports. The google docs download retains the original folder structure but Notion does not.

This utility prefixes the filename with their path so that a notion user can recreate the original folder structure as Notion pages. The following file types are supported.

  • .docx, ,pdf, .html, .md,
  • .pptx, .pptm,
  • .png, .jpg, .jpeg, .gif,
  • .mp4, .3gp, .m4v,
  • .odt, .xlsx

Usage

  • Download your google docs
  • Unzip the downloaded files into a folder like: sharedTraining
  • Place the following tools into the folder containing your extracted files
  • run rfn to preprocess the files
    • sh ./ppg sharedTraining
  • Follow the instructions at the end of the program to do the actual import

Tool Roles

  • rfn - Refactor File Names to retain folder structure
  • pdf2html - convert PDFs to HTML
  • ppg - PreProcess Google docs for Notion Import
  • ppt2md - Convert PPTX files to Markdown

Requirements

For windows

You will need root password to install these:

  • Bash or WSL for execution environment
  • soffice for Libre Office cli conversion of ODT documents to DOCX

windows and linux

These will be auto installed but you will still need root password

  • zip
  • pptx2md

About

Toolchain to preprocess google docs for import into Notion

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages