From 2367a4d163bab9425e507dece33076043960853d Mon Sep 17 00:00:00 2001 From: Keval Kapdee Date: Sat, 18 Jan 2025 21:55:31 +0000 Subject: [PATCH] YottaPanda --- README.md | 2 +- cmd/main/main.go | 8 ++++---- examples/compose.yml | 2 +- go.mod | 2 +- internal/auth/authenticator.go | 2 +- internal/auth/spotify.go | 2 +- internal/model/model.go | 2 +- internal/routes/auth.go | 4 ++-- internal/routes/root.go | 8 ++++---- internal/routes/router.go | 6 +++--- internal/routes/sync.go | 6 +++--- internal/session/manager.go | 2 +- internal/sync/sync.go | 2 +- internal/views/page.go | 4 ++-- internal/views/root.go | 6 +++--- 15 files changed, 29 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 081ef4e..dffa62a 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ For some reason doing this has always been impossible; it has bugged me for year ## Usage -1. Go to [https://syncify.thechubbypanda.dev](https://syncify.thechubbypanda.dev) +1. Go to [https://syncify.yottapanda.com](https://syncify.yottapanda.com) 2. Press "Login with Spotify" 3. When prompted, allow access 4. Press the "Sync" button diff --git a/cmd/main/main.go b/cmd/main/main.go index 09d6268..e41f86b 100644 --- a/cmd/main/main.go +++ b/cmd/main/main.go @@ -3,10 +3,10 @@ package main import ( "encoding/gob" "github.com/sirupsen/logrus" - "github.com/thechubbypanda/syncify/internal/auth" - "github.com/thechubbypanda/syncify/internal/config" - "github.com/thechubbypanda/syncify/internal/routes" - "github.com/thechubbypanda/syncify/internal/session" + "github.com/yottapanda/syncify/internal/auth" + "github.com/yottapanda/syncify/internal/config" + "github.com/yottapanda/syncify/internal/routes" + "github.com/yottapanda/syncify/internal/session" "golang.org/x/oauth2" "net/http" ) diff --git a/examples/compose.yml b/examples/compose.yml index f63673a..c0db6c3 100644 --- a/examples/compose.yml +++ b/examples/compose.yml @@ -1,6 +1,6 @@ services: syncify: - image: ghcr.io/thechubbypanda/syncify:main + image: ghcr.io/yottapanda/syncify:main restart: unless-stopped user: 1000:1000 # Change to your user id (find using `id -u` and `id -g`) env_file: diff --git a/go.mod b/go.mod index c1ec176..2616023 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/thechubbypanda/syncify +module github.com/yottapanda/syncify go 1.23.3 diff --git a/internal/auth/authenticator.go b/internal/auth/authenticator.go index 284125c..a293143 100644 --- a/internal/auth/authenticator.go +++ b/internal/auth/authenticator.go @@ -1,7 +1,7 @@ package auth import ( - "github.com/thechubbypanda/syncify/internal/config" + "github.com/yottapanda/syncify/internal/config" "github.com/zmb3/spotify/v2/auth" ) diff --git a/internal/auth/spotify.go b/internal/auth/spotify.go index 46a5922..af203eb 100644 --- a/internal/auth/spotify.go +++ b/internal/auth/spotify.go @@ -2,7 +2,7 @@ package auth import ( "errors" - "github.com/thechubbypanda/syncify/internal/session" + "github.com/yottapanda/syncify/internal/session" "github.com/zmb3/spotify/v2" "golang.org/x/oauth2" "net/http" diff --git a/internal/model/model.go b/internal/model/model.go index 1e02267..10027c8 100644 --- a/internal/model/model.go +++ b/internal/model/model.go @@ -1,7 +1,7 @@ package model import ( - "github.com/thechubbypanda/syncify/internal/config" + "github.com/yottapanda/syncify/internal/config" "github.com/zmb3/spotify/v2" ) diff --git a/internal/routes/auth.go b/internal/routes/auth.go index f99bb8a..a82f9f4 100644 --- a/internal/routes/auth.go +++ b/internal/routes/auth.go @@ -2,8 +2,8 @@ package routes import ( "github.com/sirupsen/logrus" - "github.com/thechubbypanda/syncify/internal/auth" - "github.com/thechubbypanda/syncify/internal/session" + "github.com/yottapanda/syncify/internal/auth" + "github.com/yottapanda/syncify/internal/session" "net/http" ) diff --git a/internal/routes/root.go b/internal/routes/root.go index 3567af3..6bb0663 100644 --- a/internal/routes/root.go +++ b/internal/routes/root.go @@ -2,10 +2,10 @@ package routes import ( "github.com/sirupsen/logrus" - "github.com/thechubbypanda/syncify/internal/auth" - "github.com/thechubbypanda/syncify/internal/config" - "github.com/thechubbypanda/syncify/internal/model" - "github.com/thechubbypanda/syncify/internal/views" + "github.com/yottapanda/syncify/internal/auth" + "github.com/yottapanda/syncify/internal/config" + "github.com/yottapanda/syncify/internal/model" + "github.com/yottapanda/syncify/internal/views" "net/http" ) diff --git a/internal/routes/router.go b/internal/routes/router.go index 46106dd..1ab7d3d 100644 --- a/internal/routes/router.go +++ b/internal/routes/router.go @@ -5,9 +5,9 @@ import ( "github.com/go-chi/chi/v5" "github.com/go-chi/chi/v5/middleware" "github.com/sirupsen/logrus" - "github.com/thechubbypanda/syncify" - "github.com/thechubbypanda/syncify/internal/config" - "github.com/thechubbypanda/syncify/internal/session" + "github.com/yottapanda/syncify" + "github.com/yottapanda/syncify/internal/config" + "github.com/yottapanda/syncify/internal/session" "io/fs" "net/http" "strings" diff --git a/internal/routes/sync.go b/internal/routes/sync.go index 8827225..0153dd6 100644 --- a/internal/routes/sync.go +++ b/internal/routes/sync.go @@ -2,9 +2,9 @@ package routes import ( "github.com/sirupsen/logrus" - "github.com/thechubbypanda/syncify/internal/auth" - "github.com/thechubbypanda/syncify/internal/sync" - "github.com/thechubbypanda/syncify/internal/views" + "github.com/yottapanda/syncify/internal/auth" + "github.com/yottapanda/syncify/internal/sync" + "github.com/yottapanda/syncify/internal/views" "net/http" ) diff --git a/internal/session/manager.go b/internal/session/manager.go index d2daf6b..7893e5d 100644 --- a/internal/session/manager.go +++ b/internal/session/manager.go @@ -3,7 +3,7 @@ package session import ( "github.com/alexedwards/scs/v2" "github.com/alexedwards/scs/v2/memstore" - "github.com/thechubbypanda/syncify/internal/config" + "github.com/yottapanda/syncify/internal/config" "net/http" "strings" ) diff --git a/internal/sync/sync.go b/internal/sync/sync.go index dbf1801..ed2e6de 100644 --- a/internal/sync/sync.go +++ b/internal/sync/sync.go @@ -4,7 +4,7 @@ import ( "context" "errors" "github.com/sirupsen/logrus" - "github.com/thechubbypanda/syncify/internal/model" + "github.com/yottapanda/syncify/internal/model" "github.com/zmb3/spotify/v2" ) diff --git a/internal/views/page.go b/internal/views/page.go index 4687b8a..e139bea 100644 --- a/internal/views/page.go +++ b/internal/views/page.go @@ -1,7 +1,7 @@ package views import ( - "github.com/thechubbypanda/syncify/internal/model" + "github.com/yottapanda/syncify/internal/model" g "maragu.dev/gomponents" c "maragu.dev/gomponents/components" . "maragu.dev/gomponents/html" @@ -11,7 +11,7 @@ func Page(model model.Model, contents ...g.Node) g.Node { head := []g.Node{ Meta(Name("description"), Content("Sync your Spotify 'Liked Songs' playlist to a sharable one.")), Meta(Name("keywords"), Content("spotify, sync, likes, liked, songs, public, playlist")), - Meta(Name("author"), Content("Keval \"thechubbypanda\" Kapdee")), + Meta(Name("author"), Content("Keval \"yottapanda\" Kapdee")), Link(Rel("icon"), Href("/icon.png"), Type("image/svg+xml")), Script(Src("/vendor/htmx.2.0.4.min.js")), Link(Rel("stylesheet"), Href("/stylesheet.css"), Type("text/css")), diff --git a/internal/views/root.go b/internal/views/root.go index 7a7579d..fc60dbb 100644 --- a/internal/views/root.go +++ b/internal/views/root.go @@ -1,7 +1,7 @@ package views import ( - "github.com/thechubbypanda/syncify/internal/model" + "github.com/yottapanda/syncify/internal/model" g "maragu.dev/gomponents" hx "maragu.dev/gomponents-htmx" . "maragu.dev/gomponents/html" @@ -25,9 +25,9 @@ func Root(model model.Model) g.Node { Outcome(model.SyncOutcome), P( Class("absolute bottom-0 p-4 text-center"), - A(Class("text-green-500"), Href("https://github.com/thechubbypanda/syncify"), g.Text("Syncify")), + A(Class("text-green-500"), Href("https://github.com/yottapanda/syncify"), g.Text("Syncify")), g.Text(" is made with love by "), - A(Class("text-green-500"), Href("https://github.com/thechubbypanda"), g.Text("thechubbypanda")), + A(Class("text-green-500"), Href("https://github.com/yottapanda"), g.Text("yottapanda")), ), ), )