No description
Find a file
2023-03-16 16:58:16 +01:00
src buffer subsequent requests to avoid hammering relays 2023-03-16 16:58:16 +01:00
.gitignore initial 2023-02-10 19:23:51 +07:00
.npmrc initial 2023-02-10 19:23:51 +07:00
demo.html buffer subsequent requests to avoid hammering relays 2023-03-16 16:58:16 +01:00
jsconfig.json initial 2023-02-10 19:23:51 +07:00
LICENSE license bs 2023-02-10 19:28:31 +07:00
package-lock.json fix instructions 2023-03-10 15:52:14 +00:00
package.json improve mobile UI 2023-03-16 16:45:27 +01:00
postcss.config.cjs initial 2023-02-10 19:23:51 +07:00
README.md Update readme 2023-02-10 19:33:07 +07:00
rollup.config.js initial 2023-02-10 19:23:51 +07:00
svelte.config.js initial 2023-02-10 19:23:51 +07:00
tailwind.config.cjs initial 2023-02-10 19:23:51 +07:00
vite.config.js initial 2023-02-10 19:23:51 +07:00

What is NostriChat?

Nostri.chat is a chat widget you can easily embed in websites.

It uses Nostr as the underlying protocol, which permits a few pretty cool features.

Operation Modes

Classic chat: 1-to-1 encrypted chats

This mode implements the typical chat widget flow present in most websites. The visitor writes in the website and someone associated with the website responds.

No one else sees this communication

Global chat: Topic/Website-based communication

In this mode, the user engages in a conversation around a topic and everybody connected to the same relays can see the communication happening and interact with it.

The communication can be scoped to one or multiple topics. (e.g. #fasting, #bitcoin, or your specific website).

When a visitor interacts with this mode, the chat widget is populated with the prior conversations that have already occurred around this topic.

Imagine visiting a website about #fasting, and you can immediately interact with anyone interested in that topic; you can ask questions and receive immediate responses from others

Features

  • NostrConnect key delegation
  • Ephemeral keys
  • Encrypted DMs mode
  • Tag-scoped chats mode
  • In-thread replies
  • Root-replies mode: similar to global (publicly available) but visitor doesn't see any past history and only sees in-thread replies to the OP