App-bsky
view release on metacpan or search on metacpan
script/bsky view on Meta::CPAN
bsky oauth user.bsky.social
Initiates an interactive OAuth 2.0 flow. This is the recommended way to authenticate.
=head3 Options
--redirect optional, redirect URI for OAuth callback
=head2 show-session
bsky show-session
bsky show-session --json
Show current session.
=head3 Options
--json boolean flag; content is printed as JSON objects if given
=head2 chat
bsky chat
Lists recent conversations and the last few messages in each.
=head2 dm
bsky dm --handle user.bsky.social --text "Hello from the CLI!"
Sends a direct message to a user.
=head3 Options
--handle handle user handle or DID
-H handle alternative to --handle
--text message message content
-m message alternative to --text
=head2 timeline
bsky timeline
bsky timeline --json
# shorthand:
bsky tl
Display posts from timeline.
=head3 Options
--json boolean flag; content is printed as JSON objects if given
=head2 stream
bsky stream
Stream posts from the firehose. Note that this requires L<Mojo::UserAgent> to be installed.
=head2 thread
thread at://did:plc:pwqewimhd3rxc4hg6ztwrcyj/app.bsky.feed.post/3kjyoh75qne2w
Show a thread.
=head3 Options
--json boolean flag; content is printed as JSON objects if given
-n value number of items
=head2 post
post "This is a test"
Create a new post.
=head2 like
bsky like at://did:plc:pwqewimhd3rxc4hg6ztwrcyj/app.bsky.feed.post/3kjyoh75qne2w
Like a post.
=head2 unlike
bsky unlike at://did:plc:pwqewimhd3rxc4hg6ztwrcyj/app.bsky.feed.post/3kjyoh75qne2w
bsky unlike at://did:plc:pwqewimhd3rxc4hg6ztwrcyj/app.bsky.feed.like/3kjyml72tqu2y
Unlike a post. Either the direct feed URI or the like URI printed by C<bsky like ...>.
=head2 likes
bsky likes at://did:plc:pwqewimhd3rxc4hg6ztwrcyj/app.bsky.feed.post/3kjyoh75qne2w
Show likes on a post.
=head3 Options
--json boolean flag; content is printed as JSON objects if given
=head2 repost
bsky repost at://did:plc:pwqewimhd3rxc4hg6ztwrcyj/app.bsky.feed.post/3kjyoh75qne2w
Repost the post.
=head2 reposts
bsky reposts at://did:plc:pwqewimhd3rxc4hg6ztwrcyj/app.bsky.feed.post/3kjyoh75qne2w
Show reposts of the post.
=head3 Options
--json boolean flag; content is printed as JSON objects if given
=head2 follow
bsky follow [handle]
bsky follow sanko.bsky.social
bsky follow did:plc:2lk3pbakx2erxgotvzyeuyem
( run in 2.278 seconds using v1.01-cache-2.11-cpan-437f7b0c052 )