Skip to content
This repository was archived by the owner on May 1, 2026. It is now read-only.

Commit cc48492

Browse files
authored
Merge pull request #8 from rwlove/claude/rebrand-workout-diary
Rebrand: Exercise Diary → Workout Diary
2 parents a8f442f + ea3b3e5 commit cc48492

39 files changed

Lines changed: 88 additions & 145 deletions

.github/workflows/container-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
include:
25-
- image: exercisediary-api
25+
- image: workoutdiary-api
2626
dockerfile: Dockerfile.api
27-
description: "ExerciseDiary JSON API backend"
28-
- image: exercisediary-frontend
27+
description: "WorkoutDiary JSON API backend"
28+
- image: workoutdiary-frontend
2929
dockerfile: Dockerfile.frontend
30-
description: "ExerciseDiary web frontend (connects to API backend)"
30+
description: "WorkoutDiary web frontend (connects to API backend)"
3131

3232
steps:
3333
- name: Checkout repository

.goreleaser.yaml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
project_name: ExerciseDiary
1+
project_name: WorkoutDiary
22
builds:
33
- id: api
44
main: ./cmd/api/
5-
binary: exercisediary-api
5+
binary: workoutdiary-api
66
env: [CGO_ENABLED=0]
77
goos:
88
- linux
@@ -23,7 +23,7 @@ builds:
2323

2424
- id: frontend
2525
main: ./cmd/frontend/
26-
binary: exercisediary-frontend
26+
binary: workoutdiary-frontend
2727
env: [CGO_ENABLED=0]
2828
goos:
2929
- linux
@@ -45,21 +45,14 @@ builds:
4545
nfpms:
4646
- maintainer: aceberg <aceberg_a@proton.me>
4747
description: Workout diary with GitHub-style year visualization
48-
homepage: https://github.com/aceberg/ExerciseDiary
48+
homepage: https://github.com/rwlove/WorkoutDiary
4949
license: MIT
5050
section: utils
5151
formats:
5252
- deb
5353
- rpm
5454
- apk
5555
- termux.deb
56-
contents:
57-
- src: ./configs/exercisediary-api.service
58-
dst: /lib/systemd/system/exercisediary-api.service
59-
- src: ./configs/exercisediary-frontend.service
60-
dst: /lib/systemd/system/exercisediary-frontend.service
61-
scripts:
62-
postinstall: ./configs/postinstall.sh
6356

6457
archives:
6558
- files:

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
44

55
## [0.1.9] - 2024-10-26
66
### Changed
7-
- All weights are decimal now [#4](https://github.com/aceberg/ExerciseDiary/issues/4)
7+
- All weights are decimal now [#4](https://github.com/rwlove/WorkoutDiary/issues/4)
88

99
### Added
1010
- New themes: grayscale, ocean, wood

Dockerfile.api

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ FROM golang:alpine AS builder
22

33
RUN apk add --no-cache build-base
44
COPY . /src
5-
RUN cd /src && CGO_ENABLED=0 go build -o /exercisediary-api ./cmd/api
5+
RUN cd /src && CGO_ENABLED=0 go build -o /workoutdiary-api ./cmd/api
66

77
FROM scratch
88

9-
WORKDIR /data/ExerciseDiary
9+
WORKDIR /data/WorkoutDiary
1010
WORKDIR /app
1111

12-
COPY --from=builder /exercisediary-api /app/
12+
COPY --from=builder /workoutdiary-api /app/
1313

14-
ENTRYPOINT ["./exercisediary-api"]
14+
ENTRYPOINT ["./workoutdiary-api"]

Dockerfile.frontend

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
FROM golang:alpine AS builder
22

33
COPY . /src
4-
RUN cd /src && CGO_ENABLED=0 go build -o /exercisediary-frontend ./cmd/frontend
4+
RUN cd /src && CGO_ENABLED=0 go build -o /workoutdiary-frontend ./cmd/frontend
55

66
FROM scratch
77

8-
WORKDIR /data/ExerciseDiary
8+
WORKDIR /data/WorkoutDiary
99
WORKDIR /app
1010

11-
COPY --from=builder /exercisediary-frontend /app/
11+
COPY --from=builder /workoutdiary-frontend /app/
1212

13-
ENTRYPOINT ["./exercisediary-frontend"]
13+
ENTRYPOINT ["./workoutdiary-frontend"]

README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
[![Publish Container Images](https://github.com/rwlove/ExerciseDiary/actions/workflows/container-publish.yml/badge.svg)](https://github.com/rwlove/ExerciseDiary/actions/workflows/container-publish.yml)
2-
[![Go Report Card](https://goreportcard.com/badge/github.com/aceberg/exercisediary)](https://goreportcard.com/report/github.com/aceberg/exercisediary)
1+
[![Publish Container Images](https://github.com/rwlove/WorkoutDiary/actions/workflows/container-publish.yml/badge.svg)](https://github.com/rwlove/WorkoutDiary/actions/workflows/container-publish.yml)
2+
[![Go Report Card](https://goreportcard.com/badge/github.com/aceberg/workoutdiary)](https://goreportcard.com/report/github.com/aceberg/workoutdiary)
33

4-
<h1><a href="https://github.com/rwlove/ExerciseDiary">
5-
<img src="https://raw.githubusercontent.com/aceberg/exercisediary/main/assets/logo.png" width="35" />
6-
</a>Exercise Diary</h1>
4+
<h1><a href="https://github.com/rwlove/WorkoutDiary">
5+
<img src="https://raw.githubusercontent.com/aceberg/workoutdiary/main/assets/logo.png" width="35" />
6+
</a>Workout Diary</h1>
77

88
Workout diary with GitHub-style year visualization. Log daily sets, track body weight, and visualize training history with intensity heatmaps.
99

@@ -19,11 +19,11 @@ Workout diary with GitHub-style year visualization. Log daily sets, track body w
1919

2020
## Architecture
2121

22-
Exercise Diary runs as two independent services:
22+
Workout Diary runs as two independent services:
2323

2424
```
2525
┌──────────────────────────┐ ┌──────────────────────────┐
26-
exercisediary-frontend │─HTTP──▶│ exercisediary-api │
26+
workoutdiary-frontend │─HTTP──▶│ workoutdiary-api │
2727
│ Web UI (default :8080) │ │ JSON API (default :8851│
2828
└──────────────────────────┘ └───────────┬──────────────┘
2929
@@ -32,8 +32,8 @@ Exercise Diary runs as two independent services:
3232

3333
| Service | Image | Description |
3434
|---|---|---|
35-
| API backend | `ghcr.io/rwlove/exercisediary-api` | Owns the SQLite database, exposes a JSON REST API |
36-
| Web frontend | `ghcr.io/rwlove/exercisediary-frontend` | Serves the browser UI, talks to the API over HTTP |
35+
| API backend | `ghcr.io/rwlove/workoutdiary-api` | Owns the SQLite database, exposes a JSON REST API |
36+
| Web frontend | `ghcr.io/rwlove/workoutdiary-frontend` | Serves the browser UI, talks to the API over HTTP |
3737

3838
## Quick start
3939

@@ -44,17 +44,17 @@ docker compose up
4444
Or run each service manually:
4545

4646
```sh
47-
# Start the API backend (stores data in /data/ExerciseDiary)
47+
# Start the API backend (stores data in /data/WorkoutDiary)
4848
docker run --name exdiary-api \
49-
-v ~/.dockerdata/ExerciseDiary:/data/ExerciseDiary \
49+
-v ~/.dockerdata/WorkoutDiary:/data/WorkoutDiary \
5050
-p 8851:8851 \
51-
ghcr.io/rwlove/exercisediary-api
51+
ghcr.io/rwlove/workoutdiary-api
5252

5353
# Start the web frontend
5454
docker run --name exdiary-frontend \
5555
-e API_URL=http://<YOUR_HOST_IP>:8851 \
5656
-p 8080:8080 \
57-
ghcr.io/rwlove/exercisediary-frontend
57+
ghcr.io/rwlove/workoutdiary-frontend
5858
```
5959

6060
Then open **http://localhost:8080** in your browser.
@@ -63,13 +63,13 @@ Then open **http://localhost:8080** in your browser.
6363

6464
Both services are configured exclusively via environment variables. No config file is required.
6565

66-
### API server (`exercisediary-api`)
66+
### API server (`workoutdiary-api`)
6767

6868
| Variable | Description | Default |
6969
|---|---|---|
7070
| `PORT` | Listen port | `8851` |
7171
| `HOST` | Listen address | `0.0.0.0` |
72-
| `DATA_DIR` | SQLite data directory (also settable via `-d` flag) | `/data/ExerciseDiary` |
72+
| `DATA_DIR` | SQLite data directory (also settable via `-d` flag) | `/data/WorkoutDiary` |
7373
| `API_KEY` | Require this value on every `X-Api-Key` request header; empty = no auth | `""` |
7474
| `THEME` | Any [Bootswatch](https://bootswatch.com) theme (lowercase) or extras: `emerald`, `grass`, `grayscale`, `ocean`, `sand`, `wood` | `grass` |
7575
| `COLOR` | Background: `light` or `dark` | `light` |
@@ -81,7 +81,7 @@ Both services are configured exclusively via environment variables. No config fi
8181
| `AUTH_EXPIRE` | Session expiration: number + suffix `m`, `h`, `d`, or `M` | `7d` |
8282
| `TZ` | Timezone | `""` |
8383

84-
### Frontend server (`exercisediary-frontend`)
84+
### Frontend server (`workoutdiary-frontend`)
8585

8686
| Variable | Description | Default |
8787
|---|---|---|
@@ -103,7 +103,7 @@ docker run --name node-bootstrap \
103103

104104
docker run --name exdiary-frontend \
105105
-p 8080:8080 \
106-
ghcr.io/rwlove/exercisediary-frontend \
106+
ghcr.io/rwlove/workoutdiary-frontend \
107107
-a http://<YOUR_HOST_IP>:8851 \
108108
-n http://<YOUR_HOST_IP>:8850
109109
```
@@ -117,12 +117,12 @@ docker run --name exdiary-frontend \
117117
-e API_URL=http://<YOUR_HOST_IP>:8851 \
118118
-e NODE_PATH=http://<YOUR_HOST_IP>:8850 \
119119
-p 8080:8080 \
120-
ghcr.io/rwlove/exercisediary-frontend
120+
ghcr.io/rwlove/workoutdiary-frontend
121121
```
122122

123123
## Thanks
124124

125-
- All Go packages listed in [dependencies](https://github.com/aceberg/exercisediary/network/dependencies)
125+
- All Go packages listed in [dependencies](https://github.com/aceberg/workoutdiary/network/dependencies)
126126
- [Bootstrap](https://getbootstrap.com/) and [Bootswatch](https://bootswatch.com) themes
127127
- [Chart.js](https://github.com/chartjs/Chart.js) and [chartjs-chart-matrix](https://github.com/kurkle/chartjs-chart-matrix)
128128
- Favicon and logo: [Flaticon](https://www.flaticon.com/icons/)

cmd/api/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ import (
66

77
_ "time/tzdata"
88

9-
"github.com/aceberg/ExerciseDiary/internal/api"
9+
"github.com/rwlove/WorkoutDiary/internal/api"
1010
)
1111

1212
func main() {
1313
// DATA_DIR env var sets the data directory; -d flag overrides it.
1414
dataDir := os.Getenv("DATA_DIR")
1515
if dataDir == "" {
16-
dataDir = "/data/ExerciseDiary"
16+
dataDir = "/data/WorkoutDiary"
1717
}
1818
flag.StringVar(&dataDir, "d", dataDir, "Path to data directory (overrides DATA_DIR env var)")
1919
flag.Parse()

cmd/frontend/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55

66
_ "time/tzdata"
77

8-
"github.com/aceberg/ExerciseDiary/internal/store"
9-
"github.com/aceberg/ExerciseDiary/internal/web"
8+
"github.com/rwlove/WorkoutDiary/internal/store"
9+
"github.com/rwlove/WorkoutDiary/internal/web"
1010
)
1111

1212
func envOr(key, fallback string) string {

configs/ExerciseDiary.service

Lines changed: 0 additions & 12 deletions
This file was deleted.

configs/ExerciseDiary@.service

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)