Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fernandospr/js-web-nostr-client
JavaScript Web Nostr Client
https://github.com/fernandospr/js-web-nostr-client
Last synced: 5 days 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 (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-14T20:12:18.000Z (about 2 years ago)
- Last Synced: 2024-11-08T10:50:42.532Z (about 2 months ago)
- Language: HTML
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 4
- 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.