Skip to main content

Repeat posts you make on Bluesky to Nostr

Project description

BlueNostr

A Bluesky to Nostr bridge in Python.

Posts AND images work now; the images get rebroadcasted to a Blossom server :D

Usage

For local usage, create a file on your machine at `[HOME FOLDER]/.littlebitstudios/bluenostr/config.yaml. Use example-config.yaml as a reference. Then install "bluenostr" using pip or pipx and run it. You might want to set it up as an autorunning background process on your PC or server so it's always running to rebroadcast your Bluesky posts.

A Docker image is also available, with an example Compose file at example-compose.yml. No separate config is needed; the configuration is done with environment variables in the Compose file.

BlueNostr Convert

A second command-line tool is available within the bluenostr pip package and Docker image called bluenostr-convert.

It takes a Bluesky post URL (bsky.app/profile/[actor]/post/[rkey]) as an argument, and runs the same conversion steps as the main BlueNostr real-time crosspost tool. It also uses the same configuration options.

You can run this by:

  • Installing bluenostr using pip or pipx. You'll need to use the ~/.littlebitstudios/bluenostr/config.yaml file to add your key, relays, and a Blossom server to upload media to. Run with bluenostr-convert (bluesky post url)
  • Using docker/podman and the bluenostr container image (ghcr.io/littlebitstudios/bluenostr). You'll need to make a file called .env (or something.env) with the content of .env.example and edit the variables with your key, relays, and a Blossom server. Run with the command docker run --env-file (your env file) --rm ghcr.io/littlebitstudios/bluenostr bluenostr-convert (bluesky post url). If you want to use podman, replace docker with podman in that command.

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

bluenostr-1.2.0.tar.gz (20.9 kB view details)

Uploaded Source

Built Distribution

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

bluenostr-1.2.0-py3-none-any.whl (23.2 kB view details)

Uploaded Python 3

File details

Details for the file bluenostr-1.2.0.tar.gz.

File metadata

  • Download URL: bluenostr-1.2.0.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bluenostr-1.2.0.tar.gz
Algorithm Hash digest
SHA256 aca95cc32f1a37628d3c52baa0cf6cd8224f552d194883939b9ae0405c21868d
MD5 77207df629bcdb4ef6b6a3b118407cf5
BLAKE2b-256 1ba1bf8c1e2f2e11756afe5d5efc0c43c8026fba0934595274964cbceb8ec0f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for bluenostr-1.2.0.tar.gz:

Publisher: python-publish.yml on littlebitstudios/bluenostr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bluenostr-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: bluenostr-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 23.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bluenostr-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3e9dd5771e9dc37311a50f11dcfd7316d099952b244c332107791a802549f5b8
MD5 677eac36da4911d7594f427b7e0183c6
BLAKE2b-256 bfde550c9e18dff0ff617180be164d258780095a2a6a50a47cdcc79ffcf3eed8

See more details on using hashes here.

Provenance

The following attestation bundles were made for bluenostr-1.2.0-py3-none-any.whl:

Publisher: python-publish.yml on littlebitstudios/bluenostr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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