From 9bb7c72c1a15b94be4540dba34a06053c5deb41b Mon Sep 17 00:00:00 2001 From: Esa Kataja Date: Sun, 21 Jun 2026 19:02:06 +0300 Subject: [PATCH] refactor: rename project videnc-vibe -> av1dae MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rename the Go module, the cmd/ entrypoint dir, the binary, the default config dir (~/.config/av1dae/), the Docker image/compose service, and all docs and the dashboard wordmark. No behavioral change — import paths and identifiers only. --- .dockerignore | 2 +- .gitignore | 4 ++-- CLAUDE.md | 16 ++++++++-------- Dockerfile | 6 +++--- MANUAL.html | 28 ++++++++++++++-------------- MANUAL.md | 18 +++++++++--------- SPEC.md | 6 +++--- cmd/{videnc => av1dae}/main.go | 22 +++++++++++----------- docker-compose.yml | 4 ++-- go.mod | 2 +- internal/config/config.go | 4 ++-- internal/encoder/encoder.go | 6 +++--- internal/metadata/metadata.go | 4 ++-- internal/server/index.html | 4 ++-- internal/server/server.go | 6 +++--- internal/watcher/watcher.go | 2 +- 16 files changed, 67 insertions(+), 67 deletions(-) rename cmd/{videnc => av1dae}/main.go (95%) diff --git a/.dockerignore b/.dockerignore index 2f68476..684081e 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,4 @@ -videnc-vibe +av1dae *.mkv *.mp4 *.wav diff --git a/.gitignore b/.gitignore index df33c17..d80536f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ -videnc-vibe -videnc-vibe-dev +av1dae +av1dae-dev *.mkv *.mp4 *.wav diff --git a/CLAUDE.md b/CLAUDE.md index 8aa2cbd..eb0a186 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,6 +1,6 @@ # AGENTS.md -This file provides guidance for agents operating in the videnc-vibe repository. +This file provides guidance for agents operating in the av1dae repository. ## Project Overview @@ -10,14 +10,14 @@ Go-based CLI tool for transcoding DVD/Blu-ray to SVT-AV1 with automatic metadata ```bash # Build binary -go build -o videnc-vibe ./cmd/videnc/ +go build -o av1dae ./cmd/av1dae/ # Run binary -./videnc-vibe +./av1dae # With flags -./videnc-vibe -d # Delete original after encode -./videnc-vibe -c /path/to/config.yaml +./av1dae -d # Delete original after encode +./av1dae -c /path/to/config.yaml ``` ## Code Style Guidelines @@ -29,7 +29,7 @@ go build -o videnc-vibe ./cmd/videnc/ ### Imports - Group imports: standard library, external packages, internal packages -- Use aliases for packages: `"videnc-vibe/pkg/types"` +- Use aliases for packages: `"av1dae/pkg/types"` ```go import ( @@ -37,7 +37,7 @@ import ( "os" "gopkg.in/yaml.v3" - "videnc-vibe/pkg/types" + "av1dae/pkg/types" ) ``` @@ -84,7 +84,7 @@ Example: `add: add command line argument support` ## Project Structure ``` -cmd/videnc/main.go # CLI entrypoint +cmd/av1dae/main.go # CLI entrypoint internal/ config/ # Config loading watcher/ # Folder polling diff --git a/Dockerfile b/Dockerfile index 04397f2..e0399c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,15 +4,15 @@ WORKDIR /src COPY go.mod go.sum ./ RUN go mod download COPY . . -RUN CGO_ENABLED=1 go build -ldflags="-s -w" -o /videnc-vibe ./cmd/videnc/ +RUN CGO_ENABLED=1 go build -ldflags="-s -w" -o /av1dae ./cmd/av1dae/ FROM debian:bookworm-slim # ffmpeg gives ffmpeg+ffprobe; opus-tools gives opusenc; ca-certificates for OMDb/TVmaze HTTPS. RUN apt-get update && apt-get install -y --no-install-recommends \ ffmpeg opus-tools ca-certificates \ && rm -rf /var/lib/apt/lists/* -COPY --from=build /videnc-vibe /usr/local/bin/videnc-vibe +COPY --from=build /av1dae /usr/local/bin/av1dae # logs.db + log files land in the working dir — make it the mounted /data so they persist. WORKDIR /data EXPOSE 8080 -ENTRYPOINT ["videnc-vibe", "-c", "/config/config.yaml"] +ENTRYPOINT ["av1dae", "-c", "/config/config.yaml"] diff --git a/MANUAL.html b/MANUAL.html index 811ea3a..c8386e7 100644 --- a/MANUAL.html +++ b/MANUAL.html @@ -3,7 +3,7 @@ -videnc·vibe — User Manual +av1dae — User Manual