Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
    Jeanine Adkisson
    up and running, thanks so much
    Jeanine Adkisson
    and thanks for making this, it's real cool software
    Danil Braun
    Hi! Is there a complete instruction for installing/configuring mongodb+redis+u-wave on ubuntu 20.04? I see several TODOs on the official site.
    Jeanine Adkisson
    is there... any way to use the soundcloud api
    Jeanine Adkisson
    is... there a version of u-wave that is easier to use yet
    having things spread across 4 or 5 different packages with no way to change small things is breaking my brain ><
    i've spent all day trying to figure out how to play unlisted soundcloud tracks and deal with the fact that the soundcloud api is effectively dead
    i've worked around the latter but now i need to change some of the frontend code and... the way it's set up right now, i'd have to edit minified js

    i tried locally building u-wave-web, and...

    TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'Mongoose'
    | property 'connections' -> object with constructor 'Array'
    | index 0 -> object with constructor 'NativeConnection'
    --- property 'base' closes the circle
    at JSON.stringify (<anonymous>)
    at stringify (/home/jneen/src/u-wave-web/npm/middleware/webpack:/middleware/index.js:44:32)
    at Layer.handle [as handle_request] (/home/jneen/src/u-wave-web/node_modules/router/lib/layer.js:93:5)
    at next (/home/jneen/src/u-wave-web/node_modules/router/lib/route.js:144:13)
    at Route.dispatch (/home/jneen/src/u-wave-web/node_modules/router/lib/route.js:109:3)
    at handle (/home/jneen/src/u-wave-web/node_modules/router/index.js:526:11)
    at Layer.handle [as handle_request] (/home/jneen/src/u-wave-web/node_modules/router/lib/layer.js:93:5)
    at /home/jneen/src/u-wave-web/node_modules/router/index.js:296:22
    at Function.process_params (/home/jneen/src/u-wave-web/node_modules/router/index.js:360:12)
    at next (/home/jneen/src/u-wave-web/node_modules/router/index.js:290:10)
    at Function.handle (/home/jneen/src/u-wave-web/node_modules/router/index.js:189:3)
    at router (/home/jneen/src/u-wave-web/node_modules/router/index.js:64:12)
    at Layer.handle [as handle_request] (/home/jneen/src/dj/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/jneen/src/dj/node_modules/express/lib/router/index.js:317:13)
    at /home/jneen/src/dj/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/home/jneen/src/dj/node_modules/express/lib/router/index.js:335:12)
    at next (/home/jneen/src/dj/node_modules/express/lib/router/index.js:275:10)
    at SendStream.error (/home/jneen/src/dj/node_modules/serve-static/index.js:121:7)
    at SendStream.emit (node:events:369:20)
    at SendStream.error (/home/jneen/src/dj/node_modules/serve-static/node_modules/send/index.js:270:17)
    at SendStream.onStatError (/home/jneen/src/dj/node_modules/serve-static/node_modules/send/index.js:421:12)
    at next (/home/jneen/src/dj/node_modules/serve-static/node_modules/send/index.js:763:28)

    this is just an example of how highly coupled all these components are - if they're not put together in just the right way everything falls apart
    in a way it'd be much better just to have one big repo that i can clone and edit a cnofig file
    Jeanine Adkisson
    i have no idea why u-wave-web even has a mongo connection, much less why it's trying to render it to json
    Jeanine Adkisson
    ohhhh okay
    the api changed
    the createClient function no longer takes the uw instance as an argument
    Jeanine Adkisson
    i'm in the process of making a u-wave monorepo
    and i have discovered something glorious!
    everything you could ever want about a particular soundcloud track is available through a simple wget, if you know that track's url
    and are willing to regex out a particular json blob from the page
    this means that even if search doesn't work, if a url is pasted into the search bar i can still get all the data i need from it without needing a soundcloud api key
    Renée Kooi

    is... there a version of u-wave that is easier to use yet

    short term (might take months because i only spend time on this when available and when interested) i want to publish it in two parts instead of however many there are now, then you could run the server and the web client both with systemd and configure with env vars

    the server part gets a CLI that also installs the youtube/soundcloud sources if a key is provided https://github.com/u-wave/core/blob/default/bin/u-wave-core
    longer term the configuration would be moved from env vars to runtime, so you could input api keys on the fly in the UI
    once the first bit is done i can finally update the install instructions :laughing:
    Renée Kooi
    oh lol i see why you were talking about scraping soundcloud, they started requiring oauth keys a few months ago to access anything… of course, it is still literally impossible to obtain those :upside_down:
    didn't notice earlier bc i mostly use youtube :S
    i wanted to only use official apis in the default sources to be more TOS compliant but at this point soundcloud is actually impossible to support that way