This project is an audio server that allows you to switch between multiple audio devices seamlessly. It is built using Deno and leverages the power of WebSockets to sync audio playback across different devices.
This is meant to showcase how to rerceate the spotify connect feature using web technologies.
This is a work in progress and is not yet fully functional.
- Launch the server next inside directory containing audio files
- open a browser and connect to the server
- all audio files in the directory will be listed
- audio status is reported to the server over websocket
- This WILL lag your computer if you have too many audio files
make sure you copy the
index.htmlfile to the directory containing your audio files. the index.ts file is just the backend code
deno run -A index.tssome syncing issues and edge cases. but functional
showcase.mp4
Needs this running in the background to bundle the client code
deno bundle --watch client.ts -o client.js