{"repo":"Lokuyow/nostr-zap-view","free":true,"listed":false,"github":"https://github.com/Lokuyow/nostr-zap-view","clone":"git clone https://github.com/Lokuyow/nostr-zap-view.git","description":"View any Nostr Zaps from anywhere, supporting npub, nprofile, note, nevent, and naddr identifiers.","language":"JavaScript","stars":12,"topics":["bitcoin","javascript","lightning-network","nostr","web-components"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"nostr-zap-view View any Nostr Zaps from anywhere, supporting npub, nprofile, note, nevent, and naddr identifiers. Example page: https://lokuyow.github.io/nostr-zap-view/ Usage To configure a button for displaying zap information, use the following attributes: - data-title : (Optional) Custom title for the zap dialog. If left empty, the identifier will be used as the title. - data-nzv-id : The Nostr identifier (npub, nprofile, note, nevent or naddr) for which zap information will be displayed. - data-zap-color-mode : (Optional) Enable or disable color mode for zap amounts. Set to \"true\" to enable and \"false\" to disable. - data-relay-urls : Comma-separated list of relay URLs to fetch zap information from. Add this script tag right before the bottom closing body tag. Usage in Svelte First, install from npm: Then use in your Svelte component If the button is displayed by default: When buttons appear or disappear in dialogs: Related repository - nostr-zap - Zap any Nostr npub or note from anywhere.","default_branch":null,"files":null,"tree":[],"storefront":"/r/Lokuyow","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Lokuyow/nostr-zap-view/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}