Listen to your favorite music stored in a public or private GitHub Repository with this simple web app.
Visit https://github-music.vercel.app, go through the most amazing landing page you will ever see, log in with your GitHub account, pick the repo where you have your audio files and you are good to go!
-
Audios:
- wav
- mp3
- mp4
- adts
- ogg
- webm
- flac
- Symbolic links to supported audio files
-
Images:
- jpg
- jpeg
- png
- gif
- webp
The app will look for images within the folder contents. Songs will pick the images at same level, while symlinks will search in their origins.
Symlinks have an interesting behavior. All valid symlinks will work as expected. However, due to GitHub's API interpretation of "valid symlink to file", performance will be heavily affected. Hence the support for invalid symlinks.
- Valid symlinks are those that point to a file that exists in the repository and have a relative path to it.
- Invalid symlinks are those that point to a file that does exist in the repository, but have an absolute path to it (aka, starts with "/"), where root is the root of the repository.
Although invalid symlinks won't work in a local environment, they will work in GitHub Music.
It's up to you to decide if you want compatibility or performance.
- To navigate a folder up, you need to press the "Seeing playlist: [name]" text. This will be replaced with a nicer UI in the future.
Space: Play/pauseCtrl+Space: Stop playingArrow Right: Foward 10 secondsCtrl+Arrow Right: Next trackArrow Left: Backward 10 secondsCtrl+Arrow Left: Previous trackL: Toggle loop
Most of the icons are from Twemoji, which is licensed under CC-BY 4.0.
The code is written in SvelteKit and Tailwind, both under MIT license.
