Skip to content

Latest commit

 

History

History
78 lines (50 loc) · 2.58 KB

README.md

File metadata and controls

78 lines (50 loc) · 2.58 KB

Claim Epic Freebies

EpicGames Weekly Giveaways Auto Claimer

This is a supplementary repository for Revadike/epicgames-freebies-claimer

Setup

All you need to set this up, is to create 3 secret values for this repository

  1. Fork this repo

  2. Go to Actions tab and click on the big green button that says "I understand my workflows, go ahead and run them"

  3. Go to the secrets menu in settings tab

  4. Create 3 new secrets with the name USERNAME, PASSWORD and SECRETKEY (all uppercase) and update the secrets with the corresponding values

    • USERNAME - Your EpicGames email address
    • PASSWORD - Your EpicGames password
    • SECRETKEY - Your Authenticator Key for 2FA

You can skip or delete SECRETKEY if 2FA is disabled. The two-step verification secret will be displayed when you enable enable two-step verification using the "Authenticator" app. If you have already enabled it, you can see it by turning it off and then on again.

Yep, that's it. This will run as scheduled and automatically claim free games available.

Advanced configurations

You can change the behavior of this workflow by editing the claim.yml file.

Trigger schedule

You can change the trigger schedule using cron expressions. You can use crontab guru if you don't know how cron expressions work.

schedule:
  - cron: "0 0 * * *" # Everyday at 00:00 UTC

Note: The schedule trigger of GitHub Actions is a bit inaccurate, so there may be a delay of about 5 to 10 minutes.

Multiple Accounts

If you want to set this up for multiple accounts, You need to create more secrets. You can label them accordingly for easy identification. You also need to create more jobs in order to do this.

jobs:
  claim:

By default, there is only one job. You can create multiple jobs by duplicating the jobs

jobs:
  claim1:
  ...

  claim2:
  ...

Timeout limits

This is setup because sometimes the script fails to login and asks for manual login, which you can't do. So, it would just wait forever.

timeout-minutes: 5 # Automatically stop after 5 minutes

Manual trigger

You can trigger the action manually by starring the repository.

To enable this feature, uncomment the following lines. (remove the # sign from the starting)

#    watch:
#        types: [started] # When repo owner stars this repo

Note This feature is not limited to you. Anyone who stars your fork can trigger the action.