No description
Find a file
PatMulligan e66f997853
Some checks failed
CI / lint (push) Has been cancelled
/ release (push) Has been cancelled
CI / tests (push) Has been cancelled
/ pullrequest (push) Has been cancelled
FIX: Ensure valid json (#39)
* 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
2025-09-15 13:42:33 +03:00
.github/workflows feat: use uv for dev 2025-09-10 10:08:24 +02:00
nostr v1 in the middle (#32) 2024-10-31 13:15:31 +02:00
static/images init 2023-02-10 14:55:30 +01:00
templates/nostrclient Update default relay list (#38) 2025-09-10 11:11:39 +02:00
tests feat: code quality (#31) 2024-08-30 13:07:33 +02:00
.gitignore feat: code quality (#31) 2024-08-30 13:07:33 +02:00
.prettierrc feat: code quality (#31) 2024-08-30 13:07:33 +02:00
__init__.py fixup! 2025-09-10 10:12:57 +02:00
config.json v1 in the middle (#32) 2024-10-31 13:15:31 +02:00
crud.py fixup! 2025-09-10 10:12:57 +02:00
description.md Create description.md 2024-12-11 14:14:24 +00:00
helpers.py feat: send simple DM 2023-05-05 13:00:09 +03:00
LICENSE add license 2023-03-08 17:24:41 +01:00
Makefile feat: use uv for dev 2025-09-10 10:08:24 +02:00
manifest.json test 2023-02-10 15:02:18 +01:00
migrations.py v1 in the middle (#32) 2024-10-31 13:15:31 +02:00
models.py fixup! 2025-09-10 10:12:57 +02:00
package-lock.json feat: code quality (#31) 2024-08-30 13:07:33 +02:00
package.json feat: code quality (#31) 2024-08-30 13:07:33 +02:00
pyproject.toml fixup! 2025-09-10 10:12:57 +02:00
README.md chore: doc formatting 2023-09-15 10:21:38 +03:00
router.py FIX: Ensure valid json (#39) 2025-09-15 13:42:33 +03:00
tasks.py v1 in the middle (#32) 2024-10-31 13:15:31 +02:00
uv.lock fixup! 2025-09-10 10:12:57 +02:00
views.py v1 in the middle (#32) 2024-10-31 13:15:31 +02:00
views_api.py add urlsafe=True parameter (#34) 2025-07-01 12:10:38 +03:00

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.

2023-03-08 18 11 07

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