a nostr web interface in vanilla JS https://nostr.ch/
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
OFF0 c896789ccd
settings: prevent accidental form data submitting in html mode
If JavaScript is disabled the form in the settings should not leak
private or pubkey data.
2 years ago
src settings: prevent accidental form data submitting in html mode 2 years ago
tools initial 2 years ago
.gitignore initial 2 years ago
.woodpecker.yml ci: set up a continuous build of the app 2 years ago
LICENSE initial 2 years ago
README.md initial 2 years ago
esbuildconf.js initial 2 years ago
package-lock.json initial 2 years ago
package.json initial 2 years ago

README.md

nostr web sandbox

a playground for a web interface to nostr. some useful resources:

dev

nodejs v18.x and npm v8.x are recommended.

after npm install, start by running a dev server with:

npm run serve

and point a browser to http://127.0.0.1:8001/

the serve command injects a live reload snippet. to build a "production" copy, execute

npm run build

the build is done using esbuild, with a config in esbuildconf.js. the result is placed in dist directory.