Skip to content

csimpf/keep2anylist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This code isn't in a great state, but I have this public in case anybody else wants to see how this works and get it working for themselves. It's not well documented, but I have added some low-effort notes (see lambda/README.md) so it makes a little bit of sense. See the lambda directory for how the Lambda Functions can be structured. The rest of the code is here as reference, but at one point I just started programming in the AWS console and left this repo as-is.

Please create a PR or issue if you have any questions or need clarification 😊

keep2anylist

Sync a Google Keep note with AnyList.

After Google Dropped API support for 3rd party list apps, using AnyList was such a part of my workflow that I wanted to figure out how to pull Google Keep items and move them to AnyList.

There are two parts to this app - one gets details from a specified Google Keep list (keep-get/getKeep.py), and the other adds items to a specified AnyList app (anylist-post/index.js). I intend to put these in two AWS Lambda functions, run getKeep.py periodically (probably every hour), and make a POST request to the anylist function, so the code isn't exactly the same on Lambda but should get most of the way there. The Keep list is then cleared out.

Uses two unofficial apps (thanks!):

Requirements

Python 3.8 Node 18

Setup

Initialise submodules:

git submodule update --init

Libraries to install:

Python

pip install boto3 gkeepapi python-dotenv "urllib3<2"

Tips

Lambda Setup

For Python, create a zip deployment package with these instructions: https://docs.aws.amazon.com/lambda/latest/dg/python-package.html#python-package-create-dependencies

In summary - install the packages using pip install --target ..., zip these files and the main getKeep.py script, and upload this to Lambda.

About

Move Google Keep lists to AnyList

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published