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
bluenostrusing pip or pipx. You'll need to use the~/.littlebitstudios/bluenostr/config.yamlfile to add your key, relays, and a Blossom server to upload media to. Run withbluenostr-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(orsomething.env) with the content of.env.exampleand edit the variables with your key, relays, and a Blossom server. Run with the commanddocker run --env-file (your env file) --rm ghcr.io/littlebitstudios/bluenostr bluenostr-convert (bluesky post url). If you want to use podman, replacedockerwithpodmanin 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aca95cc32f1a37628d3c52baa0cf6cd8224f552d194883939b9ae0405c21868d
|
|
| MD5 |
77207df629bcdb4ef6b6a3b118407cf5
|
|
| BLAKE2b-256 |
1ba1bf8c1e2f2e11756afe5d5efc0c43c8026fba0934595274964cbceb8ec0f7
|
Provenance
The following attestation bundles were made for bluenostr-1.2.0.tar.gz:
Publisher:
python-publish.yml on littlebitstudios/bluenostr
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bluenostr-1.2.0.tar.gz -
Subject digest:
aca95cc32f1a37628d3c52baa0cf6cd8224f552d194883939b9ae0405c21868d - Sigstore transparency entry: 1420029384
- Sigstore integration time:
-
Permalink:
littlebitstudios/bluenostr@fdbad7405b04e0a96fcb29ed2f19210dd4a602c6 -
Branch / Tag:
refs/tags/v1.2.0 - Owner: https://github.com/littlebitstudios
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@fdbad7405b04e0a96fcb29ed2f19210dd4a602c6 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e9dd5771e9dc37311a50f11dcfd7316d099952b244c332107791a802549f5b8
|
|
| MD5 |
677eac36da4911d7594f427b7e0183c6
|
|
| BLAKE2b-256 |
bfde550c9e18dff0ff617180be164d258780095a2a6a50a47cdcc79ffcf3eed8
|
Provenance
The following attestation bundles were made for bluenostr-1.2.0-py3-none-any.whl:
Publisher:
python-publish.yml on littlebitstudios/bluenostr
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bluenostr-1.2.0-py3-none-any.whl -
Subject digest:
3e9dd5771e9dc37311a50f11dcfd7316d099952b244c332107791a802549f5b8 - Sigstore transparency entry: 1420029457
- Sigstore integration time:
-
Permalink:
littlebitstudios/bluenostr@fdbad7405b04e0a96fcb29ed2f19210dd4a602c6 -
Branch / Tag:
refs/tags/v1.2.0 - Owner: https://github.com/littlebitstudios
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@fdbad7405b04e0a96fcb29ed2f19210dd4a602c6 -
Trigger Event:
release
-
Statement type: