EpicGames Free Games

Link to GitHub or Website

Automatically login and find available free games the Epic Games Store. Sends you a prepopulated checkout link so you can complete the checkout after logging in. Supports multiple accounts, login sessions, and scheduled runs.

We use the cookie import method to authenticate users.

This app is hosted on Cocoa as a docker container

https://github.com/trentnbauer/agg/blob/main/docker-compose/epicgames.yml
version: '3'

services:

  app:

    image: ghcr.io/claabs/epicgames-freegames-node:bullseye-slim@sha256:c4a7423714ada82337d998516b0e147312693879e62e9aae2b59b000d6fd175d

    ports:

      - ${WEBPORT:-3000}:3000/udp

      - ${WEBPORT:-3000}:3000/tcp

    restart: unless-stopped

    volumes:

      - config:/usr/app/config

    environment:

      - TZ=${TZ:-Australia/Melbourne}

      - EMAIL=${RECIPIENT_EMAIL} #Email this person when a new free game is released

      - RUN_ON_STARTUP=${RUN_ON_STARTUP:-true}

      - BASE_URL=https://${RECIPIENT_NAME}-egf.${DOMAIN}

      - SMTP_HOST=${SMTP_HOST:-smtp.gmail.com}

      - SMTP_PORT=${SMTP_PORT:-587}

      - EMAIL_SENDER_ADDRESS=${SMTP_FROM} #Emails will be sent from this address

      - EMAIL_SENDER_NAME=${SMTP_SUBJECT:-Epic Games Free Games}

      - EMAIL_RECIPIENT_ADDRESS=${RECIPIENT_EMAIL} #Email this person when a new free game is released

      - SMTP_SECURE=${SMTP_SECURE:-false}

      - SMTP_USERNAME=${SMTP_USERNAME}

      - SMTP_PASSWORD=${SMTP_PASSWORD}

      - LOCAL_TUNNEL=${LOCAL_TUNNEL:-false}

    mem_limit: 2G

    labels:

      - cloudflare.tunnel.enable=true

      - cloudflare.tunnel.hostname=${RECIPIENT_NAME}-egf.${DOMAIN}

      - cloudflare.tunnel.service=http://${HOSTNAME:-localhost}:${WEBPORT:-3000}

      - cloudflare.tunnel.access.policy=${CFPOLICY:-bypass}

      - cloudflare.tunnel.zonename=${DOMAIN}

    logging:

      driver: "json-file"

      options:

        max-size: "5m"

        max-file: "3"



volumes:

  config:



##     I RECOMMEND A CONTAINER PER USER

##     MINIMUM ENV

##     SET THE SUBDOMAIN TO BE UNIQUE AND RECIPIENT TO BE UNIQUE

#RECIPIENT_EMAIL=

#RECIPIENT_NAME=

#FROM_SMTP=

#SMTP_USERNAME=

#SMTP_PASSWORD=

#SUBDOMAIN=

#DOMAIN=

#HOSTNAME=

















































Port
Purpose

3434

WebUI

Host Volume
Container Volume
Purpose

epicgames_config

/usr/app/config

Stores config and cookie files

  1. Log into Portainer

  2. Select Cocoa

  3. On the left, select Volumes

  4. Click on 'Browse' next to the epicgames_config volume

  5. Click on upload

  6. Upload your JSON file

  7. Edit the config.json file

    1. Download the config.json file

    2. Open the config.json in Visual Studio code

    3. Locate line 35 (accounts), click on the end and then hit enter

    4. Copy and paste the below code block and replace the example email with yours

          {
            "email": "[email protected]"
          },
    5. Save the file

  8. Upload the edited config.json file

  9. On the left, click on Stacks

  10. Select Epic Games

  11. Click on 'Stop this stack', then OK

  12. Click on 'Start this stack'

Last updated

Was this helpful?