2024-09-17 16:55:01 +03:00
2024-09-17 12:34:16 +02:00
2024-09-15 14:17:33 +03:00
2024-09-17 12:34:16 +02:00
2024-08-22 11:11:02 +03:00
2024-08-22 11:11:02 +03:00
2024-09-17 16:55:01 +03:00
2024-09-15 13:10:11 +03:00
2024-08-22 11:11:02 +03:00
2024-09-15 16:38:03 +03:00

soundcloak

wip alternative frontend for soundcloud

official public instance

there is no image and audio proxy for now so beware

Setting it up

Prerequisites:

  1. node.js + npm (any recent enough version should do, it's just used for getting hls.js builds)
  2. golang (1.21 or higher was tested, others might work too)
  3. git

Setup:

  1. Clone this repository:
git clone https://github.com/maid-zone/soundcloak
  1. Go into the cloned repository:
cd soundcloak
  1. Download hls.js:
npm i
  1. Download templ:
go install github.com/a-h/templ/cmd/templ@latest
  1. Download other required go modules:
go get
  1. Optional. Edit config: You can change some values in lib/cfg/init.go if you want. Keep in mind that you need to rebuild the binary each time you want to update the config.

  2. Generate code from templates & build binary:

You might need to add go binaries to your PATH (add this line to your .bashrc / .zshrc / whatever)

export PATH=${PATH}:`go env GOPATH`/bin
templ generate && go build main.go
  1. Run the binary:
./main

This will run soundcloak on localhost, port 4664. (by default)

Description
Frontend for SoundCloud
Readme AGPL-3.0 964 KiB
Languages
Go 74.2%
templ 20.7%
JavaScript 2.5%
CSS 1.9%
Dockerfile 0.7%