Skip to content

Commit

Permalink
YottaPanda
Browse files Browse the repository at this point in the history
  • Loading branch information
yottapanda committed Jan 18, 2025
1 parent 6c3cfde commit 2367a4d
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions cmd/main/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion examples/compose.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/thechubbypanda/syncify
module github.com/yottapanda/syncify

go 1.23.3

Expand Down
2 changes: 1 addition & 1 deletion internal/auth/authenticator.go
Original file line number Diff line number Diff line change
@@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/auth/spotify.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion internal/model/model.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package model

import (
"github.com/thechubbypanda/syncify/internal/config"
"github.com/yottapanda/syncify/internal/config"
"github.com/zmb3/spotify/v2"
)

Expand Down
4 changes: 2 additions & 2 deletions internal/routes/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
8 changes: 4 additions & 4 deletions internal/routes/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
6 changes: 3 additions & 3 deletions internal/routes/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions internal/routes/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/session/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/sync/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
4 changes: 2 additions & 2 deletions internal/views/page.go
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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")),
Expand Down
6 changes: 3 additions & 3 deletions internal/views/root.go
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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")),
),
),
)
Expand Down

0 comments on commit 2367a4d

Please sign in to comment.