Core library for üWave, the collaborative listening platform.
Note: üWave is still under development. Particularly the
u-wave-api-v1modules will change a lot before the "official" 1.0.0 release. Make sure to always upgrade both of them at the same time.
üWave consists of three parts: the core library, the HTTP API, and the web client.
See the example/ directory for a usage example.
API documentation is very incomplete and might change a lot before 1.0.0. Take care!
Create and start a üWave server.
Add a media source plugin. Source plugins can be used to search and import media from remote sources like YouTube or SoundCloud. Existing source plugins can be found on npm with the u-wave-source keyword.
sourceType- Source type name as a string. Used to signal where a given media item originated from.
sourcePlugin- Source plugin or plugin factory. Receives two parameters: The
uwüWave Core instance, and the plugin options.
options- Options to pass to the source plugin. Only used if a source plugin factory was passed to
Stops the üWave server.
npm run build
That's inconvenient if it has to be done manually each time you make a change.
Instead, there's the
watch command that will automatically recompile files:
npm run watch