This is a modified code based on bsky cookbook. The bot will post your current music playing and then post it in your bluesky account.
By default, the MPD will use 6600
port but you can change the port number however you like.
- Copy or rename
example.env
to.env
and fill your bluesky username and password. - That's it.
- Run the script locally:
node index.js
. You should see a current music playing posted to your Bluesky account. - Modify the script however you like to make this bot your own!
Typescript version will be implemented soon. I need to find a way to learn typescript and handling the error.