{"id":13832574,"url":"https://github.com/carlitoplatanito/disgus","last_synced_at":"2025-08-21T07:33:46.735Z","repository":{"id":65231647,"uuid":"585619089","full_name":"carlitoplatanito/disgus","owner":"carlitoplatanito","description":"Embeddable comments for your website, backed by Nostr. Like Disqus but Nostr.","archived":false,"fork":false,"pushed_at":"2023-10-18T15:54:42.000Z","size":206,"stargazers_count":50,"open_issues_count":6,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-06T14:03:53.501Z","etag":null,"topics":["comment-system","comments","jamstack","javascript","no-backend","nostr","nostr-pro"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/carlitoplatanito.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-01-05T16:25:29.000Z","updated_at":"2025-03-01T00:52:49.000Z","dependencies_parsed_at":"2024-01-06T21:46:39.130Z","dependency_job_id":"4ccae338-3b63-47af-8e6d-d07837334823","html_url":"https://github.com/carlitoplatanito/disgus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlitoplatanito%2Fdisgus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlitoplatanito%2Fdisgus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlitoplatanito%2Fdisgus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlitoplatanito%2Fdisgus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carlitoplatanito","download_url":"https://codeload.github.com/carlitoplatanito/disgus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248225870,"owners_count":21068078,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["comment-system","comments","jamstack","javascript","no-backend","nostr","nostr-pro"],"created_at":"2024-08-04T11:00:22.914Z","updated_at":"2025-04-10T13:34:18.140Z","avatar_url":"https://github.com/carlitoplatanito.png","language":"JavaScript","funding_links":[],"categories":["Commenting Engines","Install from Source","Clients"],"sub_categories":["Book and web annotations/highlights management","Nostr","Other"],"readme":"# 🤮 Disgus\n\nA commenting system for your blog or website based on [Nostr](https://github.com/nostr-protocol/nostr) open protocol. It's like Disqus but Nostier...\n\nDemo available at https://carlitoplatanito.com/demo\n\n## Requirements\n\nMust have a Nostr `pubkey` and `relay`.\n\nNIP07 compatible browser plug-in for login.\n\n## Usage\n\nThe script will grab the title \u0026 URL from the meta of the page.\n\nDefine the authors `pubkey` using the `nostr:pubkey` property and relays as `nostr:relay`.\n\n\n```html\n\u003ctitle\u003eYOUR SITE TITLE\u003c/title\u003e\n\n\u003c!-- IF NO CANONICAL IS PROVIDED IT WILL USE THE WEBSITE URL --\u003e\n\u003clink rel=\"canonical\" href=\"https://your-website.com/blog-post\" /\u003e\n\n\u003c!-- PROVIDE the pubkey so it can be tagged for responses/alerts --\u003e\n\u003cmeta property=\"nostr:pubkey\" content=\"YOUR_NOSTR_PUB_KEY\" /\u003e\n\n\u003c!-- CAN provide multiple relays --\u003e\n\u003cmeta property=\"nostr:relay\" content=\"OPTIONAL_NOSTR_RELAY\" /\u003e\n\u003cmeta property=\"nostr:relay\" content=\"OPTIONAL_NOSTR_RELAY\" /\u003e\n\u003c!-- CAN provide the exact event_id for the root event to avoid ambuigity --\u003e\n\u003cmeta property=\"nostr:event_id\" content=\"OPTIONAL_IF_NONE_IT_WILL_CREATE_OR_FIND_IT\" /\u003e\n\n\u003c!-- MUST PROVIDE CSS --\u003e\n\u003clink rel=\"stylesheet\" href=\"https://unpkg.com/disgus/dist/style.css\"\u003e\n```\n\nAdd the following where you would like the comments to load up in the body of your page.\n\n```html\n\u003c!-- div with the ID disgus where you would like to display the comments \u0026 form --\u003e\n\u003cdiv id=\"disgus\"\u003e\u003c/div\u003e\n\n\u003c!-- this can go at the end of the body --\u003e\n\u003cscript type=\"module\" src=\"https://unpkg.com/disgus/dist/index.js\" async\u003e\u003c/script\u003e\n```\n\n## How it works\n\nEvery page/author gets a Nostr note/event created by a random user when posting the first response.\n\nThis event becomes the 'root' note for all the other responses in the thread.\n\nOffers NIP-07 for login or just type a name to post as a **Rando** (non-NIP05 veriefied temp guest like account).\n\n\u003e 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.\n\n## Work In Progress\n\nLot's of ideas and features coming to this but feel free to open a ticket, pull request or hit me on Nostr (_@carlitoplatanito.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlitoplatanito%2Fdisgus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarlitoplatanito%2Fdisgus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlitoplatanito%2Fdisgus/lists"}