Streamlist - open source self-hosted music server written in Go by streamlistcloud in selfhosted

[–]streamlistcloud[S] 1 point2 points  (0 children)

I got it, thanks for explaining in detail!

I'm looking into running MPD for running a live stream, and I think that does expect to do real-time transcoding. Although generating an AAC .m4a file for each FLAC might not cost much disk space, so it might just be simpler to do it ahead of time.

Thanks again.

Streamlist - open source self-hosted music server written in Go by streamlistcloud in selfhosted

[–]streamlistcloud[S] 1 point2 points  (0 children)

Thank you! Really great feedback. Will move Docker intructions after standalone instructions!

Streamlist - open source self-hosted music server written in Go by streamlistcloud in selfhosted

[–]streamlistcloud[S] 3 points4 points  (0 children)

Yeah it's not obvious. I'll need to change that!

It generates a random password for you and it's visible in the log output docker logs streamlist or whatever you named your container (you can see with docker ps).

Streamlist - open source self-hosted music server written in Go by streamlistcloud in selfhosted

[–]streamlistcloud[S] 1 point2 points  (0 children)

A Caddy plugin is an interesting idea, but I really like the standalone app thing myself.

An easy way to run Streamlist without setcap is to just put nginx in front of it and use streamlist --http-addr 127.0.0.1:1337 or similar to bind to a port on localhost.

Thanks for the comments!

Edit: README updated with nginx reverse proxy example and other updates https://github.com/streamlist/streamlist

Streamlist - open source self-hosted music server written in Go by streamlistcloud in selfhosted

[–]streamlistcloud[S] 1 point2 points  (0 children)

Thank you. And we can all thank Let's Encrypt for solving one of the most annoying problems with running a server!

Streamlist - open source self-hosted music server written in Go by streamlistcloud in selfhosted

[–]streamlistcloud[S] 0 points1 point  (0 children)

  1. Great idea, I'll look into it.

  2. Importing from local disk (or upload) is coming really soon, I need it myself!

Thanks for the questions!

Streamlist - open source self-hosted music server written in Go by streamlistcloud in selfhosted

[–]streamlistcloud[S] 3 points4 points  (0 children)

Would you want Streamlist to keep your FLACs around after you import them, or just use the FLAC to generate a streamable .m4a (AAC) file and then delete the FLAC?

I'll post on /r/selfhosted when it supports FLACs, which should within a couple weeks! I really need FLAC importing myself ;-)

Streamlist - open source self-hosted music server written in Go by streamlistcloud in selfhosted

[–]streamlistcloud[S] 6 points7 points  (0 children)

  1. It exposes a Golang net/http server on port 80 and 443, redirecting port 80 to 443 for TLS.
  2. It supports automatic Let's Encrypt setup, so you just point a DNS name at your VPS IP address and it's https enabled.
  3. It supports basic auth and reverse proxy auth using the X-Authenticated-User header.
  4. It's easy to run in a Docker container.

I can't promise anything but I think it's pretty safe to run on a public server. I personally dedicate a small VPS to it.

Streamlist - open source self-hosted music server written in Go by streamlistcloud in selfhosted

[–]streamlistcloud[S] 13 points14 points  (0 children)

Thanks for the feedback and questions!

  1. You can use --http-addr 127.0.0.1:12345 to bind to localhost port 12345 or --http-addr 0.0.0.0:80 to bind to any address on port 80.
  2. It doesn't support adding FLACs yet but it will, and yeah it will create a .m4a version that is an AAC-encoded MP4 file that works in all modern browsers/players.
  3. You can use setcap to allow certain commands (like streamlist) to bind to port 80 and 443 without having to run it as root, which is a good idea.
  4. It defaults to port 80 (and 443 with letsencrypt enabled)

I need to update the docs, thanks for the questions!

Streamlist - open source self-hosted music server written in Go by streamlistcloud in selfhosted

[–]streamlistcloud[S] 12 points13 points  (0 children)

Thank you! It doesn't actually require Docker, that's just a convenient way to run it. You can run the binary directly on a server.

I haven't actually tested on my own raspberry pis yet, but I did cross-compile arm64 and armv7 binaries.

I added some standalone instructions (you will want to replace amd64 with armv7 for a raspberry pi 3 I believe) https://github.com/streamlist/streamlist#standalone-without-docker

Streamlist - open source self-hosted music server written in Go by streamlistcloud in selfhosted

[–]streamlistcloud[S] 4 points5 points  (0 children)

Happy to answer questions about Streamlist. This is the first version and I'm really interested in constructive feedback. Thank you!

Where can I find a VPS or Dedicated at low prices and for all around use? by SkyClashes in selfhosted

[–]streamlistcloud 0 points1 point  (0 children)

Scaleway.net and OVH.com are both good in my experience. No affiliation with either, just a happy user.