From 8eaee0be8c6ab4ecb5a2b539d6ac44d5d84e0697 Mon Sep 17 00:00:00 2001 From: Adekabang Date: Mon, 29 Sep 2025 20:26:44 -0400 Subject: [PATCH] refactor: update project references from Adekabang to khairul169 - Change Docker image references in docker-compose.yml and documentation - Update Go module path and import statements in backend code - Modify build script to reflect new image name - Remove outdated copyright information from LICENSE file --- .github/workflows/README.md | 6 +++--- .github/workflows/release.yml | 2 +- LICENSE | 1 - backend/go.mod | 2 +- backend/main.go | 6 +++--- backend/middleware/auth.go | 2 +- backend/router/auth.go | 2 +- backend/router/browse.go | 4 ++-- backend/router/buckets.go | 4 ++-- backend/router/config.go | 2 +- backend/router/proxy.go | 2 +- backend/router/router.go | 2 +- backend/utils/garage.go | 2 +- docker-compose.yml | 2 +- docs/STYLE_GUIDE.md | 4 ++-- docs/garage-webui-management-docs.md | 8 ++++---- misc/build-docker.sh | 2 +- 17 files changed, 26 insertions(+), 27 deletions(-) diff --git a/.github/workflows/README.md b/.github/workflows/README.md index e0d94ae..57c5b3f 100644 --- a/.github/workflows/README.md +++ b/.github/workflows/README.md @@ -24,9 +24,9 @@ When a new tag is pushed, the workflow will: ## Docker Images The Docker images will be available at: -- `ghcr.io/adekabang/garage-ui:latest` -- `ghcr.io/adekabang/garage-ui:X.Y.Z` (version tag) -- `ghcr.io/adekabang/garage-ui:X.Y` (major.minor tag) +- `ghcr.io/khairul169/garage-webui:latest` +- `ghcr.io/khairul169/garage-webui:X.Y.Z` (version tag) +- `ghcr.io/khairul169/garage-webui:X.Y` (major.minor tag) ## Binaries diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 645ac3c..fdf92fc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ on: env: REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }} - DOCKER_HUB_REGISTRY: adekabang/garage-webui + DOCKER_HUB_REGISTRY: khairul169/garage-webui jobs: build-and-push-image: diff --git a/LICENSE b/LICENSE index 762991a..cff9c6f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,6 @@ MIT License Copyright (c) 2024-2025 Khairul Hidayat -Copyright (c) 2025 Mohammad Raska (Adekabang) - Garage Web UI v2 upgrade Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/backend/go.mod b/backend/go.mod index 72397c5..0423efc 100644 --- a/backend/go.mod +++ b/backend/go.mod @@ -1,4 +1,4 @@ -module Adekabang/garage-webui +module khairul169/garage-webui go 1.23.0 diff --git a/backend/main.go b/backend/main.go index 32f54cd..a69ffbe 100644 --- a/backend/main.go +++ b/backend/main.go @@ -1,10 +1,10 @@ package main import ( - "Adekabang/garage-webui/router" - "Adekabang/garage-webui/ui" - "Adekabang/garage-webui/utils" "fmt" + "khairul169/garage-webui/router" + "khairul169/garage-webui/ui" + "khairul169/garage-webui/utils" "log" "net/http" "os" diff --git a/backend/middleware/auth.go b/backend/middleware/auth.go index 6fed384..9c8bbc1 100644 --- a/backend/middleware/auth.go +++ b/backend/middleware/auth.go @@ -1,8 +1,8 @@ package middleware import ( - "Adekabang/garage-webui/utils" "errors" + "khairul169/garage-webui/utils" "net/http" ) diff --git a/backend/router/auth.go b/backend/router/auth.go index 6c038d3..9c425ab 100644 --- a/backend/router/auth.go +++ b/backend/router/auth.go @@ -1,9 +1,9 @@ package router import ( - "Adekabang/garage-webui/utils" "encoding/json" "errors" + "khairul169/garage-webui/utils" "net/http" "strings" diff --git a/backend/router/browse.go b/backend/router/browse.go index 29e3896..5df5acb 100644 --- a/backend/router/browse.go +++ b/backend/router/browse.go @@ -1,13 +1,13 @@ package router import ( - "Adekabang/garage-webui/schema" - "Adekabang/garage-webui/utils" "context" "encoding/json" "errors" "fmt" "io" + "khairul169/garage-webui/schema" + "khairul169/garage-webui/utils" "net/http" "strconv" "strings" diff --git a/backend/router/buckets.go b/backend/router/buckets.go index d2aeacc..bbd92b2 100644 --- a/backend/router/buckets.go +++ b/backend/router/buckets.go @@ -1,10 +1,10 @@ package router import ( - "Adekabang/garage-webui/schema" - "Adekabang/garage-webui/utils" "encoding/json" "fmt" + "khairul169/garage-webui/schema" + "khairul169/garage-webui/utils" "net/http" ) diff --git a/backend/router/config.go b/backend/router/config.go index 384cb92..aca0155 100644 --- a/backend/router/config.go +++ b/backend/router/config.go @@ -1,7 +1,7 @@ package router import ( - "Adekabang/garage-webui/utils" + "khairul169/garage-webui/utils" "net/http" ) diff --git a/backend/router/proxy.go b/backend/router/proxy.go index 25894f2..73c6a16 100644 --- a/backend/router/proxy.go +++ b/backend/router/proxy.go @@ -1,8 +1,8 @@ package router import ( - "Adekabang/garage-webui/utils" "fmt" + "khairul169/garage-webui/utils" "net/http" "net/http/httputil" "net/url" diff --git a/backend/router/router.go b/backend/router/router.go index d4c1b5a..1cf3134 100644 --- a/backend/router/router.go +++ b/backend/router/router.go @@ -1,7 +1,7 @@ package router import ( - "Adekabang/garage-webui/middleware" + "khairul169/garage-webui/middleware" "net/http" ) diff --git a/backend/utils/garage.go b/backend/utils/garage.go index ca691a9..bde29ab 100644 --- a/backend/utils/garage.go +++ b/backend/utils/garage.go @@ -1,12 +1,12 @@ package utils import ( - "Adekabang/garage-webui/schema" "bytes" "encoding/json" "errors" "fmt" "io" + "khairul169/garage-webui/schema" "log" "net/http" "os" diff --git a/docker-compose.yml b/docker-compose.yml index e1e4588..a314487 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,7 +14,7 @@ services: - 3903:3903 webui: - image: ghcr.io/adekabang/garage-webui:latest + image: ghcr.io/khairul169/garage-webui:latest container_name: garage-webui restart: unless-stopped volumes: diff --git a/docs/STYLE_GUIDE.md b/docs/STYLE_GUIDE.md index 403ccaf..1f8bcb0 100644 --- a/docs/STYLE_GUIDE.md +++ b/docs/STYLE_GUIDE.md @@ -741,8 +741,8 @@ import ( "github.com/aws/aws-sdk-go-v2/service/s3" "github.com/joho/godotenv" - "Adekabang/garage-webui/schema" - "Adekabang/garage-webui/utils" + "khairul169/garage-webui/schema" + "khairul169/garage-webui/utils" ) ``` diff --git a/docs/garage-webui-management-docs.md b/docs/garage-webui-management-docs.md index 8b9dfbc..5cfaccd 100644 --- a/docs/garage-webui-management-docs.md +++ b/docs/garage-webui-management-docs.md @@ -137,7 +137,7 @@ services: - 3903:3903 # Admin API webui: - image: adekabang/garage-webui:latest + image: khairul169/garage-webui:latest volumes: - ./garage.toml:/etc/garage.toml:ro ports: @@ -154,14 +154,14 @@ docker run -p 3909:3909 \ -v ./garage.toml:/etc/garage.toml:ro \ -e API_BASE_URL="http://garage-host:3903" \ -e API_ADMIN_KEY="your-admin-token" \ - adekabang/garage-webui:latest + khairul169/garage-webui:latest ``` ### 🖥️ Binary Deployment ```bash # Download the binary file -wget -O garage-webui https://github.com/Adekabang/garage-webui/releases/download/1.0.9/garage-webui-v1.0.9-linux-amd64 +wget -O garage-webui https://github.com/khairul169/garage-webui/releases/download/1.0.9/garage-webui-v1.0.9-linux-amd64 chmod +x garage-webui # Run the service @@ -300,7 +300,7 @@ scrape_configs: ```bash # Clone the project -git clone https://github.com/Adekabang/garage-webui.git +git clone https://github.com/khairul169/garage-webui.git cd garage-webui # Install frontend dependencies diff --git a/misc/build-docker.sh b/misc/build-docker.sh index db80aca..5716288 100755 --- a/misc/build-docker.sh +++ b/misc/build-docker.sh @@ -2,7 +2,7 @@ set -e -IMAGE_NAME="adekabang/garage-webui" +IMAGE_NAME="khairul169/garage-webui" PACKAGE_VERSION=$(cat package.json | grep \"version\" | cut -d'"' -f 4) echo "Building version $PACKAGE_VERSION"