Posts music from local storage with optional attachments https://udongein.xyz/VocaloidMusicBot
Go to file
NaiJi ✨ 5494badd0e Update 'post.sh' 2022-05-13 11:29:11 +00:00
LICENSE Add 'LICENSE' 2022-05-10 21:01:18 +00:00
README.md Update 'README.md' 2022-05-11 17:14:13 +00:00
post.sh Update 'post.sh' 2022-05-13 11:29:11 +00:00

README.md

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!