kiwiz / keep-cli Goto Github PK
View Code? Open in Web Editor NEWTerminal-based Google Keep
Terminal-based Google Keep
Does this work on Windows? I can login successfully, but then get the following errors:
Here is the log I get when running keep tui
:
Username: [email protected]
[INFO] Authenticating with token
WARNING:root:Unable to find state file: C:\Users\ganuo/.keep\[email protected]
[INFO] Success
INFO:keep-cli:Success
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\ganuo\AppData\Local\Programs\Python\Python311\Scripts\keep.exe\__main__.py", line 7, in <module>
File "C:\Users\ganuo\AppData\Local\Programs\Python\Python311\Lib\site-packages\keep_cli\__main__.py", line 190, in main
args.func(args, keep, config)
File "C:\Users\ganuo\AppData\Local\Programs\Python\Python311\Lib\site-packages\keep_cli\commands.py", line 44, in tui
app.run()
File "C:\Users\ganuo\AppData\Local\Programs\Python\Python311\Lib\site-packages\keep_cli\application.py", line 132, in run
loop = urwid.MainLoop(self, constants.Palette)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ganuo\AppData\Local\Programs\Python\Python311\Lib\site-packages\urwid\main_loop.py", line 115, in __init__
screen = raw_display.Screen()
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ganuo\AppData\Local\Programs\Python\Python311\Lib\site-packages\urwid\raw_display.py", line 92, in __init__
fcntl.fcntl(self._resize_pipe_rd, fcntl.F_SETFL, os.O_NONBLOCK)
^^^^^
NameError: name 'fcntl' is not defined
Python 3.11.3 on Windows 11.
See the wcwidth
library.
C:\Windows\System32\drivers\etc>keep-cli --help
Traceback (most recent call last):
File "C:\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Python310\Scripts\keep-cli.exe\__main__.py", line 4, in <module>
File "C:\Python310\lib\site-packages\keep\keep.py", line 19, in <module>
from PyInquirer import prompt
File "C:\Python310\lib\site-packages\PyInquirer\__init__.py", line 6, in <module>
from prompt_toolkit.token import Token
File "C:\Python310\lib\site-packages\prompt_toolkit\__init__.py", line 16, in <module>
from .interface import CommandLineInterface
File "C:\Python310\lib\site-packages\prompt_toolkit\interface.py", line 19, in <module>
from .application import Application, AbortAction
File "C:\Python310\lib\site-packages\prompt_toolkit\application.py", line 8, in <module>
from .key_binding.bindings.basic import load_basic_bindings
File "C:\Python310\lib\site-packages\prompt_toolkit\key_binding\bindings\basic.py", line 9, in <module>
from prompt_toolkit.renderer import HeightIsUnknownError
File "C:\Python310\lib\site-packages\prompt_toolkit\renderer.py", line 11, in <module>
from prompt_toolkit.styles import Style
File "C:\Python310\lib\site-packages\prompt_toolkit\styles\__init__.py", line 8, in <module>
from .from_dict import *
File "C:\Python310\lib\site-packages\prompt_toolkit\styles\from_dict.py", line 9, in <module>
from collections import Mapping
ImportError: cannot import name 'Mapping' from 'collections' (C:\Python310\lib\collections\__init__.py)
Does this look like a lack of dependencies?
I will try to find a container, seems like this happens a lot with things I install using pip
.
This is something that would be especially useful to implement. If users want to be able to run keep
as a command from any working directory, or to store their configuration in a dotfiles repository, they'd have a much easier time if the configuration for this tool were in a constant location in the filesystem rather than just in whichever directory they cloned keep-cli
to.
Hi,
I love this tool.
When there are many notes its difficult to find them without sort order of date added.
Would be a nice feature...
OS: Linux Manjaro
Kernel: 5.4.150-1-MANJARO
not sure howto retrieve keep-cli version, though it was pulled on 5th of dezember 2021
I'd be very happy to help with this. This is a really neat project and something I've wanted to make for quite a while.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.