@pberganza/fedi-comments
v0.1.4
Published
A web component that displays comments based on replies on the fediverse.
Downloads
16
Readme
fedi-comments
A web component that displays comments based on replies on the fediverse.
Installation
npm add @pberganza/fedi-comments
# OR
pnpm add @pberganza/fedi-comments
Usage
This component is naive. It will just display the replies to a status with a specific ID.
It is intended to be used by first sharing a link of your post to your Fediverse account, grabbing the ID from it and using it in this component to display replies to that status as replies to your article.
<script type="module">
import '@pberganza/fedi-comments'
</script>
<fedi-comments id="1234567890" instance="mastodon.social"></fedi-comments>