refactor: Class-based architecture with Multi-Relay support #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "noopsec/nostr-cli:improve/class-based-refactor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Improvements
1. Class-Based Architecture (
NostrCLI)NostrCLIclass instead of global functions2. Dataclass
NostrMessage@dataclass3. Multi-Relay (Parallel)
asyncio.gather()4. Per-Relay Error Handling
5. Full Type Hints
6. New
receiveCommandnostr receive --since 3600listen(continuous mode)Preserved Features
Stats
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.