Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
/ digest Public archive

Diffs of your notes in Google docs in your inbox (to be reviewed late at night)

License

Notifications You must be signed in to change notification settings

farnasirim/digest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 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:
email normal

Or when you haven't had any changes
email empty

License

MIT

About

Diffs of your notes in Google docs in your inbox (to be reviewed late at night)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published