Skip to content

Commit 05c825d

Browse files
committed
refactor(project)!: rename project from HotAMD to AMDAlert
Renamed all code, modules, and references from `HotAMD` to `AMDAlert` throughout the project, including binary names, import paths, and documentation. BREAKING CHANGE: The application and all related assets are now named AMDAlert.
1 parent 6f1b116 commit 05c825d

10 files changed

Lines changed: 37 additions & 37 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: go run build.go --build
2929

3030
- name: Create release archive
31-
run: zip $ZIP HotAMD.exe
31+
run: zip $ZIP AMDAlert.exe
3232

3333
- name: Create GitHub release
3434
env:

CHANGELOG.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
# Changelog
22

33

4-
##   [` 📦 v0.3.0 `](https://github.com/kh4f/hotamd/compare/v0.2.0...v0.3.0)
4+
##   [` 📦 v0.3.0 `](https://github.com/kh4f/amdalert/compare/v0.2.0...v0.3.0)
55

66
###   🎁 Features
7-
- **Interactive CLI menu**: added daemon control and GPU information display directly in the command-line interface. [🡥](https://github.com/kh4f/hotamd/commit/4daea2a)
8-
- **Custom temperature limits**: configuration now supports `maxTemp` and `maxFanOffTemp` settings loaded from `config.json`. [🡥](https://github.com/kh4f/hotamd/commit/b781a3f)
9-
- **Configuration management**: daemon now monitors external changes to `config.json` and reloads automatically during runtime. [🡥](https://github.com/kh4f/hotamd/commit/0f4aa28)
10-
- **Temperature threshold configuration**: added interactive prompts to set maximum temperature and maximum fan-off temperature from the CLI. [🡥](https://github.com/kh4f/hotamd/commit/a3fdfb3)
11-
- **Configuration visibility**: current temperature and fan-off temperature settings now display in the CLI interface. [🡥](https://github.com/kh4f/hotamd/commit/5583305)
7+
- **Interactive CLI menu**: added daemon control and GPU information display directly in the command-line interface. [🡥](https://github.com/kh4f/amdalert/commit/4daea2a)
8+
- **Custom temperature limits**: configuration now supports `maxTemp` and `maxFanOffTemp` settings loaded from `config.json`. [🡥](https://github.com/kh4f/amdalert/commit/b781a3f)
9+
- **Configuration management**: daemon now monitors external changes to `config.json` and reloads automatically during runtime. [🡥](https://github.com/kh4f/amdalert/commit/0f4aa28)
10+
- **Temperature threshold configuration**: added interactive prompts to set maximum temperature and maximum fan-off temperature from the CLI. [🡥](https://github.com/kh4f/amdalert/commit/a3fdfb3)
11+
- **Configuration visibility**: current temperature and fan-off temperature settings now display in the CLI interface. [🡥](https://github.com/kh4f/amdalert/commit/5583305)
1212

13-
#####    [Full Changelog](https://github.com/kh4f/hotamd/compare/v0.2.0...v0.3.0)    Mar 14, 2026
13+
#####    [Full Changelog](https://github.com/kh4f/amdalert/compare/v0.2.0...v0.3.0)    Mar 14, 2026
1414

1515

16-
##   [` 📦 v0.2.0 `](https://github.com/kh4f/hotamd/compare/v0.1.0...v0.2.0)
16+
##   [` 📦 v0.2.0 `](https://github.com/kh4f/amdalert/compare/v0.1.0...v0.2.0)
1717

1818
###   🎁 Features
19-
- **GPU fan and temperature alerts**: the application now shows alerts if GPU temperature exceeds 40°C and the fan is not spinning, or if temperature exceeds 60°C. [🡥](https://github.com/kh4f/hotamd/commit/f7e0377)
20-
- **Display GPU fan speed**: added support for reading and printing GPU fan speed (RPM) every 10 seconds together with temperature. [🡥](https://github.com/kh4f/hotamd/commit/919290d)
19+
- **GPU fan and temperature alerts**: the application now shows alerts if GPU temperature exceeds 40°C and the fan is not spinning, or if temperature exceeds 60°C. [🡥](https://github.com/kh4f/amdalert/commit/f7e0377)
20+
- **Display GPU fan speed**: added support for reading and printing GPU fan speed (RPM) every 10 seconds together with temperature. [🡥](https://github.com/kh4f/amdalert/commit/919290d)
2121

22-
#####    [Full Changelog](https://github.com/kh4f/hotamd/compare/v0.1.0...v0.2.0)    Mar 11, 2026
22+
#####    [Full Changelog](https://github.com/kh4f/amdalert/compare/v0.1.0...v0.2.0)    Mar 11, 2026
2323

2424

25-
##   [` 📦 v0.1.0 `](https://github.com/kh4f/hotamd/commits/v0.1.0)
25+
##   [` 📦 v0.1.0 `](https://github.com/kh4f/amdalert/commits/v0.1.0)
2626

2727
###   🎁 Features
28-
- **Periodic GPU temperature display**: the application now prints GPU temperature every 10 seconds for continuous monitoring. [🡥](https://github.com/kh4f/hotamd/commit/342fcc9)
29-
- **GPU temperature reading via ADL**: added AMD Display Library integration to read GPU temperature. [🡥](https://github.com/kh4f/hotamd/commit/3d97292)
28+
- **Periodic GPU temperature display**: the application now prints GPU temperature every 10 seconds for continuous monitoring. [🡥](https://github.com/kh4f/amdalert/commit/342fcc9)
29+
- **GPU temperature reading via ADL**: added AMD Display Library integration to read GPU temperature. [🡥](https://github.com/kh4f/amdalert/commit/3d97292)
3030

3131
###   ⚙️ Internal
32-
- **Migrated to Go implementation**: replaced the previous Rust codebase with a Go implementation, including new project structure and ADL integration. [🡥](https://github.com/kh4f/hotamd/commit/ee53829)
32+
- **Migrated to Go implementation**: replaced the previous Rust codebase with a Go implementation, including new project structure and ADL integration. [🡥](https://github.com/kh4f/amdalert/commit/ee53829)
3333

34-
#####    [Full Changelog](https://github.com/kh4f/hotamd/commits/v0.1.0)    Mar 10, 2026
34+
#####    [Full Changelog](https://github.com/kh4f/amdalert/commits/v0.1.0)    Mar 10, 2026

build.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ func main() {
1313

1414
switch {
1515
case slices.Contains(os.Args, "--build"):
16-
cmd = "cd cmd/hotamd && " +
16+
cmd = "cd cmd/amdalert && " +
1717
"windres res.rc -O coff -o res.syso && " +
18-
"go build -o ../../HotAMD.exe ."
18+
"go build -o ../../AMDAlert.exe ."
1919
case slices.Contains(os.Args, "--run"):
20-
cmd = "go run ./cmd/hotamd"
20+
cmd = "go run ./cmd/amdalert"
2121
case slices.Contains(os.Args, "--release"):
2222
cmd = "bunx relion -b internal/cli/cli.go"
2323
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
package main
22

33
import (
4-
"hotamd/internal/adl"
5-
"hotamd/internal/cli"
6-
"hotamd/internal/config"
7-
"hotamd/internal/daemon"
4+
"amdalert/internal/adl"
5+
"amdalert/internal/cli"
6+
"amdalert/internal/config"
7+
"amdalert/internal/daemon"
88
"os"
99
)
1010

File renamed without changes.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module hotamd
1+
module amdalert
22

33
go 1.26.0
44

internal/cli/cli.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package cli
33
import (
44
"bufio"
55
"fmt"
6-
"hotamd/internal/adl"
7-
"hotamd/internal/config"
8-
"hotamd/internal/daemon"
6+
"amdalert/internal/adl"
7+
"amdalert/internal/config"
8+
"amdalert/internal/daemon"
99
"os"
1010
"os/exec"
1111
"strconv"
@@ -84,7 +84,7 @@ func printMenu() {
8484
autostartAction = "Remove from startup"
8585
}
8686

87-
fmt.Printf(`♨️ HotAMD v%s
87+
fmt.Printf(`🚨 AMDAlert v%s
8888
8989
Status
9090
GPU temp: %d°C

internal/daemon/daemon.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ package daemon
22

33
import (
44
"fmt"
5-
"hotamd/internal/adl"
6-
"hotamd/internal/config"
7-
"hotamd/internal/win"
5+
"amdalert/internal/adl"
6+
"amdalert/internal/config"
7+
"amdalert/internal/win"
88
"os"
99
"os/exec"
1010
"syscall"
@@ -14,7 +14,7 @@ import (
1414
"golang.org/x/sys/windows/registry"
1515
)
1616

17-
var eventPtr = win.Utf16("Global\\HotAMD")
17+
var eventPtr = win.Utf16("Global\\AMDAlert")
1818

1919
func Run() {
2020
handle, err := windows.CreateEvent(nil, 1, 0, eventPtr)
@@ -87,7 +87,7 @@ func AddToStartup() {
8787
}
8888
defer key.Close()
8989

90-
key.SetStringValue("HotAMD", exePath+" --daemon")
90+
key.SetStringValue("AMDAlert", exePath+" --daemon")
9191
}
9292

9393
func RemoveFromStartup() {
@@ -101,7 +101,7 @@ func RemoveFromStartup() {
101101
}
102102
defer key.Close()
103103

104-
key.DeleteValue("HotAMD")
104+
key.DeleteValue("AMDAlert")
105105
}
106106

107107
func IsInStartup() bool {
@@ -115,6 +115,6 @@ func IsInStartup() bool {
115115
}
116116
defer key.Close()
117117

118-
_, _, err = key.GetStringValue("HotAMD")
118+
_, _, err = key.GetStringValue("AMDAlert")
119119
return err == nil
120120
}

internal/win/win.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package win
33
import "golang.org/x/sys/windows"
44

55
func Alert(msg string) {
6-
windows.MessageBox(0, Utf16(msg), Utf16("HotAMD"), windows.MB_OK|windows.MB_ICONWARNING)
6+
windows.MessageBox(0, Utf16(msg), Utf16("AMDAlert"), windows.MB_OK|windows.MB_ICONWARNING)
77
}
88

99
func Utf16(s string) *uint16 {

0 commit comments

Comments
 (0)