Skip to main content

BlueNostr

A Bluesky to Nostr bridge in Python.

Posts, images, and videos are supported. Images and videos are re-hosted to a Blossom server; Bluesky playback links are used as a fallback if video re-hosting fails.

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.

By default a reply will be added to the thread of the Nostr post that links back to Bluesky; if you don't want this set no-ref to true in the YAML or BLUESKY_NO_REF=true in environment variables.

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 containing /profile/[actor]/post/[rkey] as an argument. Links from bsky.app and other domains are supported as long as they contain the actor handle or DID and record key in that path. The converter runs the same conversion steps as the main BlueNostr real-time crosspost tool and 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.

Metadata

Release files for bluenostr 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bluenostr 1.3.0
File Size Uploaded Provenance Actions
bluenostr-1.3.0.tar.gz 21.0 kB With provenance Details for bluenostr-1.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bluenostr 1.3.0
File Interpreter ABI Platform Actions
bluenostr-1.3.0-py3-none-any.whl Python 3 none any Details for bluenostr-1.3.0-py3-none-any.whl

Total release size: 43.6 kB

Release files / bluenostr-1.3.0.tar.gz

Download URL bluenostr-1.3.0.tar.gz
Size 21.0 kB
Tags Source
SHA-256 checksum
How to use checksums
418b3c8802eb023a30a1e2949fa0edd9d7cccfb44faaebe5c2b3bc8a9328aeaa
BLAKE2b-256 checksum
How to use checksums
363cad7b752ff74d76f80f72a0729ac430cf77451325467624beaf0ed6cf6bae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Release files / bluenostr-1.3.0-py3-none-any.whl

Download URL bluenostr-1.3.0-py3-none-any.whl
Size 22.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
92c76c12bf2fb7913166928a4e18424c03d4e922c3b2ae3c81de827a9737c6fd
BLAKE2b-256 checksum
How to use checksums
d282a9c19997b1cc0c00de111ace69c7b2fd4ecf5533847e7cb13c3aa0e5491d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Security for bluenostr 1.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bluenostr-1.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page