From c3769fe7f10b714e999b839d8c31ffd79923d4f7 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Fri, 23 Jan 2026 09:08:59 -0500 Subject: [PATCH] refactor: rename project back from shelf to bookmann - Change Go module name back from 'shelf' to 'bookmann' - Update all import paths back to 'bookmann' module - Update README.md project name back to 'Bookmann' - Update docker-compose.yml container names back to 'bookmann' and 'bookmann_db' - Regenerate database code with restored module imports --- README.md | 6 +++--- docker-compose.yml | 4 ++-- go.mod | 2 +- internal/handlers/auth.go | 2 +- internal/handlers/ebook.go | 4 ++-- internal/services/ebook_scanner.go | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 3586324..f22657d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# 📚 Shelf +# 📚 Bookmann -A self-hosted ebook management system built with Go, PostgreSQL, HTMX, and Tailwind CSS featuring multiple beautiful dark themes with Tokyo Night as default. Smart folder scanning with real-time monitoring and rich EPUB metadata extraction. +A self-hosted ebook management system built with Go, PostgreSQL, HTMX, and Tailwind CSS (fully integrated into a single service) featuring multiple beautiful dark themes with Tokyo Night as default. ## ✨ Features @@ -35,7 +35,7 @@ A self-hosted ebook management system built with Go, PostgreSQL, HTMX, and Tailw docker-compose up --build ``` -3. Access Shelf at http://localhost:8765 +3. Access the application at http://localhost:8765 ### Database diff --git a/docker-compose.yml b/docker-compose.yml index a19cab4..526b9ac 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,7 @@ version: "3.8" services: db: image: postgres:15-alpine - container_name: shelf_db + container_name: bookmann_db environment: POSTGRES_DB: ebookdb POSTGRES_USER: postgres @@ -25,7 +25,7 @@ services: build: context: . dockerfile: ./Dockerfile - container_name: shelf + container_name: bookmann environment: DATABASE_HOST: db DATABASE_PORT: 5432 diff --git a/go.mod b/go.mod index 6e35106..80a7958 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module shelf +module bookmann go 1.25 diff --git a/internal/handlers/auth.go b/internal/handlers/auth.go index 5bf2d83..cb28537 100644 --- a/internal/handlers/auth.go +++ b/internal/handlers/auth.go @@ -1,7 +1,7 @@ package handlers import ( - "shelf/internal/database" + "bookmann/internal/database" "fmt" "net/http" "time" diff --git a/internal/handlers/ebook.go b/internal/handlers/ebook.go index e2c0402..4298973 100644 --- a/internal/handlers/ebook.go +++ b/internal/handlers/ebook.go @@ -1,8 +1,8 @@ package handlers import ( - "shelf/internal/database" - "shelf/internal/services" + "bookmann/internal/database" + "bookmann/internal/services" "context" "net/http" "strconv" diff --git a/internal/services/ebook_scanner.go b/internal/services/ebook_scanner.go index cfc462e..62b183e 100644 --- a/internal/services/ebook_scanner.go +++ b/internal/services/ebook_scanner.go @@ -1,7 +1,7 @@ package services import ( - "shelf/internal/database" + "bookmann/internal/database" "context" "fmt" "io/fs"