music-bot/README.md

862 B

music-bot

Another bot for posting stuff to your timeline.

Currently posting on: https://udongein.xyz/VocaloidMusicBot

Initial setup

  • Have installed
    • curl
    • jq
    • exiftool
  • Create ./music/ folder
  • In ./music/ folder create separate folders for each release (albums/singles/etc.)
  • In each ./music/*/
    • put music files
    • put a corresponding cover image named 'cover.jpg' to attach together with a music file
    • put a simple file named 'link' and copypaste there a url to corresponding information about the release
  • Edit post.sh
    • change instance url from udongein.xyz to whatever you have
    • optionally edit status message in the last POST curl
  • Be careful, because by default it is assumed all music has .opus extension. If it is not your case please handle the situation however you need.
  • Now put it to crontab!