a nostr web interface sandbox
 
 
 
Go to file
OFF0 2d8e60a6df
feed: support reply and render incoming replies
Keeping current reply info so it can be accessed later to
publish the reply.

Before only known replies were rendered, now incoming replies
get added to the existing text note  instantly. This needs to
create a reply container if this is the first reply of this event.

Added time ago formatting and a helper function that switches
between relative time (if event < 24h) or absolute formatted time
(if older than 1 day).
2022-11-22 23:23:28 +01:00
src feed: support reply and render incoming replies 2022-11-22 23:23:28 +01:00
tools initial 2022-11-06 02:35:27 +01:00
.gitignore initial 2022-11-06 02:35:27 +01:00
.woodpecker.yml ci: set up a continuous build of the app 2022-11-06 20:00:00 +01:00
LICENSE initial 2022-11-06 02:35:27 +01:00
README.md initial 2022-11-06 02:35:27 +01:00
esbuildconf.js initial 2022-11-06 02:35:27 +01:00
package-lock.json initial 2022-11-06 02:35:27 +01:00
package.json initial 2022-11-06 02:35:27 +01:00

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.