https://github.com/farnasirim/digest
Diffs of your notes in Google docs in your inbox (to be reviewed late at night)
https://github.com/farnasirim/digest
automation google google-docs google-docs-api google-drive google-drive-api note-taking
Last synced: 4 days ago
JSON representation
Diffs of your notes in Google docs in your inbox (to be reviewed late at night)
- Host: GitHub
- URL: https://github.com/farnasirim/digest
- Owner: farnasirim
- License: mit
- Archived: true
- Created: 2019-01-15T13:30:24.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-07T03:08:31.000Z (almost 3 years ago)
- Last Synced: 2024-06-21T17:03:35.588Z (over 1 year ago)
- Topics: automation, google, google-docs, google-docs-api, google-drive, google-drive-api, note-taking
- Language: Go
- Homepage:
- Size: 110 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Digest
Your changes to your google docs notes in your mailbox.
# Installation
```
go get -v github.com/farnasirim/digest/cmd/digest
go install github.com/farnasirim/digest/cmd/digest
```
## Usage
Have a look at
```
digest --help
```
First time usage:
Unfortunately setting up the google docs access token takes a few clicks and
keystrokes. See
[my blog post](https://blog.farnasirim.ir/2019/01/changes-to-my-notes-in-google-docs-sent.html)
for full instructions.
```
mkdir -p ~/.digest/auth/
cp $PATH_TO_GOOGLE_DRIVE_CREDENTIALS ~/.digest/auth/
digest --folder=$GOOGLE_DRIVE_FOLDER_NAME \
--smtp-user=you@domain.com \
--smtp-pass=yourpass \
--smtp-server-host=smtp.domain.com \
--persist-confs
```
Subsequent usages:
```
digest
```
Sample output:
```
Looking under folder "subjects" with id "folder-id"
Successfully written "Theoretical Computer Science" "doc-id"
Successfully written "Networks" "doc-id"
Successfully written "Scientific Papers" "doc-id"
Email sent successfully
```
Sample email content:

Or when you haven't had any changes

## License
MIT