project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5

Cosmicwaves

This unique music streaming service is decentralized, community-driven, and prioritizes user privacy and security. You can share your music and collaborate with others while enjoying a personalized, engaging experience. Give it a try and experience the future of music streaming!

Cosmicwaves

Created At

HackFS 2023

Winner of

trophy

🏆 HackFS 2023 Finalist

Project Description

Cosmicwaves: The Future of Music Streaming

Music streaming services have become a staple in people's lives. With the rise of technology, we have seen an incredible shift in the music industry, enabling people to access their favorite music anytime and anywhere. However, with the increasing number of streaming platforms, choosing the right one can be a challenge. That's where Cosmicwaves comes in.

Cosmicwaves: Decentralized and Community-Driven

Unlike traditional music streaming services, Cosmicwaves is decentralized. It doesn't rely on a central server to stream music. Instead, it uses a peer-to-peer network to distribute music files directly between users, making it more resilient against outages and censorship. This approach also allows for a more community-driven platform where users can share their music and collaborate, creating a more personalized and engaging experience.

Cosmicwaves: Privacy and Security

Privacy and security are essential features that users look for in a music streaming service. Cosmicwaves understands this and has implemented robust privacy and security protocols to ensure that users' data and identity are protected. The platform uses end-to-end encryption to secure all data transmissions, and it doesn't collect any user data or sell it to third-party advertisers. This approach ensures that users have complete control over their data and can enjoy their music without worrying about their privacy.

In conclusion, Cosmicwaves is a unique music streaming service that stands out from the rest. Its decentralized architecture, community-driven approach, privacy, and security features make it an excellent choice for music lovers who value creativity, collaboration, and fairness. So, if you're looking for a music streaming service that puts you first, give Cosmicwaves a try and experience the future of music streaming.

How it's Made

It all starts with the Streamer

Using the browser to access Cosmicwaves’ UI, a streamer can connect its Wallet with full ENS support, to facilitate the onboarding. Then music files from .mp3 to .wav can be uploaded and grouped into Playlists. The files are stored in IPFS, and we use Polybase to store the streamer data, together with the Playlist and Song metadata.

The upload of the music files are made with https://github.com/ipfs/helia and we make use of the libp2p protocol to connect to the IPFS network and ensure the file upload. After the upload to IPFS is made successfully, we then create some metadata regarding the file and upload it to Polybase. On the Streamer page, a streamer can choose which songs are to be added to a playlist and create a Playlist. The playlist metadata is, again, stored in Polybase.

Once a playlist is created, the stream can start at any point in the future! With a shareable link, all the Streamer has to do is send it to the Listeners. When the stream is active, to ensure all listeners are listening to the same audio at the same time, we make use of a Rust server that we poll for the active stream metadata. This metadata is fetched from Polybase and consists basically on the name of the active playlist, its start time, and the file cids that are part of it.

For listeners, we have a page that allows them to join a stream. The only action is a toggle button to start listening the stream, enjoying music with everyone else in the Universe.

background image mobile

Join the mailing list

Get the latest news and updates