Skip to content

Commit a5de38c

Browse files
exec-astraeaclaude
andcommitted
docs: rename project to gacha-codes-notifier, link @exec-astraea
The README still called the project hoyo-codes, which no longer matches the repository. Renames the heading and the Docker image/container names in the run example, and makes the @exec-astraea credit an actual link. References to seriaati/hoyo-codes are left alone — that is a different project that genuinely has that name. Also updates the User-Agent sent to the upstream APIs: it advertised github.com/exec-astraea/hoyo-codes, which 404s (no redirect). The whole point of the +URL is letting API operators identify the client, so a dead link defeats it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 3ba9adc commit a5de38c

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# hoyo-codes
1+
# gacha-codes-notifier
22

33
Watches for new **gacha redemption codes** (Genshin Impact, Honkai: Star Rail,
44
Zenless Zone Zero, Honkai Impact 3rd, Wuthering Waves, and Arknights: Endfield)
@@ -13,12 +13,12 @@ and Arknights: Endfield. See [Sources](#sources).
1313
```sh
1414
cp config.example.yaml config.yaml # then add your webhook(s) + messages
1515

16-
docker build -t hoyo-codes .
17-
docker run -d --name hoyo-codes \
16+
docker build -t gacha-codes-notifier .
17+
docker run -d --name gacha-codes-notifier \
1818
-e TZ=Europe/Amsterdam \
1919
-v "$PWD/config.yaml:/app/config.yaml:ro" \
2020
-v "$PWD/data:/app/data" \
21-
hoyo-codes
21+
gacha-codes-notifier
2222
```
2323

2424
Or without Docker: `CONFIG_FILE=config.yaml go run .`
@@ -55,4 +55,4 @@ belongs to others:
5555

5656
## License
5757

58-
[AGPL-3.0](LICENSE) © Alisa Frelia @exec-astraea.
58+
[AGPL-3.0](LICENSE) © Alisa Frelia [@exec-astraea](https://github.com/exec-astraea).

sources.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type Code struct {
1818

1919
var httpClient = &http.Client{Timeout: 20 * time.Second}
2020

21-
const userAgent = "hoyo-codes-notifier/1.0 (+https://github.com/exec-astraea/hoyo-codes)"
21+
const userAgent = "gacha-codes-notifier/1.0 (+https://github.com/exec-astraea/gacha-codes-notifier)"
2222

2323
func getJSON(url string, out any) error {
2424
req, err := http.NewRequest(http.MethodGet, url, nil)

0 commit comments

Comments
 (0)