Git Product home page Git Product logo

soundtrack.io's Introduction

soundtrack.io

Build Status Coverage Status

soundtrack.io is a collaborative online jukebox. It is an experimental Internet radio platform. Vote on what plays next, like Reddit for music. Aggregates streams from sources like YouTube and SoundCloud, so when a song is queued, it has multiple locations to play from if any one source fails for any particular reason.

Getting Started

Before you begin you will need to have nodejs, redis, and mongodb installed. Homebrew is recommended for OS X users.

brew install nodejs mongodb redis

In the logged output, you'll find some instructions for starting both mongodb and redis โ€“ you can follow those instructions, or execute once with redis-server & mongod &

Once you have them installed (and running!), go ahead and clone the repository.

git clone [email protected]:martindale/soundtrack.io.git
cd soundtrack.io

You will need to fetch the dependencies and then you can start up the server.

npm install
node soundtrack.js

Testing Rooms

Now that soundtrack has multiple rooms, you'll need to configure your local hostname lookups to point at the appropriate locations. In /etc/hosts (or equivalent for your OS):

127.0.0.1 localhost.localdomain
127.0.0.1 test.localhost.localdomain

You'll need to add an entry for each subdomain you want to test. Also, the .localdomain component is important for sessions, as some browsers expect a top level domain for cookies to work correctly!

API

Deleting tracks: $.ajax('/playlist/520e6bda3cb680003700049c', { type: 'DELETE', data: { index: 1 } });

Contributing

Want to help? Claim something in the "ready" column on our Waffle.io by assigning it to yourself.

Fork. Commit. Pull request.

soundtrack.io's People

Contributors

chastagi avatar chrisinajar avatar eah13 avatar fractaloop avatar lucas-c avatar martindale avatar naterchrdsn avatar phlare avatar thesoftwarejedi avatar tyrelsouza avatar unusualbob avatar vorathe avatar zbeekman avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.