bluesky_cli 0.0.4 copy "bluesky_cli: ^0.0.4" to clipboard
bluesky_cli: ^0.0.4 copied to clipboard

A powerful CLI tool that allows Bluesky Social's APIs to be executed from the command line powered by Dart language.

example/README.md

Getting Started ⚡ #

Install #

dart pub global activate bluesky_cli

Usage #

A useful and powerful CLI tool to use Bluesky Social's APIs.

Usage: bsky <command> [arguments]

Global options:
-h, --help        Print this usage information.
    --handle      Bluesky handle for authentication.
                  (defaults to environment variable "BLUESKY_HANDLE")
    --password    Bluesky password for authentication.
                  (defaults to environment variable "BLUESKY_PASSWORD")
    --service     Name of the service sending the request. Defaults to "bsky.social".
    --pretty      Enable to output JSON in pretty format.
    --status      Enable to output status code and reason phrase.
    --request     Enable to output request method and URI.
    --verbose     Enable verbose logging.

Available commands:
  actor-suggestions    Show the actor suggestions.
  actor-typeahead      Show the typeahead for actors.
  delete               Delete a specific content from repository.
  feed                 Show the feed of specific actor.
  follow               Follow an user.
  followers            Show the followers.
  follows              Show the following users.
  like                 Like a specific post.
  likes                Show the likes of specific post.
  mute                 Mute an user.
  mutes                Show the muted users.
  notification-count   Show the count of notification of authenticated user.
  notifications        Show the notifications of authenticated user.
  popular              Show the popular content.
  post                 Post to Bluesky Social.
  profile              Show the profile of specific user.
  profiles             Show the profiles of specific users.
  repost               Repost a specific post.
  reposted-by          Show the actors reposted specific post.
  search-actors        Search the actors based on term.
  seen-notifications   Update all notifications to read.
  thread               Show the thread of specific post.
  timeline             Show the timeline of authenticated user.
  unmute               Unmute an user.

Run "bsky help <command>" for more information about a command.

Authentication #

The following methods are available to authenticate with Bluesky Social via this CLI tool.

Global Options #

Authentication data can be specified for handle and password in Global Options.

bsky timeline --handle=shinyakato.dev --password=xxxxxxxxx

Environment Variables #

By setting the authentication data in the environment variable, the specification of authentication data in Global Options can be omitted.

Environment Variable Equivalent Option
BLUESKY_HANDLE handle
BLUESKY_PASSWORD password

Then you can call like:

bsky timeline
4
likes
0
pub points
0%
popularity

Publisher

verified publisheratprotodart.com

A powerful CLI tool that allows Bluesky Social's APIs to be executed from the command line powered by Dart language.

Repository (GitHub)
View/report issues

Funding

Consider supporting this project:

github.com

License

unknown (license)

Dependencies

ansi_styles, args, at_uri, cli_launcher, cli_util, xrpc

More

Packages that depend on bluesky_cli