GithubHelp home page GithubHelp logo

oudommeas / cloudtunes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jkbrzt/cloudtunes

1.0 2.0 0.0 12.6 MB

Web-based music player for the cloud :cloud: :notes:

Home Page: cloudtun.es

License: Other

Python 33.23% HTML 5.97% Nginx 0.46% CoffeeScript 51.57% CSS 8.53% Shell 0.24%

cloudtunes's Introduction

CloudTunes

Open source, web-based music player for the cloud.
Also on: FacebookTwitterHacker NewsLifehacker

screenshot

CloudTunes provides a unified interface for music stored in the cloud (YouTube, Dropbox, etc.) and integrates with Last.fm, Facebook, and Musicbrainz for metadata, discovery, and social experience. It is similar to services like Spotify, except instead of local tracks and the fixed Spotify catalog, CloudTunes uses your files stored in Dropbox and music videos on YouTube.

screenshot screenshot screenshot

The Story

CloudTunes is a side project of @jkbrzt who is a bit of a music nerd and who likes to build stuff. In 2012 he decided to create an iTunes-like webapp to make music stored all over the cloud easily discoverable and accessible: hence CloudTunes.

Another one of the goals was to experiment with a bunch of new technologies. Later, this side-project was largely abandoned due to other more pressing projects. In the autumn of 2014, CloudTunes was open-sourced "as is" (i.e. alpha quality, lack of polish, tests and docs).

Technology

The architecture consists of a server and client component. Those two are decoupled and communicate via a JSON REST API and a WebSocket connection:

Web and WebSocket server, worker processes. Written in Python, uses Tornado, Celery, Mongo DB, MongoEngine, Redis.

Single-page app. Written in CoffeeScript and Sass, uses Brunch, Backbone.js, SocketIO, Handlebars, Compass, SoundManager.

Features

Discographies & Entire Albums

Find and stream entire albums from YouTube.

screenshot screenshot screenshot screenshot

Any album or track you like can be added to your collection or any of your playlists.

screenshot

Dropbox Integration

Access and stream music that you already have in Dropbox from any computer. Fast indexing and realtime updates.

screenshot

screenshot

Playlists

Organise your collection with playlists. Drag and drop tracks and albums on a playlist to add them. You can create playlists containing both tracks from your Dropbox and music videos from YouTube.

screenshot screenshot

Last.fm Support

Scrobble and play your personalised recommendations.

screenshot screenshot

Notifications

Notifications Notifications Notifications

Settings

Notifications

Miscellaneous

  • Drag and drop
  • Keyboard shortcuts
  • Browse view
  • Sorting, resizing
  • Support for 10s of 1000s of tracks in collection

Installation

  1. Clone this repository:
$ git clone https://github.com/jkbrzt/cloudtunes.git
$ cd cloudtunes
  1. Use cloudtunes-server/cloudtunes/settings/local.example.py as a template and fill in the None's:
$ cp  cloudtunes-server/cloudtunes/settings/local.example.py cloudtunes-server/cloudtunes/settings/local.py
$ vim cloudtunes-server/cloudtunes/settings/local.py
  1. Decide whether to continue with or without Docker and follow the specific instructions below.

Without Docker

Continue by following the instructions in:

With Docker

The easiest way to run CloudTunes is in an isolated Docker container. Like this, the only thing you need to install directly on your system is Docker (or boot2docker) itself.

Please follow the installation instructions on how to install Docker (or boot2docker) on your system. Then follow the steps bellow:

  1. Build a Docker image according to our Dockerfile and name it cloudtunes-img. This takes a long time the first time it's run:
$ docker build --tag=cloudtunes-img .
  1. Verify that the image has been created:
$ docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
cloudtunes-img      latest              e1bcb48ab148        About an hour ago   995.1 MB
  1. Create a new container named cloudtunes from the cloudtunes-img image and run the app in it:
$ docker run --name=cloudtunes --publish=8000:8000  --detach --tty cloudtunes-img
  1. Verify the container is running:
$ docker ps
CONTAINER ID        IMAGE                   COMMAND                CREATED             STATUS              PORTS                    NAMES
564cc245e6dd        cloudtunes-img:latest   "supervisord --nodae   52 minutes ago      Up 2 minutes        0.0.0.0:8000->8000/tcp   cloudtunes
  1. Now CloudTunes should be running in the Docker container on port 8000. The full URL depends on the method you used to install Docker:
  • If you have installed Docker directly on your system, the full URL will simply be: http://localhost:8000/
  • If you have used boot2docker, then run $ boot2docker ip to find out the IP address under which the app is available, and the full URL will be http://<boot2docker IP>:8000/

To stop the app (Docker container), run:

$ docker stop cloudtunes

To start it again, run:

$ docker start cloudtunes

All user data (stored by MongoDB and Redis under /data) will persist until the container has been deleted.

After you have made any changes to the codebase or configuration and want them to be applied to the container, or if you simply wish to start from scratch again, run the following commands to delete the existing container (this will also delete all user data in it):

$ docker stop cloudtunes
$ docker rm cloudtunes

And then start again from step 1. above (it should go much faster this time).

License

BSD. See LICENSE for more details.

Contact

Jakub Roztočil

cloudtunes's People

Contributors

dalareo avatar elgalu avatar hardcoder80 avatar jkbrzt avatar lsferreira42 avatar mhor avatar petems avatar raphaelr avatar richardpetithory avatar sammcj avatar suzyelbow avatar

Stargazers

 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.