Skip to content

Commit 4978ce5

Browse files
committed
fix: update repository URLs to github.com/BackendStack21/static-web
- Rename Go module path from github.com/static-web/server to github.com/BackendStack21/static-web in go.mod and all import paths - Update all prose references in README.md, USER_GUIDE.md, CLI.md: git clone URL, go install path, curl release URL, docker run image - Update .goreleaser.yaml ldflags version injection paths - Update Homebrew tap and ghcr.io image references
1 parent b5a2dc9 commit 4978ce5

File tree

20 files changed

+53
-53
lines changed

20 files changed

+53
-53
lines changed

.goreleaser.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ builds:
3131
- -trimpath
3232
ldflags:
3333
- -s -w
34-
- -X github.com/static-web/server/internal/version.Version={{.Version}}
35-
- -X github.com/static-web/server/internal/version.Commit={{.ShortCommit}}
36-
- -X github.com/static-web/server/internal/version.Date={{.Date}}
34+
- -X github.com/BackendStack21/static-web/internal/version.Version={{.Version}}
35+
- -X github.com/BackendStack21/static-web/internal/version.Commit={{.ShortCommit}}
36+
- -X github.com/BackendStack21/static-web/internal/version.Date={{.Date}}
3737

3838
archives:
3939
- id: default

CLI.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -276,29 +276,29 @@ static-web version
276276
### 1. `go install` (recommended for Go developers)
277277

278278
```bash
279-
go install github.com/static-web/server/cmd/static-web@latest
279+
go install github.com/BackendStack21/static-web/cmd/static-web@latest
280280
```
281281

282282
Requires Go 1.26+. Installs to `$(go env GOPATH)/bin/static-web`. Add `$(go env GOPATH)/bin` to your `PATH` if not already there.
283283

284284
### 2. Homebrew (macOS / Linux)
285285

286286
```bash
287-
brew install static-web/tap/static-web
287+
brew install BackendStack21/tap/static-web
288288
```
289289

290290
Or with the full tap URL:
291291

292292
```bash
293-
brew tap static-web/tap https://github.com/static-web/homebrew-tap
293+
brew tap BackendStack21/tap https://github.com/BackendStack21/homebrew-tap
294294
brew install static-web
295295
```
296296

297297
Auto-updates with `brew upgrade`.
298298

299299
### 3. Pre-built binaries (GitHub Releases)
300300

301-
Download a binary for your platform from the [GitHub Releases](https://github.com/static-web/server/releases) page. Binaries are published for:
301+
Download a binary for your platform from the [GitHub Releases](https://github.com/BackendStack21/static-web/releases) page. Binaries are published for:
302302

303303
| Platform | File |
304304
|----------|------|
@@ -312,7 +312,7 @@ Download a binary for your platform from the [GitHub Releases](https://github.co
312312

313313
```bash
314314
# Replace X.Y.Z with the desired version, and PLATFORM/ARCH with your system
315-
curl -fsSL https://github.com/static-web/server/releases/download/vX.Y.Z/static-web_linux_amd64.tar.gz \
315+
curl -fsSL https://github.com/BackendStack21/static-web/releases/download/vX.Y.Z/static-web_linux_amd64.tar.gz \
316316
| tar -xz -C /usr/local/bin static-web
317317
chmod +x /usr/local/bin/static-web
318318
```
@@ -339,7 +339,7 @@ curl -fsSL https://static-web.dev/install.sh | sh -s -- --version v1.2.3
339339
### 5. Docker
340340

341341
```bash
342-
docker run --rm -p 8080:8080 -v "$(pwd)/dist:/public:ro" ghcr.io/static-web/server:latest
342+
docker run --rm -p 8080:8080 -v "$(pwd)/dist:/public:ro" ghcr.io/BackendStack21/static-web:latest
343343
```
344344

345345
See `USER_GUIDE.md` for full Docker and docker-compose examples.
@@ -365,9 +365,9 @@ Build command:
365365

366366
```bash
367367
go build \
368-
-ldflags="-X github.com/static-web/server/internal/version.Version=v1.2.3 \
369-
-X github.com/static-web/server/internal/version.Commit=$(git rev-parse --short HEAD) \
370-
-X github.com/static-web/server/internal/version.Date=$(date -u +%Y-%m-%dT%H:%M:%SZ)" \
368+
-ldflags="-X github.com/BackendStack21/static-web/internal/version.Version=v1.2.3 \
369+
-X github.com/BackendStack21/static-web/internal/version.Commit=$(git rev-parse --short HEAD) \
370+
-X github.com/BackendStack21/static-web/internal/version.Date=$(date -u +%Y-%m-%dT%H:%M:%SZ)" \
371371
-o bin/static-web ./cmd/static-web
372372
```
373373

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ A production-grade, high-performance static web file server written in Go. Zero
2525

2626
```bash
2727
# Go install (requires Go 1.26+)
28-
go install github.com/static-web/server/cmd/static-web@latest
28+
go install github.com/BackendStack21/static-web/cmd/static-web@latest
2929

3030
# Serve the current directory
3131
static-web .

USER_GUIDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This guide covers everything you need to get `static-web` running in production
3434

3535
```bash
3636
# requires Go 1.26+
37-
git clone https://github.com/static-web/server.git
37+
git clone https://github.com/BackendStack21/static-web.git
3838
cd server
3939
make build # produces bin/static-web
4040
./bin/static-web # serves ./public on :8080
@@ -55,7 +55,7 @@ Point your browser at `http://localhost:8080`.
5555

5656
```bash
5757
# Or install directly with go install:
58-
go install github.com/static-web/server/cmd/static-web@latest
58+
go install github.com/BackendStack21/static-web/cmd/static-web@latest
5959
static-web .
6060
```
6161

cmd/static-web/main.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ import (
2222
"strconv"
2323
"strings"
2424

25-
"github.com/static-web/server/internal/cache"
26-
"github.com/static-web/server/internal/config"
27-
"github.com/static-web/server/internal/handler"
28-
"github.com/static-web/server/internal/server"
29-
"github.com/static-web/server/internal/version"
25+
"github.com/BackendStack21/static-web/internal/cache"
26+
"github.com/BackendStack21/static-web/internal/config"
27+
"github.com/BackendStack21/static-web/internal/handler"
28+
"github.com/BackendStack21/static-web/internal/server"
29+
"github.com/BackendStack21/static-web/internal/version"
3030
)
3131

3232
//go:embed config.toml.example

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/static-web/server
1+
module github.com/BackendStack21/static-web
22

33
go 1.26
44

internal/cache/cache_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"testing"
77
"time"
88

9-
"github.com/static-web/server/internal/cache"
9+
"github.com/BackendStack21/static-web/internal/cache"
1010
)
1111

1212
func makeFile(dataSize int) *cache.CachedFile {

internal/compress/compress.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"strings"
1111
"sync"
1212

13-
"github.com/static-web/server/internal/config"
13+
"github.com/BackendStack21/static-web/internal/config"
1414
)
1515

1616
// compressibleTypes is the set of MIME types eligible for compression.

internal/compress/compress_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"strings"
1111
"testing"
1212

13-
"github.com/static-web/server/internal/compress"
14-
"github.com/static-web/server/internal/config"
13+
"github.com/BackendStack21/static-web/internal/compress"
14+
"github.com/BackendStack21/static-web/internal/config"
1515
)
1616

1717
func TestIsCompressible(t *testing.T) {

internal/config/config_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"testing"
77
"time"
88

9-
"github.com/static-web/server/internal/config"
9+
"github.com/BackendStack21/static-web/internal/config"
1010
)
1111

1212
func TestLoadDefaults(t *testing.T) {

0 commit comments

Comments
 (0)