Nostri.chat

A chat widget for your site, powered by nostr

Simple, interoperable communication with your visitors, in a way that gives you and them complete ownership over the data.

Innovative modes

Because we use Nostr for communicating, Nostri.chat can use some new, creative approaches to using chat widget, depending on what you want to achieve.

Classic mode encrypted 1-on-1 chats

Lorem ipsum dolor sit, amet consectetur adipisicing elit. Sapiente quae eveniet placeat, obcaecati nesciunt nam iure. Culpa omnis hic eaque illum alias iure autem atque? Distinctio facilis recusandae omnis expedita.

🔖 Tagged Global Chat public discussion/support

Imagine having a global chat on your website about a certain topic. Anyone can participate, from your website or from any Nostr client.

🔖 Topic-based chats

🌎 Website-based chats

Easy-peasy setup

Just drop this snippet on your website and you're good to go.

<script
	src="https://nostri.chat/public/bundle.js"
	// YOUR PUBKEY IN HEX FORMAT
	data-website-owner-pubkey="YOUR_PUBKEY"
	// THE TYPE OF CHAT YOU WANT: GLOBAL or DMs
	data-chat-type="GLOBAL" 
	// If you use GLOBAL you can choose set a comma-separated list of hashtags
	data-chat-tags="nostrica,bitcoin"
	// Relays you'd like to use, change this this as you wish
	data-relays="wss://relay.f7z.io,wss://nos.lol,wss://relay.nostr.info,wss://nostr-pub.wellorder.net,wss://relay.current.fyi,wss://relay.nostr.band"
></script>
<link rel="stylesheet" href="https://nostri.chat/public/bundle.css">