diff --git a/assets/index.html b/assets/index.html index 8c643fd..1f6661f 100644 --- a/assets/index.html +++ b/assets/index.html @@ -29,7 +29,7 @@ Discover Playlists Preferences - Source code + Source code Legal notice diff --git a/docs/DEV_GUIDE.md b/docs/DEV_GUIDE.md index e079c98..ce44cfe 100644 --- a/docs/DEV_GUIDE.md +++ b/docs/DEV_GUIDE.md @@ -8,7 +8,7 @@ 1. Clone this repository: ```sh -git clone https://github.com/maid-zone/soundcloak +git clone https://git.maid.zone/stuff/soundcloak ``` 2. Go into the cloned repository: diff --git a/docs/INSTANCE_GUIDE.md b/docs/INSTANCE_GUIDE.md index 9eaa5e1..1dac837 100644 --- a/docs/INSTANCE_GUIDE.md +++ b/docs/INSTANCE_GUIDE.md @@ -7,7 +7,7 @@ You need to have [Docker](https://docker.com) and [Git](https://git-scm.com) ins 1. Clone this repository: ```sh -git clone https://github.com/maid-zone/soundcloak +git clone https://git.maid.zone/stuff/soundcloak ``` 2. Go into the cloned repository: @@ -167,4 +167,4 @@ Basic rules: Also, keep in mind that the instance list will periodically hit the `/_/info` endpoint on your instance (usually each 10 minutes) in order to display the instance settings. If you do not want this to happen, state it in your discussion/message, and I will exclude your instance from this checking. -The source code powering the instance list can be found [here](https://github.com/maid-zone/soundcloak-instances) +The source code powering the instance list can be found [here](https://git.maid.zone/stuff/soundcloak-instances) diff --git a/docs/OLD_README.md b/docs/OLD_README.md index d7f7174..86695ae 100644 --- a/docs/OLD_README.md +++ b/docs/OLD_README.md @@ -1,5 +1,6 @@ # soundcloak +# This readme is outdated wip alternative frontend for soundcloud # [Instance list](https://maid.zone/soundcloak/instances.html) diff --git a/go.mod b/go.mod index 43594fb..3fe150c 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/maid-zone/soundcloak +module git.maid.zone/stuff/soundcloak go 1.22.10 diff --git a/lib/misc/init.go b/lib/misc/init.go index 3d7da51..6395a6a 100644 --- a/lib/misc/init.go +++ b/lib/misc/init.go @@ -5,7 +5,7 @@ import ( "io" "sync" - "github.com/maid-zone/soundcloak/lib/cfg" + "git.maid.zone/stuff/soundcloak/lib/cfg" "github.com/valyala/fasthttp" ) diff --git a/lib/preferences/init.go b/lib/preferences/init.go index 0dca3be..61fe159 100644 --- a/lib/preferences/init.go +++ b/lib/preferences/init.go @@ -6,9 +6,9 @@ import ( "github.com/goccy/go-json" + "git.maid.zone/stuff/soundcloak/lib/cfg" + "git.maid.zone/stuff/soundcloak/templates" "github.com/gofiber/fiber/v2" - "github.com/maid-zone/soundcloak/lib/cfg" - "github.com/maid-zone/soundcloak/templates" ) func Defaults(dst *cfg.Preferences) { diff --git a/lib/proxy_images/init.go b/lib/proxy_images/init.go index 33431fb..da91430 100644 --- a/lib/proxy_images/init.go +++ b/lib/proxy_images/init.go @@ -3,10 +3,10 @@ package proxyimages import ( "bytes" + "git.maid.zone/stuff/soundcloak/lib/cfg" + "git.maid.zone/stuff/soundcloak/lib/misc" + "git.maid.zone/stuff/soundcloak/lib/sc" "github.com/gofiber/fiber/v2" - "github.com/maid-zone/soundcloak/lib/cfg" - "github.com/maid-zone/soundcloak/lib/misc" - "github.com/maid-zone/soundcloak/lib/sc" "github.com/valyala/fasthttp" ) diff --git a/lib/proxy_streams/init.go b/lib/proxy_streams/init.go index 97a653c..54644f3 100644 --- a/lib/proxy_streams/init.go +++ b/lib/proxy_streams/init.go @@ -4,10 +4,10 @@ import ( "bytes" "net/url" + "git.maid.zone/stuff/soundcloak/lib/cfg" + "git.maid.zone/stuff/soundcloak/lib/misc" + "git.maid.zone/stuff/soundcloak/lib/sc" "github.com/gofiber/fiber/v2" - "github.com/maid-zone/soundcloak/lib/cfg" - "github.com/maid-zone/soundcloak/lib/misc" - "github.com/maid-zone/soundcloak/lib/sc" "github.com/valyala/fasthttp" ) diff --git a/lib/restream/init.go b/lib/restream/init.go index 68b89cb..2c9c225 100644 --- a/lib/restream/init.go +++ b/lib/restream/init.go @@ -6,14 +6,14 @@ import ( "io" "sync" + "git.maid.zone/stuff/soundcloak/lib/cfg" + "git.maid.zone/stuff/soundcloak/lib/misc" + "git.maid.zone/stuff/soundcloak/lib/preferences" + "git.maid.zone/stuff/soundcloak/lib/sc" "github.com/bogem/id3v2/v2" "github.com/gcottom/mp4meta" "github.com/gcottom/oggmeta" "github.com/gofiber/fiber/v2" - "github.com/maid-zone/soundcloak/lib/cfg" - "github.com/maid-zone/soundcloak/lib/misc" - "github.com/maid-zone/soundcloak/lib/preferences" - "github.com/maid-zone/soundcloak/lib/sc" "github.com/valyala/fasthttp" ) diff --git a/lib/sc/featured.go b/lib/sc/featured.go index 71f83e2..7aad8ff 100644 --- a/lib/sc/featured.go +++ b/lib/sc/featured.go @@ -1,6 +1,6 @@ package sc -import "github.com/maid-zone/soundcloak/lib/cfg" +import "git.maid.zone/stuff/soundcloak/lib/cfg" // Functions/structions related to featured/suggested content diff --git a/lib/sc/init.go b/lib/sc/init.go index 50d61a7..75be33a 100644 --- a/lib/sc/init.go +++ b/lib/sc/init.go @@ -9,10 +9,10 @@ import ( "syscall" "time" + "git.maid.zone/stuff/soundcloak/lib/cfg" + "git.maid.zone/stuff/soundcloak/lib/misc" "github.com/dlclark/regexp2" "github.com/goccy/go-json" - "github.com/maid-zone/soundcloak/lib/cfg" - "github.com/maid-zone/soundcloak/lib/misc" "github.com/valyala/fasthttp" ) diff --git a/lib/sc/playlist.go b/lib/sc/playlist.go index 702a207..6fbc440 100644 --- a/lib/sc/playlist.go +++ b/lib/sc/playlist.go @@ -7,7 +7,7 @@ import ( "sync" "time" - "github.com/maid-zone/soundcloak/lib/cfg" + "git.maid.zone/stuff/soundcloak/lib/cfg" ) var PlaylistsCache = map[string]cached[Playlist]{} diff --git a/lib/sc/track.go b/lib/sc/track.go index bf02a0e..b1b60df 100644 --- a/lib/sc/track.go +++ b/lib/sc/track.go @@ -9,9 +9,9 @@ import ( "sync" "time" + "git.maid.zone/stuff/soundcloak/lib/cfg" + "git.maid.zone/stuff/soundcloak/lib/misc" "github.com/goccy/go-json" - "github.com/maid-zone/soundcloak/lib/cfg" - "github.com/maid-zone/soundcloak/lib/misc" "github.com/valyala/fasthttp" ) diff --git a/lib/sc/user.go b/lib/sc/user.go index 0d1c925..62a1182 100644 --- a/lib/sc/user.go +++ b/lib/sc/user.go @@ -8,9 +8,9 @@ import ( "sync" "time" + "git.maid.zone/stuff/soundcloak/lib/cfg" + "git.maid.zone/stuff/soundcloak/lib/textparsing" "github.com/goccy/go-json" - "github.com/maid-zone/soundcloak/lib/cfg" - "github.com/maid-zone/soundcloak/lib/textparsing" "github.com/valyala/fasthttp" ) diff --git a/main.go b/main.go index 8f1fe4c..5207e79 100644 --- a/main.go +++ b/main.go @@ -14,13 +14,13 @@ import ( "github.com/gofiber/fiber/v2/middleware/recover" "github.com/valyala/fasthttp" - "github.com/maid-zone/soundcloak/lib/cfg" - "github.com/maid-zone/soundcloak/lib/preferences" - proxyimages "github.com/maid-zone/soundcloak/lib/proxy_images" - proxystreams "github.com/maid-zone/soundcloak/lib/proxy_streams" - "github.com/maid-zone/soundcloak/lib/restream" - "github.com/maid-zone/soundcloak/lib/sc" - "github.com/maid-zone/soundcloak/templates" + "git.maid.zone/stuff/soundcloak/lib/cfg" + "git.maid.zone/stuff/soundcloak/lib/preferences" + proxyimages "git.maid.zone/stuff/soundcloak/lib/proxy_images" + proxystreams "git.maid.zone/stuff/soundcloak/lib/proxy_streams" + "git.maid.zone/stuff/soundcloak/lib/restream" + "git.maid.zone/stuff/soundcloak/lib/sc" + "git.maid.zone/stuff/soundcloak/templates" ) // see build script/dockerfile diff --git a/templates/base.templ b/templates/base.templ index ece6b96..30d9fdf 100644 --- a/templates/base.templ +++ b/templates/base.templ @@ -1,8 +1,8 @@ package templates import ( - "github.com/maid-zone/soundcloak/lib/cfg" - "github.com/maid-zone/soundcloak/lib/textparsing" + "git.maid.zone/stuff/soundcloak/lib/cfg" + "git.maid.zone/stuff/soundcloak/lib/textparsing" ) templ Base(title string, content templ.Component, head templ.Component) { diff --git a/templates/featured.templ b/templates/featured.templ index 0c4b16c..5d53dd6 100644 --- a/templates/featured.templ +++ b/templates/featured.templ @@ -1,7 +1,7 @@ package templates import ( - "github.com/maid-zone/soundcloak/lib/sc" + "git.maid.zone/stuff/soundcloak/lib/sc" "net/url" "strings" "strconv" diff --git a/templates/playlist.templ b/templates/playlist.templ index c8779c5..3a64e37 100644 --- a/templates/playlist.templ +++ b/templates/playlist.templ @@ -1,8 +1,8 @@ package templates import ( - "github.com/maid-zone/soundcloak/lib/cfg" - "github.com/maid-zone/soundcloak/lib/sc" + "git.maid.zone/stuff/soundcloak/lib/cfg" + "git.maid.zone/stuff/soundcloak/lib/sc" "net/url" "strconv" "strings" diff --git a/templates/preferences.templ b/templates/preferences.templ index c8a8315..79d40a5 100644 --- a/templates/preferences.templ +++ b/templates/preferences.templ @@ -1,6 +1,6 @@ package templates -import "github.com/maid-zone/soundcloak/lib/cfg" +import "git.maid.zone/stuff/soundcloak/lib/cfg" templ checkbox(name string, checked bool) { if checked { diff --git a/templates/tags.templ b/templates/tags.templ index c0f3626..976565d 100644 --- a/templates/tags.templ +++ b/templates/tags.templ @@ -1,7 +1,7 @@ package templates import ( - "github.com/maid-zone/soundcloak/lib/sc" + "git.maid.zone/stuff/soundcloak/lib/sc" "net/url" "strings" "strconv" diff --git a/templates/track.templ b/templates/track.templ index fdec964..da34f5c 100644 --- a/templates/track.templ +++ b/templates/track.templ @@ -1,8 +1,8 @@ package templates import ( - "github.com/maid-zone/soundcloak/lib/cfg" - "github.com/maid-zone/soundcloak/lib/sc" + "git.maid.zone/stuff/soundcloak/lib/cfg" + "git.maid.zone/stuff/soundcloak/lib/sc" "net/url" "strconv" "strings" diff --git a/templates/user.templ b/templates/user.templ index 8201da2..cdc4c0e 100644 --- a/templates/user.templ +++ b/templates/user.templ @@ -1,8 +1,8 @@ package templates import ( - "github.com/maid-zone/soundcloak/lib/cfg" - "github.com/maid-zone/soundcloak/lib/sc" + "git.maid.zone/stuff/soundcloak/lib/cfg" + "git.maid.zone/stuff/soundcloak/lib/sc" "net/url" "strconv" "strings"