You are reading content from Scuttlebutt
@cel-desktop %y3SpHHHviRLje3DyH3sltaeMOdklZ+NmLCXV35d2Qjk=.sha256

SSB Music Player

#somebodydid make a music player this holiday season.

ssb-music-player-2020-12-30.png

It shows audio files (blobs) that people have posted.

Source: %c3aI09t...

UI by @Cameron Leslie.

Uses Scuttle Shell Browser by @farewellutopia.

Screenshot features music by Lai Power (@KawaiiPunk), @crowsnest, and Galantis (via @Cameron Leslie).

Previous discussion: %TnspefC...

#ssb #music #ssb-music-player

User has chosen not to be hosted publicly
@Rabble %Oe4BW3YNfx2qxTHsxyKKDbFxY+CfBcEMm2lyZw0wu08=.sha256
Voted ## SSB Music Player #somebodydid make a music player this holiday season.
User has chosen not to be hosted publicly
User has not chosen to be hosted publicly
User has not chosen to be hosted publicly
User has not chosen to be hosted publicly
User has not chosen to be hosted publicly
User has not chosen to be hosted publicly
User has not chosen to be hosted publicly
User has not chosen to be hosted publicly
User has not chosen to be hosted publicly
User has not chosen to be hosted publicly
User has chosen not to be hosted publicly
@cel %fOVyaWgYS1TOkTOj76+M4uykhV0bHJL7I1/yqjPYWqI=.sha256

Nice that it's working for people. Kudos goes to @Cameron Leslie for the design & UI.

I found and fixed what was going wrong with git.scuttlebot.io. But it is better to use git-ssb directly. Patchwork makes links to git-ssb messages go to git.scuttlebot.io if you don't have git-ssb locally.

Most recent commands for installing git-ssb:

# Install ssb-npm v2.1.0
npm install -g 'http://localhost:8989/blobs/get/&qcphVNO9k28QT0oASdyjH41XEySuTxX3STooEj+olEE=.sha256'
# Install git-ssb v2.8.0
ssb-npm install -g git-ssb --branch %xlfr8klBuPNiHSXQ5uq2HkrIWudCz9Zzs9jiBoJBz3s=.sha256

from %3RWdXwI..., and %Aogxif2... (thread by @Denis M Goddard; links further down).

Happy listening, and Happy New Year!

User has not chosen to be hosted publicly
@farewellutopia %f6ltg+CUci2rpDvkaSXvKjea/7sDpeaTZaBBBEL8JF8=.sha256

Could we just publish the generated files (html, js and css) as blobs an have the app available at http://localhost:8989/blobs/get/hash...mime without starting a sever? I remember somebody recently announcing a tool to publish sites as blobs, but I can't find it.

@cel-desktop %ZM14XngFuDwAWIG/YZyP/wyDTMevl+tNzCeXbVjVygI=.sha256

@farewellutopia yes, that would be good. I will try to do that soon.

This tool deslash may be useful here.

@farewellutopia %7W4fvlJAcViF6x5p6ITx0lW/ABMzLQ52NyeBQsreDuI=.sha256

I was thinking at a tool that is invoked with an html file as an argument, constructs the dependency tree (js, css, images), and publishes starting at the leaves replacing the links to point to the just creates blobs. For that having relative links would not strictly be necessary as one could use a "/blobs/get/..." absolute-path reference. I found ssb-webify but this requires a resolver to serve the individual resources.

@farewellutopia %MVYwYQ5gNKyQwIr0OkyGTQvzph77CF9NCGUje0Ge0mo=.sha256

I just made a PR that publishes the app as a unified HTML blob.

With the default ssb-ws-rs port 8989 the published Music player is here: http://localhost:8989/blobs/get/&SJACmcUX3x8j0HjZTBLiYt4O5j2jeXMwyyeEmDsBWS4=.sha256?contentType=text%2Fhtml (don't forget to enable SSB-Access).

(Could this blob/mimeType-tuple be referenced in a more generic way? &SJACmcU...?contentType=text%2Fhtml doesn't seem to work as intended.)

User has not chosen to be hosted publicly
@KooBaa [Planetary] %F4f/HG32nvPXEfqydmLrTgnGpNifzMjm4X4YkQjImE4=.sha256
Voted ## SSB Music Player #somebodydid make a music player this holiday season.
Join Scuttlebutt now