No description
* refactor: clean-up * refactor: extra logs plus try-catch * refactor: do not use bare `except` * refactor: clean-up redundant fields * chore: pass code checks * chore: code format * refactor: code clean-up * fix: refactoring stuff * refactor: remove un-used file * chore: code clean-up * chore: code clean-up * chore: code-format fix * refactor: remove nostr.client wrapper * refactor: code clean-up * chore: code format * refactor: remove `RelayList` class * refactor: extract smaller methods with try-catch * fix: better exception handling * fix: remove redundant filters * fix: simplify event * chore: code format * fix: code check * fix: code check * fix: simplify `REQ` * fix: more clean-ups * refactor: use simpler method * refactor: re-order and rename * fix: stop logic * fix: subscription close before disconnect * chore: play commit |
||
|---|---|---|
| .github/workflows | ||
| nostr | ||
| static/images | ||
| templates/nostrclient | ||
| .gitignore | ||
| __init__.py | ||
| config.json | ||
| crud.py | ||
| helpers.py | ||
| LICENSE | ||
| manifest.json | ||
| migrations.py | ||
| models.py | ||
| README.md | ||
| router.py | ||
| tasks.py | ||
| views.py | ||
| views_api.py | ||
Nostrclient - LNbits extension
For more about LNBits extension check this tutorial
nostrclient is an always-on extension that can open multiple connections to nostr relays and act as a multiplexer for other clients: You open a single websocket to nostrclient which then sends the data to multiple relays. The responses from these relays are then sent back to the client.
Troubleshoot
The Test Endpoint functionality heps the user to check that the nostrclient web-socket endpoint works as expected.
The LNbits user can DM itself (or a temp account) from nostrclient and verify that the messages are sent and received correctly.
https://user-images.githubusercontent.com/2951406/236780745-929c33c2-2502-49be-84a3-db02a7aabc0e.mp4
