Ephemeral, anonymous chat via QR codes over nostr.
https://chat.ekzyis.com/
|
||
---|---|---|
public | ||
.env.template | ||
.gitignore | ||
LICENSE | ||
README.md | ||
go.mod | ||
go.sum | ||
main.go | ||
nostr.go | ||
qr.png |
README.md
nostr-qrchat
ephemeral, anonymous chat via QR codes over nostr
Use cases:
- put a QR code on your letter box so people at your door can still contact you when you are not at home without any PII
- put QR codes anywhere where people may want to open instant support chat sessions
- put QR code at your website to let people chat with you
- ...
Every QR code is linked to a specific token. This has following advantages:
- You know which QR code was used which tells you the location of people (assuming they didn't save the token but this can be solved using TOTPs)
- You can invalidate existing QR codes to prevent spam
- You can configure prompts per QR code
Setup
- Clone repository:
git clone git@[git.ekzyis.com:55680]:ekzyis/nostr-qrchat
- Build binary:
go build
- Enter your bech32 nostr pubkey (npub) as
NOSTR_PUBKEY
in.env
- Generate random token:
openssl rand -hex 8 >> tokens
- Run
./nostr-qrchat