Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Auto updating for self-hosted library #6

Open
ecker00 opened this issue Jan 18, 2025 · 1 comment
Open

[Suggestion] Auto updating for self-hosted library #6

ecker00 opened this issue Jan 18, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@ecker00
Copy link

ecker00 commented Jan 18, 2025

As suggested on Reddit, if Gogg could be used to keep a self-hosted library (RomM) up to date. Ref: rommapp/romm#720

I see quite a few things to tackle to fulfill such a role:

  • Docker image, so it can easily run on a server alongside RomM
  • Watcher mode which looks for updates once a day
  • Output dir by platform, Romm expects each platform on ./win ./linux ./mac etc.
  • Authentication on remote (as is would be running on a headless server)

Hypothetical how it could maybe work in the end:

services:
  romm:
    image: rommapp/romm # Bit simplified for demonstation
    volumes:
      - ./library:/romm/library
    ports:
      - 8080:8080

  gogg:
    image: habedi/gogg
    volumes:
      - ./library:/romm/library
    environment:
      - ACCESS_TOKEN=123 # Some method to obtain auth
      - PLATFORM_WIN=/library/win # Expected path for RomM
      - PLATFORM_MAC=/library/mac
      - PLATFORM_LINUX=/library/linux
    command: gogg watch --platform=all  --lang=en --threads=3 --dlcs=true --extras=false
@habedi habedi added the enhancement New feature or request label Jan 18, 2025
@habedi
Copy link
Owner

habedi commented Jan 18, 2025

Sounds like an interesting idea.

Just one thing: I think the current version of Gogg supports the watching for updates operation already, which can be achieved with something like:

gogg download --id=<game-id> --dir=<storage-dir> --resume=true --extras=false --dlcs=true

This won't download files that have already been downloaded, only the new files like patches for Windows games and updated installers for Linux and macOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants