mirror of
https://github.com/watn3y/steamsalty.git
synced 2025-10-25 09:51:02 +02:00
Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8548acf79c | |||
| b55e60bcc7 | |||
| 1b93bab69f |
4 changed files with 9 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM --platform=$BUILDPLATFORM golang:1.24.6-alpine AS builder
|
||||
FROM --platform=$BUILDPLATFORM golang:1.25.2-alpine AS builder
|
||||
|
||||
WORKDIR /steamsalty
|
||||
|
||||
|
|
@ -14,6 +14,9 @@ RUN GOOS=$TARGETOS GOARCH=$TARGETARCH go build -o ./steamsalty
|
|||
|
||||
|
||||
FROM scratch
|
||||
LABEL org.opencontainers.image.source=https://github.com/watn3y/steamsalty
|
||||
LABEL org.opencontainers.image.description="SteamSalty"
|
||||
LABEL org.opencontainers.image.licenses=GPL-3.0
|
||||
WORKDIR /app
|
||||
|
||||
COPY --from=builder /etc/ssl/certs /etc/ssl/certs
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# SteamSalty
|
||||
|
||||
SteamSalty notifies you on telegram about new comments on any steam profile **with build in auto translation**.
|
||||
SteamSalty notifies you on telegram about new comments on any steam profile **with built in auto translation**.
|
||||
|
||||
## Running with Docker Compose
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ package config
|
|||
type config struct {
|
||||
LogLevel int `env:"STEAMSALTY_LOGLEVEL, default=1"`
|
||||
|
||||
ChatID int64 `env:"STEAMSALTY_CHATID, required`
|
||||
Watchers []uint64 `env:"STEAMSALTY_WATCHERS, required`
|
||||
ChatID int64 `env:"STEAMSALTY_CHATID, required"`
|
||||
Watchers []uint64 `env:"STEAMSALTY_WATCHERS, required"`
|
||||
SleepInterval int `env:"STEAMSALTY_SLEEPINTERVAL, default=60"`
|
||||
|
||||
Translate struct {
|
||||
|
|
@ -17,7 +17,7 @@ type config struct {
|
|||
}
|
||||
|
||||
Steam struct {
|
||||
APIKey string `env:"STEAMSALTY_STEAMAPIKEY, required`
|
||||
APIKey string `env:"STEAMSALTY_STEAMAPIKEY, required"`
|
||||
}
|
||||
|
||||
DeepL struct {
|
||||
|
|
|
|||
2
go.mod
2
go.mod
|
|
@ -1,6 +1,6 @@
|
|||
module watn3y/steamsalty
|
||||
|
||||
go 1.24.6
|
||||
go 1.25.2
|
||||
|
||||
require (
|
||||
github.com/Philipp15b/go-steamapi v0.0.0-20210114153316-ec4fdd23b4c1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue