11/9/2023 0 Comments Free games epic store![]() ![]() To get the OTP key, it is easiest to follow the store's guide for adding an authenticator app. This is optional since all stores should stay logged in since cookies are refreshed. If you set the options for email, password and OTP key, there will be no prompts and logins should happen automatically. Automatic login, two-factor authentication 'pbul://o.gn5kj6nfhv736I7jC3cj3QLRiyhgl98b' - refer to their list of services and examples. You just need to set NOTIFY to the notification services you want to use, e.g. The scripts will try to send notifications for successfully claimed games and any errors like needing to log in or encountered captchas (should not happen).Īpprise is used for notifications and offers many services including Pushover, Slack, Telegram, SMS, Email, desktop and custom notifications. You can also put options in data/config.env which will be loaded by dotenv. On Linux/macOS you can prefix the variables you want to set, for example SHOW=1 node epic-games will show the browser and skip asking you for your login email. If you are using docker compose (or Portainer etc.), you can put options in the environment: section. You can also docker cp your configuration file to /fgc/data/config.env in the fgc volume to store it with the rest of the data instead of on the host ( example). or using -env-file fgc.env where fgc.env is a file on your host system (see docs). You can pass variables using -e VAR=VAL, for example docker run -e -e NOTIFY='tgram://bottoken/ChatID'. ![]() ![]() You can add options directly in the command or put them in a file to load. Overrides PASSWORD.ĭo not unsubscribe from newsletter after claiming a game if 1. Prime Gaming: try to claim DLCs ( experimental). Prime Gaming: try to redeem keys on external stores ( experimental). Overrides EMAIL.Įpic Games password for login. Will wait twice (prompt + manual login).Įpic Games email for login. for Pushover.ĭirectory for browser profile, e.g. Notification services to use (Pushover, Slack, Telegram.), see below. Height of the opened browser (and of screen for VNC in Docker). Width of the opened browser (and of screen for VNC in Docker). Default for Docker, not shown when running outside. You can edit this file directly or run node fgc config to run the configuration assistant again.Īvailable options/variables and their default values: Option TODO: On the first run, the script will guide you through configuration and save all settings to data/config.env. Options are set via environment variables which allow for flexible configuration. If you run the scripts regularly, you should not have to login again. If it still waits after you are already logged in, you can restart it (and open an issue). If you want to login yourself via the browser, you can press escape in the terminal to skip the prompts.Īfter login, the script will continue claiming the current games. There will be prompts in the terminal asking you to enter email, password, and afterwards some OTP (one time password / security code) if you have 2FA/MFA (two-/multi-factor authentication) enabled. The scripts will wait until you are successfully logged in. You can login indirectly via the terminal or directly in the browser. When running the first time, you have to login for each store you want to claim games on. When running the scripts outside of Docker, the browser will be hidden by default you can use SHOW=1.You can open to interact with the browser running inside the container via noVNC (or use other VNC clients on port 5900). When running inside Docker, the browser will be shown only inside the container.By default, you won't see any browser open on your host system. UsageĪll scripts start an automated Firefox instance, either with the browser GUI shown or hidden ( headless mode). If you don't want to use Docker for quasi-headless mode, you could run inside a virtual machine, on a server, or you wake your PC at night to avoid being interrupted. If you are missing some dependencies for the browser on your system, you can use sudo npx playwright install firefox -with-deps. Run pip install apprise to install apprise if you want notificationsĭuring npm install Playwright will download its Firefox to a cache in home ( doc).Clone/download this repository and cd into it in a terminal.I want to run without Docker or develop locally. node epic-games at the end of the docker run command, or if you want several bash -c "node epic-games.js node gog.js".ĭata (including json files with claimed games, codes to redeem, screenshots) is stored in the Docker volume fgc. This will run node epic-games node prime-gaming node gog - if you only want to claim games for one of the stores, you can override the default command by appending e.g. Docker run -rm -it -p 6080:6080 -v fgc:/fgc/data -pull=always ghcr.io/vogler/free-games-claimer ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |