Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

24 Commits

Folders and files

Repository files navigation

dokuwiki-to-google-docs

Setup and Usage

Prerequisites

  • Node.js (v22 or later)
  • npm (v10 or later)

Installation

  1. Clone the repository:
git clone https://github.com/ut-career/dokuwiki-to-google-docs.git
cd dokuwiki-to-google-docs
  1. Install the dependencies:
npm install

Environment Variables

Create a .env.local file in the root directory of the project and add the following environment variables:

DOKUWIKI_URL=<your_dokuwiki_url>
DOKUWIKI_ID=<your_dokuwiki_id>
DOKUWIKI_PASSWORD=<your_dokuwiki_password>
GOOGLE_DRIVE_FOLDER_ID=<your_google_drive_folder_id>

Login to Google Cloud

gcloud auth application-default login --client-id-file=[CLIENT_ID_FILE] --scopes="https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/drive"

Running the Software

To run the software, use the following command:

npm run start

This will fetch DokuWiki pages, convert them to Google Docs documents, and upload them to Google Drive using the specified environment variables.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages