MAKIBISHI

Add a star to any website.

Usage

Add this script tag in the head tag.

<script src="https://nikolat.github.io/makibishi-svelte/makibishi.js"></script>

Place an HTML element with makibishi as the class attribute value anywhere you like, as shown below.

<span class="makibishi"></span>

Options

<span
  class="makibishi"
  data-relays="wss://relay1.example.com/,wss://relay2.example.com/,wss://relay3.example.com/"
  data-url="https://example.com/"
  data-content="🤙"
  data-allow-anonymous-reaction="true"
  data-allow-to-delete-reaction="true"
></span>
data-relays
Relays to be connected
data-url
URL of the website to react to
data-content
Emoji of reaction
data-allow-anonymous-reaction
Allow reactions with disposable secret keys in environments without the NIP-07 browser extension
data-allow-to-delete-reaction
Allow to delete reactions

License

This is free and unencumbered software released into the public domain. By submitting patches to this project, you agree to dedicate any and all copyright interest in this software to the public domain.

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes