Skip to content

jarbacoa/ipfs-soundcloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular-audio-player

From HTML5 audio player repo, with AngularJS.. Modified to load and stream songs from IPFS.

Usage

To use the site as a music streamer, simply git clone and open index.html. Alternatively, you can view the site as it's hosted on IPFS here.

Uploading a song

File uploading is still a work in progress. Tracks are currently manually uploaded to IPFS and added as entries in songs.json. Tracks are streamed from IPFS using their hash as referenced in songs.json which is uploaded to a CDN currently. The format for a streamable song entry stored on IPFS is as follows:

{
    "name":"<Song Name>",
    "artist":"<Artist>",
    "src":"<Hash of Song>"
},

Simply ipfs add your song, and add its entry to songs.json to play it.

To do list

  • Uploading functionality
  • Immediate update of streamable songs after ipfs add-ing a new upload through website.
  • Possibly Implementing IPDB - JSON Database is hacky and vulnerable

Disclaimer on audio files

This repo is under the MPL-2.0 license. However, please noticed that the license does NOT include audio files. You should handle audio files' copyright issue by yourself.

About

IPFS based audio streamer and uploader

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published