Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

blue-comments

Package Overview
Dependencies
Maintainers
0
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blue-comments - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

2

package.json
{
"name": "blue-comments",
"author": "aendra",
"version": "1.0.6",
"version": "1.0.7",
"scripts": {

@@ -6,0 +6,0 @@ "dev": "vite dev",

@@ -1,9 +0,22 @@

# BlueComments
### Bluesky-based commenting system
## Bluesky commenting system
Heavily inspired by https://graysky.app/blog/2024-02-05-adding-blog-comments
To use —
## Quickstart
You effectively need to set two variables, the DID and the RKEY. Drop the following into your page:
```
const DID = 'did:plc:...'; // YOUR BSKY DID; see: internect.info
const RKEY = '...'; // RKEY OF THE POST (the string after `/post/` in the URL) HERE
import('https://esm.sh/blue-comments@^1');
var el = document.createElement('blue-comments');
el.setAttribute('uri', `at://${DID}/app.bsky.feed.post/${RKEY}`);
document.body.appendChild(el);
```
If using Ghost, in the post editing sidebar, use the "code injection" option to add the above
to your footer.
#### In your `<head>` section:

@@ -10,0 +23,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc