Commit graph

142 commits

Author SHA1 Message Date
Vlad Stan
801ce44561 chore: clean&bump version
Some checks failed
CI / lint (push) Has been cancelled
CI / tests (push) Has been cancelled
/ release (push) Has been cancelled
/ pullrequest (push) Has been cancelled
2025-12-11 17:41:07 +02:00
Ben Weeks
507003ac20
Add extension metadata and screenshots for LNbits UI (#46)
* Add extension metadata and screenshots for LNbits UI

- Update description.md with comprehensive explanation of relay multiplexer
- Add screenshots array to config.json pointing to 1.jpeg and 2.jpeg
- Change short_description to "Nostr relay multiplexer" for clarity
- Create extensions.json with nostrclient-dev entries for testing
- Add CLAUDE.md for future Claude Code instances

Fixes #41

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Change extension name to 'Nostr Client Dev'

Rename extension from 'Nostr Client' to 'Nostr Client Dev' to distinguish from the official extension.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* FIX: Ensure valid json

Wrap extensions array in object with "featured" and "extensions" keys to match LNbits Manifest format. This fixes the "1 validation error for Manifest" issue.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Update config.json format for LNbits UI display

- Change name to "Nostr Client Dev" to match extensions.json
- Replace "screenshots" with "images" array using proper format
- Add "description_md" URL for full description display

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Crop screenshot 1 to match height of screenshot 2

Crop bottom of 1.jpeg to make both screenshots the same height (1557px) for consistent display in LNbits UI.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Remove headings from description.md

Remove markdown headings for cleaner display in LNbits extension UI.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Change name back to 'Nostr Client' in config.json

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Delete CLAUDE.md

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
2025-12-11 17:38:34 +02:00
Vlad Stan
5a078f2bfc
fix: fetch wallets for admin (#51) 2025-12-11 17:32:22 +02:00
Vlad Stan
d0f1089f08
chore: set version to 1.1.0 (#50) 2025-11-13 13:57:15 +02:00
Ben Weeks
571b034004
Improve README with simplified mermaid diagram and structured sections (#45)
* Improve README with mermaid diagram and structured sections

Replace static architecture diagram with maintainable mermaid flowchart showing the multiplexer architecture. Add structured sections for Overview, Features, Configuration, Testing, and Troubleshooting to better explain the extension's purpose and usage.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Simplify mermaid diagram for better readability

Replace complex nested subgraphs with a simple, clear flowchart that matches the clarity of the original static diagram. Add note about subscription ID rewriting feature.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-04 11:18:12 +01:00
dni ⚡
c871a42a85
refactor: get rid of libsecp (#49)
* refactor: get rid of libsecp

* fixup!
2025-11-04 10:30:00 +01:00
PatMulligan
e66f997853
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
blackcoffeexbt
02af516903
Update default relay list (#38)
nodestr.fmt.wiz.biz and the ZBD relays no longer exist. Added relay.nostrconnect.com as a new relay.
2025-09-10 11:11:39 +02:00
blackcoffeexbt
89f7c99f75
Merge pull request #37 from lnbits/feat/uv 2025-09-10 09:40:42 +01:00
dni ⚡
bd355a8a01
fixup! 2025-09-10 10:12:57 +02:00
dni ⚡
ed67ad3294
feat: use uv for dev 2025-09-10 10:08:24 +02:00
PatMulligan
c42735ca85
add urlsafe=True parameter (#34) 2025-07-01 12:10:38 +03:00
Tiago Vasconcelos
896f818da5
Merge pull request #33 from lnbits/add_description_md
Create description.md
2024-12-12 14:43:37 +00:00
Tiago Vasconcelos
47d52d7ec3
Create description.md 2024-12-11 14:14:24 +00:00
Vlad Stan
f5c048b22d fix: missing status 2024-11-06 11:47:05 +02:00
dni ⚡
db20915756
v1 in the middle (#32) 2024-10-31 13:15:31 +02:00
dni ⚡
a8eb139360
feat: code quality (#31)
* feat: code quality
2024-08-30 13:07:33 +02:00
dni ⚡
d656d41b90
fix: properly start/stop tasks (#28)
* fix: properly start/stop tasks

https://github.com/lnbits/lnbits/issues/2411

* types

* nicer
2024-08-01 15:09:58 +02:00
Arc
942d997c70
Merge pull request #27 from arbadacarbaYK/main
Typo in button-desc
2024-02-17 13:57:20 +00:00
arbadacarba
9ba33d8ab8
Update index.html
Typo in button-desc
2024-02-15 09:46:06 +01:00
Vlad Stan
a119c3836a
Improve stability (#25)
* chore: increase log level

* feat: secure relays endpoint

* feat: add config for the extension

* chore: update `min_lnbits_version`

* chore: improve logging

* fix: decrypt logic

* chore: improve logs
2024-01-22 13:46:22 +02:00
Vlad Stan
16ae9d15a1
Stabilize (#24)
* 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
2023-11-01 17:46:42 +02:00
dni ⚡
ab185bd2c4
add release workflow (#22) 2023-09-26 15:39:33 +02:00
Tiago Vasconcelos
d202fe3055
allow custom path (#20)
* allow custom path

---------

Co-authored-by: dni  <office@dnilabs.com>
2023-09-26 14:41:58 +02:00
Vlad Stan
e841183c10
fix: add extra checks (#21)
* fix: add extra checks

* fix: remove redundant try-catch
2023-09-25 10:13:55 +03:00
Vlad Stan
6f5e9e3458 chore: doc formatting 2023-09-15 10:21:38 +03:00
Vlad Stan
e6624f76bd
Performance improvements (#19)
* fix: increase the wait time for re-connecting to a relay

* fix: blocking sleep

* fix: remove blocking sleep

* fix: allow multiple filters per request
2023-09-12 15:06:28 +03:00
Vlad Stan
9d9fbc0189 chore: code clean-up 2023-07-05 09:09:20 +03:00
Vlad Stan
403c8f1b05 fix: thread not dead 2023-07-05 09:09:10 +03:00
Vlad Stan
3b08714a84 fix: async aaaa 2023-07-04 11:48:50 +03:00
Vlad Stan
8b6c83687f
Merge pull request #18 from lnbits/fix_close_and_resubscribe
Fix close and resubscribe
2023-07-04 09:15:02 +02:00
Vlad Stan
147af04c20 fix: remove unnecessary async 2023-07-04 10:02:47 +03:00
Vlad Stan
80b86bf00c fix: await even if error 2023-06-30 12:05:28 +03:00
Vlad Stan
1601f71b03 feat: show relay NOTICE 2023-06-30 11:46:47 +03:00
Vlad Stan
f244f60c56 fix: make it 2 hours 2023-06-30 10:53:39 +03:00
Vlad Stan
39c2f881c8 feat: revive relay after 24 hours from the last error 2023-06-30 10:52:16 +03:00
Vlad Stan
ada5b2a51d fix: unsubscribe 2023-06-29 15:48:28 +03:00
Vlad Stan
d619b965e7 fix: UI for connected 2023-06-26 12:59:58 +03:00
Vlad Stan
f8d578e6aa feat: improve error handling and reporting 2023-06-26 12:20:06 +03:00
Vlad Stan
dabc26f8a6 fix: unused params 2023-06-26 10:53:48 +03:00
Vlad Stan
ce8b95c2c7 feat: restart disconnected relays 2023-06-26 10:21:06 +03:00
Vlad Stan
c81a804dea feat: confirm before delete 2023-06-23 12:46:45 +03:00
Vlad Stan
cec1ae7e10 chore: code clean-up 2023-06-23 11:39:09 +03:00
Vlad Stan
e04629db22 refactor: rename services to router 2023-06-23 11:18:09 +03:00
Vlad Stan
99022f2b4a refactor: extract nostr to __init__ 2023-06-23 11:15:57 +03:00
Vlad Stan
e35dafe056 refactor: make some fields static 2023-06-23 11:08:52 +03:00
Vlad Stan
cd1e830947 chore: code clean-up 2023-06-23 10:52:49 +03:00
Vlad Stan
babb58e7e9 chore: code clean-up 2023-06-22 17:55:52 +03:00
Vlad Stan
64426d187c feat: add predefined relay list
plus code format
2023-06-22 17:26:47 +03:00
Vlad Stan
defb9b8963 chore: code clean-up 2023-06-22 17:10:34 +03:00