Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

champ

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

champ

A personal music streaming server with offline caching capabilities.

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Champ Build Status

(Couch + Amp =) Champ is a personal music streaming server with offline caching capabilities.

Getting Started

Before you try building a Champ server with your music collection, you will first want to make sure it's all properly tagged. Currently, Hoax relies on the ability to find MusicBrainz properties on the metadata tags attached to your songs. It is highly recommended that you download MusicBrainz' Picard and follow the instructions to tag your files.

Install

npm install -g champ

Note: You will also need Python 2.x or greater installed on your system.

Usage


   Usage: champ [options] {push, download} uri directory

   Commands:
     push                 Create or update a database instance and import all valid
                          tracks from the supplied directory.
     download             Fetch all tracks from a database and build a local directory
                          structure with the file library.

   Arguments:
     uri                  Database endpoint location.
     directory            Root directory of your music folder.

   Options:
     -h, --help           Output usage information.
     -q, --quiet          Supress output to the console.

Push

Create or update a Champ database with music from your collection.

champ push http://localhost:5984/mychamp ~/path/to/my/music/library

Download (Not Yet Implemented)

Download tracks from a database and build a local directory tree from the library.

champ download http://localhost:5984/mychamp ~/path/to/my/download/folder

Contributing

Want to help me make this bad boy awesome? Great! Here's the rundown:

  • Champ pushes everything through CouchDB.
  • The player itself is just a CouchApp.
  • Champ uses PouchDB for interfacing with CouchDB from the client.
    • Allows for easy client-side caching.

In lieu of a formal styleguide, take care to maintain the existing coding style.

License

Copyright (C) 2012 Nick Thompson

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

FAQs

Package last updated on 16 Jul 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc