Skip to content

Commit

Permalink
redone for version 0.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
djsudduth committed Sep 16, 2024
1 parent 5f3c642 commit e200e4f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ RUN apt update
RUN apt install -y python-is-python3 python3-pip
RUN apt-get install -y curl
RUN apt-get install ca-certificates
RUN curl -L -o tmp/keep-it-markdown-0.6.3.tar.gz https://github.com/djsudduth/keep-it-markdown/archive/refs/tags/0.6.3.tar.gz
RUN tar -zxvf tmp/keep-it-markdown-0.6.3.tar.gz
RUN curl -L -o tmp/keep-it-markdown-0.6.4.tar.gz https://github.com/djsudduth/keep-it-markdown/archive/refs/tags/0.6.4.tar.gz
RUN tar -zxvf tmp/keep-it-markdown-0.6.4.tar.gz
RUN pip install keyrings.alt
RUN pip install -r /keep-it-markdown-0.6.3/requirements.txt
RUN pip install -r /keep-it-markdown-0.6.4/requirements.txt

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ If you are having difficulty logging in to Google you can use Docker with the pr
1) Install Docker on any PC (find the online instructions for your particular operating system)
2) Startup Docker (or it will autostart on reboot depending on how you installed it)
3) Go to the command line and run ``docker build -t kim .`` in the directory where you installed KIM (it will take about 5 min to create the image)
4) Run the Docker image with ``docker run --mount type=bind,source=(your PC's KIM directory)/mdfiles,target=/keep-it-markdown-0.6.3/mdfiles -it kim`` (you will be automatically logged into the Docker image and your PC's directory will be mapped to the Docker image directory)
5) Change the directory to Kim ``cd keep-it-markdown-0.6.3``
4) Run the Docker image with ``docker run --mount type=bind,source=(your PC's KIM directory)/mdfiles,target=/keep-it-markdown-0.6.4/mdfiles -it kim`` (you will be automatically logged into the Docker image and your PC's directory will be mapped to the Docker image directory)
5) Change the directory to Kim ``cd keep-it-markdown-0.6.4``
6) Follow **Second Way** instructions here to get a copy of the oauth_token cookie value - https://github.com/rukins/gpsoauth-java?tab=readme-ov-file
7) Run the script in the KIM directory - `python get_token.py`
8) Enter your Google email account name, oauth_token, and Android ID when prompted (Android ID can be anything, OAuth token expires in about 5 min)
Expand Down Expand Up @@ -282,5 +282,5 @@ Fixed the keep.resume warning message for newer gkeepapi version >= 0.16.0
Fixed the Python 3.12+ regular expression error
Added more detail error message if KIM fails to execute

## 0.6.3 Recent Changes
## 0.6.3/0.6.4 Recent Changes
Fixed the Dockerfile versions
2 changes: 1 addition & 1 deletion kim.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from importlib.metadata import version
from PIL import Image

KIM_VERSION = "0.6.3"
KIM_VERSION = "0.6.4"
KEEP_KEYRING_ID = 'google-keep-token'
KEEP_NOTE_URL = "https://keep.google.com/#NOTE/"
CONFIG_FILE = "settings.cfg"
Expand Down

0 comments on commit e200e4f

Please sign in to comment.