my php website :D https://j0.lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1<p>I added comments to my site!</p>
2
3<p>It works by linking to a bluesky post, and mirroring the comments to my website. It's pretty cool :)</p>
4
5<p>Here's the basics of how to use it:</p>
6<pre><code class="language-html"><!-- You should download and mirror the script if possible! -->
7<!-- https://github.com/LoueeD/bsky/blob/main/comments.js -->
8<script type="module" src="https://esm.sh/gh/loueed/bsky@v1.0.0/comments"></script>
9
10<!-- You can plug your post URL into https://pdsls.dev to get the URI here. -->
11<bsky-comments post="at://did:plc:by6abidhbnj6siox5if2wzq6/app.bsky.feed.post/3llckts3ryc2w"></bsky-comments></code></pre>
12
13<p>Yeah, that's basically it. I didn't make it or anything. Just want to show it off.</p>
14
15<p>The only issue is... how am I going to post this and get the ATproto uri before I publish it?</p>