1
0
Fork
You've already forked shmixtape
0
I ported the HTML/JS logic from thebaer's cdr project into a much simpler bash "template" system.
  • HTML 92.5%
  • Shell 7.5%
2025年10月06日 08:18:58 -07:00
themes Add currently playing indicator 2025年10月06日 08:18:58 -07:00
playlist.sh Use themes instead, add instructions, add custom theme 2025年10月05日 12:46:44 -07:00
README.md Add currently playing indicator 2025年10月06日 08:18:58 -07:00

ShMixtape

If you want to share a mix of cool tunes your friends like, you can pile all your MP3's in a folder, run this shell script, make the output into a git repo and shove it up to share it. 👌 👌 👌

  • It autoplays the next track when one ends
  • It continues to play when display is off or browser is not current app on iOS
  • It works on things like Github Pages, Codeberg Pages, etc.

Check out this example here.

Make a mixtape

  1. Make a folder full of mp3 files. The files will be sorted alphabetically, so make them zeropadded numbers to be simple (e.g. 00 - My leg - Booboo and 01 - Scrumm - What?).
  2. Run playlist.sh with the specified arguments (run ./playlist.sh --help for more information).
  3. Check your target folder for an index.html file.

Themes

You can customize your playlist using a premade theme that is present in the themes folder. You can open them for a preview before running the script.

You can also make and add your own themes by copying the default theme, saving it as a new file, and using that when invoking the playlist file. You can customize anything within the theme files as long as the template strings remain (i.e. anything that is surrounded by two percent signs, like %%TITLE).

Todos

  • Make JS logic separate so it doesn't have to be redefined in every theme.