Users are friends so I'll tell them things

This commit is contained in:
Elizabeth Cray 2025-01-31 23:38:20 -05:00
parent 5487f633a4
commit adb08cbdf3
2 changed files with 16 additions and 3 deletions

View File

@ -1 +1,14 @@
# M2B - Mastodon ➡️ Bluesky crossposter
FYI: This is a work-in-progress and I intend to clean up the code and make this *MUCH* more user-friendly.
## Why did I make this?
I was having a hard time finding a mastodon --> bluesky crossposting tool that supported replies and boosts on top of normal posts. This ended up wasting enough time to where I figured I'd just make my own.
## How to use
Don't forget to install dependencies with `npm i` and adjust the config by copying `example.env` into `.env`.
Get the mastodon credentials from going to user preferences > development > and creating a new application.
For bluesky credentials you have to make a new app password under settings > privacy and security > app passwords.
This should ideally be run from a cron job (specifically `run.sh`), but can be run with just `node index.js`.

View File

@ -1,6 +1,6 @@
MASTODON_TOKEN: ""
MASTODON_INSTANCE: "https://mastodon.social"
MASTODON_USER: ""
MASTODON_USER: "alice"
BSKY_INSTANCE: "https://bsky.social"
BSKY_USER: "username.bsky.social"
BSKY_USER: "alice.bsky.social"
BSKY_APP_PASS: ""