-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 0323204 Author: RedSkiesReaperr <[email protected]> Date: Mon Aug 19 11:25:17 2024 +0200 Update README.md commit 5908700 Author: RedSkiesReaperr <[email protected]> Date: Mon Aug 19 11:17:16 2024 +0200 Updated README.md commit bcd3368 Author: RedSkiesReaperr <[email protected]> Date: Mon Aug 19 10:53:46 2024 +0200 Docker build fixes commit 96e93aa Author: RedSkiesReaperr <[email protected]> Date: Mon Aug 19 10:53:23 2024 +0200 Some adjustments for headless mode commit 85ae26d Author: RedSkiesReaperr <[email protected]> Date: Mon Aug 19 09:47:51 2024 +0200 Add make build rule commit 0c18fc5 Author: RedSkiesReaperr <[email protected]> Date: Sat Aug 17 09:56:52 2024 +0200 Fixes commit beb154e Author: RedSkiesReaperr <[email protected]> Date: Fri Aug 16 10:08:19 2024 +0200 Initialize core only at dashboardScreen.Init() commit d286607 Author: RedSkiesReaperr <[email protected]> Date: Fri Aug 16 10:07:21 2024 +0200 Fix config struct not updated after a call to .Update() commit b6c250c Author: RedSkiesReaperr <[email protected]> Date: Thu Aug 15 00:47:34 2024 +0200 tasks can be re-run on demand commit abf87d2 Author: RedSkiesReaperr <[email protected]> Date: Wed Aug 14 23:42:36 2024 +0200 Fix howlongtobeat 404 requests commit 44a70b8 Author: RedSkiesReaperr <[email protected]> Date: Wed Aug 14 23:26:19 2024 +0200 Configuration screen works & nicer TUI commit 8f9c359 Author: RedSkiesReaperr <[email protected]> Date: Wed Aug 14 23:25:10 2024 +0200 Get config value through ConfigKey commit 4e846b7 Author: RedSkiesReaperr <[email protected]> Date: Wed Aug 14 12:29:10 2024 +0200 Rework config/ to use spf13/viper package commit 1b9de66 Author: RedSkiesReaperr <[email protected]> Date: Wed Aug 14 10:50:29 2024 +0200 Added style & menus to home screen commit f7988ce Author: RedSkiesReaperr <[email protected]> Date: Tue Aug 13 17:41:07 2024 +0200 Refacto + Fix miss-exported functions/structs commit 8be536c Author: RedSkiesReaperr <[email protected]> Date: Tue Aug 13 17:24:49 2024 +0200 Fix circleci build job commit 7cdef7b Author: RedSkiesReaperr <[email protected]> Date: Tue Aug 13 16:32:18 2024 +0200 Nicer task screen commit a0da4d4 Author: RedSkiesReaperr <[email protected]> Date: Mon Aug 12 19:20:25 2024 +0200 Single app begin (dashboard & task details works) commit 1c3d263 Author: RedSkiesReaperr <[email protected]> Date: Mon Aug 12 19:19:52 2024 +0200 cleanup dependencies commit d1dea34 Author: RedSkiesReaperr <[email protected]> Date: Mon Aug 12 19:19:36 2024 +0200 Rework tui package architecture commit 7d3cc87 Author: RedSkiesReaperr <[email protected]> Date: Mon Aug 12 19:19:05 2024 +0200 Updated docker stuff commit 0e56ece Author: RedSkiesReaperr <[email protected]> Date: Sun Aug 11 23:32:25 2024 +0200 Add -no-logfile option commit 3e06271 Author: RedSkiesReaperr <[email protected]> Date: Sat Aug 10 22:18:51 2024 +0200 Architecture rework commit 5186c6a Author: RedSkiesReaperr <[email protected]> Date: Fri Feb 9 17:11:45 2024 +0100 Create base dashboard layout with panels and a table commit 89135c1 Author: RedSkiesReaperr <[email protected]> Date: Fri Feb 9 12:32:53 2024 +0100 Implement dialog workflow with configuration saving commit 732f937 Author: RedSkiesReaperr <[email protected]> Date: Fri Feb 9 12:30:49 2024 +0100 Created dialog view to display infos to user commit 3bd4187 Author: RedSkiesReaperr <[email protected]> Date: Fri Feb 9 10:14:25 2024 +0100 Ignore log files commit 9a08de2 Author: RedSkiesReaperr <[email protected]> Date: Fri Feb 9 10:13:25 2024 +0100 Remove no more used cmd/configurator commit d215013 Author: RedSkiesReaperr <[email protected]> Date: Mon Feb 5 18:29:24 2024 +0100 Add debug.log commit 03c0da9 Author: RedSkiesReaperr <[email protected]> Date: Mon Feb 5 18:29:06 2024 +0100 Configuration view works commit 58de3fd Author: RedSkiesReaperr <[email protected]> Date: Mon Feb 5 18:27:28 2024 +0100 Cleaned app & main view commit 8ef942f Author: RedSkiesReaperr <[email protected]> Date: Sun Feb 4 14:02:06 2024 +0100 Added Makefile commit 9ac368c Author: RedSkiesReaperr <[email protected]> Date: Sat Feb 3 17:31:39 2024 +0100 Adapt circleci config commit 995aa2b Author: RedSkiesReaperr <[email protected]> Date: Sat Feb 3 17:21:06 2024 +0100 Setup App & multiview system commit 78b739a Author: RedSkiesReaperr <[email protected]> Date: Sun Jan 7 13:47:22 2024 +0100 Use bubble help.Model instead of custom one commit 10b35b6 Author: RedSkiesReaperr <[email protected]> Date: Sun Jan 7 00:13:00 2024 +0100 config package now store config in json file & Created configurator app
- Loading branch information
1 parent
05c8d8e
commit 2fb9890
Showing
59 changed files
with
2,174 additions
and
777 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,11 +3,10 @@ | |
version: 2.1 | ||
|
||
orbs: | ||
go: circleci/[email protected] | ||
docker: circleci/[email protected] | ||
go: circleci/[email protected] | ||
|
||
jobs: | ||
build_updater: | ||
build: | ||
executor: | ||
name: go/default | ||
tag: 1.21.1 | ||
|
@@ -17,21 +16,8 @@ jobs: | |
- go/mod-download | ||
- go/save-cache | ||
- run: | ||
name: Build updater | ||
command: go build -v -o ./updater cmd/updater/main.go | ||
|
||
build_watcher: | ||
executor: | ||
name: go/default | ||
tag: 1.21.1 | ||
steps: | ||
- checkout | ||
- go/load-cache | ||
- go/mod-download | ||
- go/save-cache | ||
- run: | ||
name: Build watcher | ||
command: go build -v -o ./watcher cmd/watcher/main.go | ||
name: Build application | ||
command: make ci | ||
|
||
test: | ||
executor: | ||
|
@@ -50,9 +36,7 @@ jobs: | |
workflows: | ||
main: | ||
jobs: | ||
- build_watcher | ||
- build_updater | ||
- build | ||
- test: | ||
requires: | ||
- build_watcher | ||
- build_updater | ||
- build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.circleci/ | ||
bin/* | ||
.env* | ||
*.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
NOTION_API_SECRET= | ||
NOTION_PAGE_ID= | ||
IGDB_CLIENT_ID= | ||
IGDB_SECRET= | ||
UPDATER_HOST=127.0.0.1 | ||
UPDATER_PORT=8080 | ||
WATCHER_TICK_DELAY=3 | ||
NOTION_API_SECRET= | ||
NOTION_PAGE_ID= | ||
REFRESH_DELAY=2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,4 +60,5 @@ Temporary Items | |
# End of https://www.toptal.com/developers/gitignore/api/go,macos | ||
|
||
bin/* | ||
.env | ||
.env | ||
*.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
FROM golang:1.21.1-alpine as build | ||
FROM golang:1.21.1-alpine AS build | ||
|
||
RUN apk update && apk add --no-cache make | ||
|
||
WORKDIR /usr/src/app | ||
COPY go.mod go.sum ./ | ||
RUN go mod download && go mod verify | ||
|
||
COPY . . | ||
RUN go build -v -o /usr/local/bin/updater ./cmd/updater/main.go | ||
RUN go build -v -o /usr/local/bin/watcher ./cmd/watcher/main.go | ||
RUN make docker | ||
|
||
# Release stage | ||
FROM alpine:3.18 | ||
|
||
WORKDIR /bin | ||
COPY --from=build /usr/local/bin/updater /bin/updater | ||
COPY --from=build /usr/local/bin/watcher /bin/watcher | ||
COPY .env . | ||
COPY --from=build /usr/local/bin/igdb-app /bin/igdb-app | ||
RUN touch .env | ||
RUN chmod +x /bin/igdb-app | ||
|
||
CMD ["igdb-app", "-headless"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
SOURCES := main.go logger.go | ||
BINARY:= bin/app | ||
PLATFORMS := darwin/amd64 darwin/arm64 linux/386 linux/amd64 linux/arm linux/arm64 | ||
WIN_PLATFORMS := windows/386 windows/amd64 windows/arm windows/arm64 | ||
|
||
temp = $(subst /, ,$@) | ||
os = $(word 1, $(temp)) | ||
arch = $(word 2, $(temp)) | ||
|
||
.PHONY : release $(PLATFORMS) $(WIN_PLATFORMS) clean | ||
|
||
release: $(PLATFORMS) $(WIN_PLATFORMS) | ||
|
||
$(PLATFORMS): | ||
GOOS=$(os) GOARCH=$(arch) go build -o $(BINARY)-$(os)-$(arch) $(SOURCES) | ||
|
||
$(WIN_PLATFORMS): | ||
GOOS=$(os) GOARCH=$(arch) go build -o $(BINARY)-$(os)-$(arch).exe $(SOURCES) | ||
|
||
build: | ||
go build -o $(BINARY) $(SOURCES) | ||
|
||
clean: | ||
rm -rf $(BINARY)-* | ||
|
||
ci: | ||
go build -v -o ./app $(SOURCES) | ||
|
||
dev: | ||
go build -o $(BINARY)-dev $(SOURCES) | ||
|
||
docker: | ||
go build -v -o /usr/local/bin/igdb-app $(SOURCES) | ||
|
||
run: | ||
go build -o $(BINARY) $(SOURCES) | ||
./$(BINARY)-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.