https://github.com/gavindsouza/md2docs
Sync local text files to your Google Docs
https://github.com/gavindsouza/md2docs
google-docs-api markdown-to-googledocs md2docs
Last synced: 3 months ago
JSON representation
Sync local text files to your Google Docs
- Host: GitHub
- URL: https://github.com/gavindsouza/md2docs
- Owner: gavindsouza
- License: mit
- Created: 2022-11-08T12:37:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-22T15:41:04.000Z (over 2 years ago)
- Last Synced: 2025-01-15T14:18:25.078Z (4 months ago)
- Topics: google-docs-api, markdown-to-googledocs, md2docs
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# md2docs
Sync local text files to your Google Docs.
## Installation
Use `pipx` to try out md2docs!
```bash
pipx install git+https://github.com/gavindsouza/md2docs.git
```## Usage
Create a settings.json file under `~/.md2docs` that looks like:
```json
[
{
"source": "/home/gavin/Notes/Team Feedback.md",
"target": "1GoocLXXXXXXXXXXXXXXXXXGzIFd866waPxxY",
}
]
````source` is the name of the file you want to sync with a Google Doc. `target` is the Document ID which can be found in URL of a document you create eg: [https://docs.google.com/document/d/**1GoocLXXXXXXXXXXXXXXXXXGzIFd866waPxxY**/edit#]
After you've got this setup, just run `md2docs` in your terminal. It'll ask you to sign in to your Google Account - which will be a one time setup.
Now, you can add this to your crontab and md2docs will sync your local notes with Google Docs at whatever frequency you want :)
## ToDo
- [ ] Full Markdown support