Skip to main content

Basic Bluesky CLI Tool

Project description

🦋 bfly

The bfly tool is a simplistic command line tool for posting short messages or links to BlueSky social network.

Purpose

The main purpose of this tool, and the reason it was built was the need to have a quick and easy tool for posting BlueSky announcements as part of a build and release script.

Usage

Usage:
        bfly <subcommand> [argumens]

Subcommands:
        post <text>             Post to Bsky. Enclose <text> in quotes.
        annouce <text> <url>    Post a link. Put <text> in quotes.

Options:
        -h, --help      Show this help message
        -v, --version   Show version information

Options must be used as the first argument.

Configuration

To use bfly, you need to set two environment variables:

  • BFLY_HANDLE - your BlueSky username (e.g. user.bsky.social)
  • BFLY_APP_PASSWORD - an app password generated via your BlueSky account settings

Installation

You can install bfly via uv:

uv tool install bfly

You can also run bfly directly without installation:

uv tool run bfly <subcommand> [arguments]

On Windows, this tool is distributed via scoop (see scoop.sh).

First, you need to add my bucket:

scoop bucket add maciak https://github.com/maciakl/bucket
scoop update

Next simply run:

scoop install bmpv

If you don't want to use scoop you can simply download the executable from the release page and extract it somewhere in your path.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bfly-0.1.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bfly-0.1.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file bfly-0.1.0.tar.gz.

File metadata

  • Download URL: bfly-0.1.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.3

File hashes

Hashes for bfly-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6e8757de670f1baf38fa2316dbf92522324c912e88f927623a6928e081ecd8c7
MD5 e68d5a61c5254da975e25df38ec9496a
BLAKE2b-256 f039baa0304be699e75b15f9b619fa393110fbf17f7b5fb300ae1a9f9a4f10f4

See more details on using hashes here.

File details

Details for the file bfly-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: bfly-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.3

File hashes

Hashes for bfly-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a9431abd9ac008f5b95d7e9c95805ad403ec0860ea0e199a0840bca0948115b
MD5 add667e6abe923b8069239eeeb4d2d5e
BLAKE2b-256 b4b4b4b6b9bdabf68021b6076f79472842c463985e6ba2870afd01d30f6e7030

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page