Skip to content

Create a Git repo from your Google Doc revision history

License

Notifications You must be signed in to change notification settings

repography/doc2git

Repository files navigation

doc2git

Create a Git repo from your Google Doc revision history

The simplest way to use doc2git is on doc2git.repography.com.

Running doc2git yourself

If you want to run doc2git with your own Google OAuth credentials then you can clone this repo and run it locally or deploy it elsewhere.

There's only one setting to change, which is the Google OAuth client ID. This is configured in the Makefile.

To create your client ID, follow Google's instructions on Setting up OAuth 2.0. Note that since doc2git is a client-side app using the implicit flow, you can ignore the client secret which is generated as part of this process.

Developing doc2git

Contributions are welcome!

doc2git is a Next.js app using TypeScript. The important bits:

You'll need to create a client ID as above with the your localhost / development origins.

To run locally:

nvm install        # Install/use the correct node version
npm install        # Install dependencies
make dev           # Run the dev server

Repography logo / Recent activity Time period

Timeline graph Issue status graph

Repography logo / Structure

Structure