No description
* Build EVENT message with json.dumps instead of string interpolation Ensures outbound Nostr messages are valid JSON and safely escaped by constructing the payload as Python objects and serializing with json.dumps * improve logs * remove log causing check failure |
||
|---|---|---|
| .github/workflows | ||
| nostr | ||
| static/images | ||
| templates/nostrclient | ||
| tests | ||
| .gitignore | ||
| .prettierrc | ||
| __init__.py | ||
| config.json | ||
| crud.py | ||
| description.md | ||
| helpers.py | ||
| LICENSE | ||
| Makefile | ||
| manifest.json | ||
| migrations.py | ||
| models.py | ||
| package-lock.json | ||
| package.json | ||
| pyproject.toml | ||
| README.md | ||
| router.py | ||
| tasks.py | ||
| uv.lock | ||
| 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
