lupohan44/GamesHub docker版 限免游戏喜加一全家桶

项目链接:https://github.com/lupohan44/GamesHub
前置条件:

  1. 境外服务器(境内请准备代理),已安装docker

  2. 电报机器人token 使用其他通知方式参考https://github.com/caronc/apprise

  3. 其乐cookie 获取方法https://github.com/lupohan44/GamesHub/tree/main/plugins/gameshub.official.scraper.keylol

  4. 创建工作目录

export GAMES_HUB_FOLDER_NAME=/var/GamesHub
mkdir -p "$GAMES_HUB_FOLDER_NAME"

  1. 下载配置文件config.example.json5 并改名为config.json5,可以根据需要禁用相关插件,例如:
点击查看代码
{
  "update": {
    "check_update": true
  },
  "plugins": {
    "gameshub.official.scraper.steamdb": { // SteamDB scraper plugin
      "enable": false
    },
    "gameshub.official.scraper.keylol": { // Keylol scraper plugin
      "enable": true
    },
    "gameshub.official.scraper.reddit": { // Reddit scraper plugin
      "enable": true
    },
    "gameshub.official.notification.apprise": { // Apprise notification plugin
      "enable": true
    },
    "gameshub.official.redeem.asf": { // ASF redeem plugin
      "enable": true
    },
    "gameshub.official.redeem.steamclient": { // Steamclient redeem plugin (https://github.com/ValvePython/steam)
      "enable": true
    },
    "gameshub.official.scraper.epic": { // Epic Games scraper plugin (https://github.com/SD4RK/epicstore_api)
      "enable": false
    }
  }
}

3. 克隆项目文件,并将所需插件拷贝到/plugins下,然后修改所有相关插件目录下的config.example.json5改名为config.json5,并修改内容为自己的账号信息等等。 > git clone https://github.com/lupohan44/GamesHub.git

/var/GamesHub/plugins目录结构如下图:

/var/GamesHub/plugins/gameshub.official.scraper.keylol目录结构如下图:

  1. 拉取镜像并运行

docker pull lupohan44/games_hub:latest && docker run -v $GAMES_HUB_FOLDER_NAME:/home/wd --rm lupohan44/games_hub:latest

posted @ 2023-01-16 12:38  wensley  阅读(104)  评论(0编辑  收藏  举报