lnbits / lnurl

LNURL implementation for Python.
https://pypi.org/project/lnurl
MIT License
64 stars 19 forks source link

LNURL CLI client #3

Closed Kixunil closed 3 years ago

Kixunil commented 4 years ago

I'd like to write a CLI client for LNURL, so far only for lnurl-channel, but I'm open to do more stuff in the future. (And a GUI later too!) I think it'd be useful to do with collaboration with your repository/org, so that it's easier to find for people and hopefully attracts more contributors.

If you're interested, I'd like to know how exactly I should do it.

BTW, I also wrote lnch-vekslak a long time ago before this lib existed. I'm willing to refactor it and join forces with it too, if you're interested. It's not a high-priority task for me right now, though.

eillarra commented 4 years ago

Sure, I think it can be integrated in the library, we can then have a option to install the CLI and its dependencies with pip install lnurl[cli] (via extras_require).

What do you think, @jogc ?

eillarra commented 4 years ago

I suggest using something like click to simplify development and avoid reinventing the wheel: https://click.palletsprojects.com/en/7.x/

jogc commented 4 years ago

Sure, I think it can be integrated in the library, we can then have a option to install the CLI and its dependencies with pip install lnurl[cli] (via extras_require).

What do you think, @jogc ?

Sounds good 👍🏻

Kixunil commented 4 years ago

Thanks for the answer! click looks great, will definitely use it. I have some other stuff to do right now, but I expect to have something finished in a few weeks.