|OFF0 9e46342250||41 minutes ago|
|src||44 minutes ago|
|tools||2 months ago|
|.gitignore||3 months ago|
|.woodpecker.yml||2 months ago|
|LICENSE||3 months ago|
|README.md||1 month ago|
|esbuildconf.js||3 weeks ago|
|package-lock.json||41 minutes ago|
|package.json||41 minutes ago|
nostr web client
some useful resources:
- JS library used in this project: https://github.com/fiatjaf/nostr-tools
- NIPs: https://github.com/nostr-protocol/nips
- relays registry: https://nostr-registry.netlify.app
- event inspector: https://nostr.guru
- a list of nostr projects and resources: https://nostr.net
nodejs v18.x and npm v8.x are recommended.
npm install, start by running a dev server with:
npm run serve
and point a browser to http://127.0.0.1:8001/
serve command injects a live reload snippet. to build a "production" copy,
npm run build
- make sure
versionfield in package.json as seen by remote git on master branch matches the tag created in the next step.
- tag a commit on master branch with a
git tag v<vesion>.
- push the tag to the remote:
git push --tags.
the CI then receives a git tag event, executes
npm run build, creates
a tar.gz with all the files found in
dist directory and uploads it as a new
release artifact. the release is named after the tag name.
the idea is that nostr web instances are then notified about a new release, download the tar.gz archive and update their local copies. this is not yet implemented. at the moment, the CI symply rsync's dist/ with a remote on https://nostr.ch.