cedias / Flux-Tilde

Souncloud playlists using firebase

Home Page:http://cedias.github.io/Flux-Tilde/app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Flux~

Flux~ helps making playlists with Soundcloud's API and Firebase as link storage.

Demo is here => http://cedias.github.io/Flux-Tilde/app/

PS: Adding links is deactivated, obviously !

##Try it locally ! (You need nodeJs thought)

##Usage:

var options = {
  firebase:'YourFirebase.firebaseIO.com',
	soundcloud_id:'YourSoundcloudAppId',
	binds: {  /*The html id's that will be bind with the click action*/
		post:'#linkForm',
		link:'#link', 
		play:'#play',   
		next:'#next', 
		previous:'#previous',
		element_list:'#tracks',
		info:'#info',
	},
	templates:{ /*the templates to fill the page with*/
		element:'#element-template',
		info:'#info-template'
	},
	debug:true /*debug mode */
}

var ft = new FluxTilde(options);

##Dependencies

  <script src="lib/jquery.js"></script>
  <script src="lib/handlebars.js"></script>
  <script src='https://cdn.firebase.com/v0/firebase.js'></script>
  <script src="http://connect.soundcloud.com/sdk.js"></script>
  <script src="js/FluxTilde.js"></script>

##Todo:

  • Refactor to extract properly view & model.

  • Add firebase auth.

  • Add update methods (Delete + Reorganise)

  • Add Options to post

  • Make demo more pretty :)

##License

MIT Licence

About

Souncloud playlists using firebase

http://cedias.github.io/Flux-Tilde/app/


Languages

Language:JavaScript 98.2%Language:CSS 1.8%