https://github.com/fernandospr/js-web-nostr-client
JavaScript Web Nostr Client
https://github.com/fernandospr/js-web-nostr-client
Last synced: 3 months ago
JSON representation
JavaScript Web Nostr Client
- Host: GitHub
- URL: https://github.com/fernandospr/js-web-nostr-client
- Owner: fernandospr
- Created: 2022-10-12T02:14:46.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-14T20:12:18.000Z (over 3 years ago)
- Last Synced: 2025-06-17T10:05:13.928Z (12 months ago)
- Language: HTML
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# js-web-nostr-client
JavaScript Web Nostr Client is a web (JavaScript) client that allows to send public or private messages using the [Nostr open protocol](https://github.com/nostr-protocol/nostr).
## How to run
* Download or clone this repository.
* Open index.html.
## Generating your identity
* Click the Generate button to generate random public/private keys.
* Save these keys, they represent your identity.
## Connecting to a relay
* Input a relay url.
* Click the Connect button.
## Sending public messages
* Leave the destination input empty.
* Input a message.
* Click the Send button.
## Sending private (encrypted direct) messages
* Enter a public destination key.
* Input a message.
* Click the Send button.
## Troubleshooting
Open the JavaScript Console. You'll find logs, such as connecting to a relay, receiving events and links to the [Nostr Gateway](https://nostr.com/) when sending messages.