Melvin Carvalho e6a8031e86 0.0.4
2024-04-29 18:48:43 +02:00
2022-02-17 18:17:43 +01:00
2024-04-29 18:48:43 +02:00
2022-02-17 18:17:43 +01:00
2024-04-29 18:48:43 +02:00
2022-02-17 20:00:47 +01:00

Nostrefresh

Simple refresh function for nostr web pages

Getting Started


GitHub license npm npm Github Stars

Features

  ✓  Connect to nostr relay
  ✓  Refresh page on update
  ✓  Relay and refresh time configurable from query string

✍️ Getting Started


Import to web page

import 'https://cdn.skypack.dev/nostrefresh'

How it works

The code will check two parameters in the query string

  • relay
  • t

The relay is a nostr relay, t is the time in seconds, with default - 5


⚖️ License

This project is under the MIT License. See the LICENSE file for the full license text.

Description
No description provided
Readme MIT 76 KiB
Languages
JavaScript 100%