sonobus icon indicating copy to clipboard operation
sonobus copied to clipboard

Docker support

Open fabiopedrosa opened this issue 4 years ago • 10 comments

Could you please create a minimal Dockerfile so there's more support for other platforms e.g. Raspberry

fabiopedrosa avatar Feb 16 '21 16:02 fabiopedrosa

It's tricky to wrap a GUI app in a docker image, unfortunately.

https://linoxide.com/linux-how-to/run-gui-apps-docker-container/ says your users need to

# docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix $DOCKER_IMAGE

But I've never had it go that smoothly for me.

kousu avatar Feb 16 '21 20:02 kousu

On a side note, I am able to compile it from source and run on RPI4 .

disdi avatar Feb 17 '21 22:02 disdi

Docker for a sonosbus server is crucial, and a client would be cool as well to create a web app.

reesericci avatar Feb 23 '21 01:02 reesericci

Docker for a sonosbus server is crucial, and a client would be cool as well to create a web app.

Using a web app defeats the entire purpose of SonoBus, which is to have low-latency audio. This is just not feasible with the way browsers work.

Zipdox avatar Mar 22 '21 20:03 Zipdox

i totally get that. it's not designed to replace the native app, just as a possibility for a more convenient way to use sonobus if low-latency isn't a huge priority. And still have it be private and higher quality than discord.

reesericci avatar Mar 22 '21 20:03 reesericci

Hey @reesericci , if you're looking for anti-corporate voice chat, have you checked out Jitsi Meet yet? Or Mumble?

For Jitsi, the main instance is https://meet.jit.si, but there's a list of more local instances at https://jitsi.github.io/handbook/docs/community/community-instances, and you can install your own by following https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-start. The web client works really well (and is the same as the server), and the android app from https://f-droid.org/en/packages/org.jitsi.meet/ does too.

Mumble has a reputation for really high audio quality, and for having it years before anyone else did. I don't know why it's not better known; probably just because it's main client is kind of ugly :roll_eyes: . But there's a list of free servers at https://www.mumble.com/serverlist/, a list of paid-hosting if you want to ensure quality and privacy at https://wiki.mumble.info/wiki/Hosters, or it's also a snap to deploy your own mumble server on any VPS or raspberry Pi or whatever: just apt-get install mumble-server on most systems. The desktop client is a bit ugly, but there's this good android client: https://f-droid.org/en/packages/se.lublin.mumla/, and this web-client: https://github.com/Johni0702/mumble-web which you can see the web-client in action at https://mumble.disroot.org/.

Sonobus has a different target audience. It's meant to be a little bit difficult to set up in order to be tuned for the highest quality possible. I think if you're just looking to get away from Discord, these other options will probably help you out.

:clinking_glasses:

kousu avatar Mar 23 '21 02:03 kousu

I know about all those projects and they are all awesome! I like sonobus because it is native, but I think a web link to send to users would be helpful. I think it could be a nice addition for usability. I understand that sonobus is different and it was just a suggestion.

-- reese On Mar 22 2021, at 9:17 pm, Nick @.***> wrote:

Hey @reesericci @./0?redirect=https%3A%2F%2Fgithub.com%2Freesericci&recipient=cmVwbHkrQUVWT1BEU0hEUjQ1NzNPS09UUFVBT0Y2TVVZS1ZFVkJOSEhEQVBZM1FRQHJlcGx5LmdpdGh1Yi5jb20%3D) , if you're looking for anti-corporate voice chat, have you checked out https://meet.jit.si @./1?redirect=https%3A%2F%2Fmeet.jit.si&recipient=cmVwbHkrQUVWT1BEU0hEUjQ1NzNPS09UUFVBT0Y2TVVZS1ZFVkJOSEhEQVBZM1FRQHJlcGx5LmdpdGh1Yi5jb20%3D) yet? Or Mumble? For Jitsi, the main instance is meet.jit.si, but there's a list of more local instances at https://jitsi.github.io/handbook/docs/community/community-instances @./2?redirect=https%3A%2F%2Fjitsi.github.io%2Fhandbook%2Fdocs%2Fcommunity%2Fcommunity-instances&recipient=cmVwbHkrQUVWT1BEU0hEUjQ1NzNPS09UUFVBT0Y2TVVZS1ZFVkJOSEhEQVBZM1FRQHJlcGx5LmdpdGh1Yi5jb20%3D), and you can install your own by following https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-start @./3?redirect=https%3A%2F%2Fjitsi.github.io%2Fhandbook%2Fdocs%2Fdevops-guide%2Fdevops-guide-start&recipient=cmVwbHkrQUVWT1BEU0hEUjQ1NzNPS09UUFVBT0Y2TVVZS1ZFVkJOSEhEQVBZM1FRQHJlcGx5LmdpdGh1Yi5jb20%3D). The web client works really well (and is the same as the server), and the android app from https://f-droid.org/en/packages/org.jitsi.meet/ @./4?redirect=https%3A%2F%2Ff-droid.org%2Fen%2Fpackages%2Forg.jitsi.meet%2F&recipient=cmVwbHkrQUVWT1BEU0hEUjQ1NzNPS09UUFVBT0Y2TVVZS1ZFVkJOSEhEQVBZM1FRQHJlcGx5LmdpdGh1Yi5jb20%3D) does too. Mumble has a reputation for really high audio quality, and for having it years before anyone else did. I don't know why it's not better known; probably just because it's main client is kind of ugly. But there's a list of free servers at https://www.mumble.com/serverlist/ @./5?redirect=https%3A%2F%2Fwww.mumble.com%2Fserverlist%2F&recipient=cmVwbHkrQUVWT1BEU0hEUjQ1NzNPS09UUFVBT0Y2TVVZS1ZFVkJOSEhEQVBZM1FRQHJlcGx5LmdpdGh1Yi5jb20%3D), a list of paid-hosting if you want to ensure quality and privacy at https://wiki.mumble.info/wiki/Hosters @./6?redirect=https%3A%2F%2Fwiki.mumble.info%2Fwiki%2FHosters&recipient=cmVwbHkrQUVWT1BEU0hEUjQ1NzNPS09UUFVBT0Y2TVVZS1ZFVkJOSEhEQVBZM1FRQHJlcGx5LmdpdGh1Yi5jb20%3D), or it's also a snap to deploy your own mumble server on any VPS or raspberry Pi or whatever: just apt-get install mumble-server on most systems. The desktop client is a bit ugly, but there's this good android client: https://f-droid.org/en/packages/se.lublin.mumla/ @./7?redirect=https%3A%2F%2Ff-droid.org%2Fen%2Fpackages%2Fse.lublin.mumla%2F&recipient=cmVwbHkrQUVWT1BEU0hEUjQ1NzNPS09UUFVBT0Y2TVVZS1ZFVkJOSEhEQVBZM1FRQHJlcGx5LmdpdGh1Yi5jb20%3D), and this web-client: https://github.com/Johni0702/mumble-web @./8?redirect=https%3A%2F%2Fgithub.com%2FJohni0702%2Fmumble-web&recipient=cmVwbHkrQUVWT1BEU0hEUjQ1NzNPS09UUFVBT0Y2TVVZS1ZFVkJOSEhEQVBZM1FRQHJlcGx5LmdpdGh1Yi5jb20%3D) which you can see the web-client in action at https://mumble.disroot.org/ @./9?redirect=https%3A%2F%2Fmumble.disroot.org%2F&recipient=cmVwbHkrQUVWT1BEU0hEUjQ1NzNPS09UUFVBT0Y2TVVZS1ZFVkJOSEhEQVBZM1FRQHJlcGx5LmdpdGh1Yi5jb20%3D). Sonobus has a different target audience. It's meant to be a little bit difficult to set up in order to be tuned for the highest quality possible. I think if you're just looking to get away from Discord, these other options will probably help you out. 🥂 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub @./10?redirect=https%3A%2F%2Fgithub.com%2Fsonosaurus%2Fsonobus%2Fissues%2F39%23issuecomment-804531446&recipient=cmVwbHkrQUVWT1BEU0hEUjQ1NzNPS09UUFVBT0Y2TVVZS1ZFVkJOSEhEQVBZM1FRQHJlcGx5LmdpdGh1Yi5jb20%3D), or unsubscribe @./11?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEVOPDT33H5MA6KP6LUUNYLTE722VANCNFSM4XWWX64Q&recipient=cmVwbHkrQUVWT1BEU0hEUjQ1NzNPS09UUFVBT0Y2TVVZS1ZFVkJOSEhEQVBZM1FRQHJlcGx5LmdpdGh1Yi5jb20%3D).

reesericci avatar Mar 23 '21 02:03 reesericci

Oh, actually a web-invite is a useful feature. Being able to get a link that opens. Like how when you go to

https://zoom.us/j/XXXXXXXXXXXXX?pwd=YYYYYYYYYYYY

you get redirected to

zoomtg://something

and then Zoom app launches, unless you don't have it installed in which case it links you to the installer. Something like that for Sonobus would be really helpful for onboarding users; over in XMPP land we're working on this right now.

It's a good idea, but doesn't have anything to do with Docker or a web app. Would you be willing to write up the proposal as a new issue?

Sorry, I wasn't trying to rain on your parade, I was mostly just trying to promote other good open source that fills that niche.

kousu avatar Mar 23 '21 02:03 kousu

yes that would be great!

reesericci avatar May 30 '21 14:05 reesericci

SonoBus already has a mechanism to share links that will launch the app and connect to it. When you press the "group name" button while connected, and select Copy Group Link, it will be copied to the clipboard and you can share it. You can also get the link from the Connect tab in the private groups section. The link is formatted like this: http://go.sonobus.net/sblaunch?s=aoo.sonobus.net&g=TestGroup&p=xxxxx

essej avatar May 30 '21 15:05 essej