All Projects → ElementsProject → lightning-jukebox

ElementsProject / lightning-jukebox

Licence: MIT license
A Lightning powered Jukebox ⚡ Pay with Bitcoin to choose your music.

Programming Languages

javascript
184084 projects - #8 most used programming language
Pug
443 projects
shell
77523 projects

Projects that are alternatives of or similar to lightning-jukebox

filebazaar
Sell digital files with Bitcoin & Lightning ⚡
Stars: ✭ 112 (+286.21%)
Mutual labels:  lightning, micropayments, lightning-charge, nanopayments
nanopos
A simple Lightning ⚡ point-of-sale system, powered by Lightning Charge
Stars: ✭ 95 (+227.59%)
Mutual labels:  lightning, micropayments, lightning-charge
lightning-charge-client-php
PHP client for lightning-charge
Stars: ✭ 23 (-20.69%)
Mutual labels:  lightning, lightning-charge
Lnd
Lightning Network Daemon ⚡️
Stars: ✭ 5,623 (+19289.66%)
Mutual labels:  lightning, micropayments
Lightning
Lightning is a base distribution for fast and feature-rich Drupal. Please submit issues to our Drupal.Org queue here: https://www.drupal.org/project/issues/lightning
Stars: ✭ 196 (+575.86%)
Mutual labels:  lightning
Interledger Rs
An easy-to-use, high-performance Interledger implementation written in Rust
Stars: ✭ 155 (+434.48%)
Mutual labels:  lightning
Create Lwc App
Quickstart command line interface for scaffolding your Lightning Web Components projects
Stars: ✭ 144 (+396.55%)
Mutual labels:  lightning
Paper
Lightning Network Paper
Stars: ✭ 136 (+368.97%)
Mutual labels:  lightning
bitcoin-spring-boot-starter
Write enterprise Bitcoin applications with Spring Boot. Starter projects with multiple Bitcoin related modules that you can include in your application.
Stars: ✭ 44 (+51.72%)
Mutual labels:  lightning
refract
Jukebox for public Slack teams
Stars: ✭ 16 (-44.83%)
Mutual labels:  jukebox
Haoide
Stop upgrade, most of features were delivered in https://github.com/xjsender/haoide-vscode
Stars: ✭ 194 (+568.97%)
Mutual labels:  lightning
Webln
Spec and client library for WebLN apps and providers
Stars: ✭ 165 (+468.97%)
Mutual labels:  lightning
Lndhub
Wrapper for Lightning Network Daemon. It provides separate accounts and trust minimization for end users
Stars: ✭ 203 (+600%)
Mutual labels:  lightning
M2cgen
Transform ML models into a native code (Java, C, Python, Go, JavaScript, Visual Basic, C#, R, PowerShell, PHP, Dart, Haskell, Ruby, F#, Rust) with zero dependencies
Stars: ✭ 1,962 (+6665.52%)
Mutual labels:  lightning
TonUINO
Alternative TonUINO Firmware
Stars: ✭ 112 (+286.21%)
Mutual labels:  jukebox
Lightning Project
A Composer-based installer for the Lightning distribution of Drupal 8.
Stars: ✭ 137 (+372.41%)
Mutual labels:  lightning
Ln Service
Node.js interface to LND
Stars: ✭ 191 (+558.62%)
Mutual labels:  lightning
Eclair Mobile
An Android wallet for the Lightning Network
Stars: ✭ 231 (+696.55%)
Mutual labels:  lightning
Lncli Web
Light-weight web client for the lnd daemon written in NodeJS / Angular.
Stars: ✭ 181 (+524.14%)
Mutual labels:  lightning
Zeus
A mobile Bitcoin/Lightning app for lnd, c-lightning, and Eclair node operators ⚡️
Stars: ✭ 175 (+503.45%)
Mutual labels:  lightning

Lightning Jukebox

npm release MIT license Pull Requests Welcome IRC

A Lightning powered Jukebox. Pay with Bitcoin to choose your music from YouTube.

See it in action on YouTube

Powered by Lightning Charge

HOWTO

  1. Setup Lightning Charge.

  2. Install Lightning Jukebox and start jukeboxd:

    $ npm install -g lightning-jukebox
    
    $ jukeboxd --charge-token mySecretToken --price '0.0001 BTC'
    Jukebox server running on http://localhost:6100

    You may pick a different theme from bootswatch by specifying --theme [name] (the default is darkly).

  3. Navigate to http://localhost:6100/ on the computer playing the music and click Spawn YouTube player. This will open a new YouTube window in a new tab. Make sure to keep both the page on localhost:6100 and the youtube window open. You can use the YouTube window to start playing some initial music.

  4. Make the payment page (http://localhost:6100/pay) available over the internet or set it up on a local device, like a tablet, near the jukebox. The payment page allows users to pay for music selection.

    Once a payment is made, a push notification will be sent to the player window (via websockets), which will open the requested song in the spawned youtube window.

    Payments can also be made directly to the jukebox API:

    # with a search string
    $ BOLT11=`curl http://localhost:6100/invoice -d video='are you shpongled full album'`
    $ lightning-cli decodepay $BOLT11
    $ lightning-cli pay $BOLT11
    
    # with a specific video id
    $ lightning-cli pay `curl http://localhost:6100/invoice \
                         -d video=https://www.youtube.com/watch?v=IDiZG-eAk30`

CLI options

$ jukeboxd --help

  A Lightning powered Jukebox

  Usage
    $ jukeboxd [options]

  Options
    -c, --charge-url <url>      lightning charge server url [default: http://localhost:9112]
    -t, --charge-token <token>  lightning charge access token [required]

    -P, --price <price>         price to play music [default: 0.0001 BTC]
    -m, --theme <name>          pick theme from bootswatch.com [default: darkly]
    -l, --title <name>          website title [default: Lightning Jukebox]

    -p, --port <port>           http server port [default: 9115]
    -i, --host <host>           http server listen address [default: 127.0.0.1]
    -h, --help                  output usage information
    -v, --version               output version number

  Example
    $ jukeboxd -t chargeSecretToken -P '0.0005 EUR'

Why a separate YouTube tab instead of embedding the video player?

So that "auto play next" works.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].