@hamstack/bluesky-comments
v0.1.1
Published
A minimal suite of components to render Bluesky comments.
Readme
@hamstack/bluesky-comments
A minimal suite of components to render Bluesky comments on any URL!
A partial fork of bluesky-comments!
Getting Started:
bun add @hamstack/bluesky-commentsUsage:
import {CommentSection} from '@hamstack/bluesky-comments';
<CommentSection uri="<bluesky-uri>" />
// or
// to automatically find the most liked post by an author with the current URL referenced:
<CommentSection author="<handle>" />Contributing:
Building:
This library uses swc and TypeScript to build the source code and generate types.
To build the library, run bun run build from the root, or from this workspace!
Code Quality:
Type Checking:
This library uses TypeScript to perform type checks, run bun run type-check from the root or from this workspace!
Linting
This library uses BiomeJS for linting, run bun run lint from the root or from this workspace!
Tests
This library uses Bun for running unit tests, run bun run test from the root or from this workspace!
Publishing:
To publish the library, run bun run pub from the workspace root. This will prompt you to login to npm and publish the package.
Note: In the future, we will automate this process using GitHub Actions. And also add in tooling to manage releases / changelogs!
