Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carlitoplatanito/disgus
Embeddable comments for your website, backed by Nostr. Like Disqus but Nostr.
https://github.com/carlitoplatanito/disgus
comment-system comments jamstack javascript no-backend nostr nostr-pro
Last synced: 2 months ago
JSON representation
Embeddable comments for your website, backed by Nostr. Like Disqus but Nostr.
- Host: GitHub
- URL: https://github.com/carlitoplatanito/disgus
- Owner: carlitoplatanito
- License: unlicense
- Created: 2023-01-05T16:25:29.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-18T15:54:42.000Z (about 1 year ago)
- Last Synced: 2024-09-30T10:41:44.586Z (2 months ago)
- Topics: comment-system, comments, jamstack, javascript, no-backend, nostr, nostr-pro
- Language: JavaScript
- Homepage:
- Size: 201 KB
- Stars: 46
- Watchers: 3
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-nostr - Disgus - A comment widget like Disqus, but for Nostr. (Clients / Relay lists)
README
# 🤮 Disgus
A commenting system for your blog or website based on [Nostr](https://github.com/nostr-protocol/nostr) open protocol. It's like Disqus but Nostier...
Demo available at https://carlitoplatanito.com/demo
## Requirements
Must have a Nostr `pubkey` and `relay`.
NIP07 compatible browser plug-in for login.
## Usage
The script will grab the title & URL from the meta of the page.
Define the authors `pubkey` using the `nostr:pubkey` property and relays as `nostr:relay`.
```html
YOUR SITE TITLE```
Add the following where you would like the comments to load up in the body of your page.
```html
```
## How it works
Every page/author gets a Nostr note/event created by a random user when posting the first response.
This event becomes the 'root' note for all the other responses in the thread.
Offers NIP-07 for login or just type a name to post as a **Rando** (non-NIP05 veriefied temp guest like account).
> If you have the same relays set on Damus or whatever other Nostr client you will be able to see replies, etc. The 'author' user will get alerts as they are tagged in the root post as well.
## Work In Progress
Lot's of ideas and features coming to this but feel free to open a ticket, pull request or hit me on Nostr ([email protected])