lupohan44/GamesHub docker版 限免游戏喜加一全家桶
项目链接:https://github.com/lupohan44/GamesHub
前置条件:
-
境外服务器(境内请准备代理),已安装docker
-
电报机器人token 使用其他通知方式参考https://github.com/caronc/apprise
-
其乐cookie 获取方法https://github.com/lupohan44/GamesHub/tree/main/plugins/gameshub.official.scraper.keylol
-
创建工作目录
export GAMES_HUB_FOLDER_NAME=/var/GamesHub
mkdir -p "$GAMES_HUB_FOLDER_NAME"
- 下载配置文件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
}
}
}
/var/GamesHub/plugins目录结构如下图:
/var/GamesHub/plugins/gameshub.official.scraper.keylol目录结构如下图:
- 拉取镜像并运行
docker pull lupohan44/games_hub:latest && docker run -v $GAMES_HUB_FOLDER_NAME:/home/wd --rm lupohan44/games_hub:latest