Giter Site home page Giter Site logo

epicgames-freegames-heroku's Introduction

epicgames-freegames-node on Heroku for Free!

Deploy epicgames-freegames-node in Heroku for free via Github!

GitHub Workflow Status (branch)

GitHub Workflow Status (branch)

GitHub Workflow Status (branch)

GitHub Workflow Status (branch)

CodeFactor

Features

  • Build and deploy customized EpicGames-FreeGames-node image from source to Heroku via Github Actions
  • Persistent Login Cookie stored via Redis
  • Reset stuck cookie via Github Actions
  • Maintainable updates with Git Hash for future updates
  • Easily extendable for future tweaks

Usage

Usage is simply, fast, and user friendly! The application will run each hour after being deployed!

Deployment

  1. Create a fork of this project
  2. Go to your forked repo Settings > Secrets and add secrets for:
  • HEROKU_API_KEY (your Heroku API key - can be found in Account Settings -> API Keys)
  • APP_NAME (the name of the Heroku application, this must be unique across Heroku and will fail if it is not)
  • EMAIL_ADDRESS (your Epic Games email address)
  • EPIC_GAMES_PASSWORD (your Epic Games password)
  • TEMPORARY_EMAIL_COOKIE (a base64 encoded starting cookie, please see temporary cookie generation below)
  • TOTP_MFA (your Epic Games MFA string, not your MFA code, but the string used to generate the code)
  1. Navigate to Github Actions and run the job EpicGamesFreeGamesDeploy workflow and begin deploying the app. This will take around 5-8 minutes.
  2. Congrats, you now having a fully functional EpicGames-FreeGames-node instance in Heroku!

Update

Updating is simple and can be done one of two ways:

  • Running the workflow manually via Github Actions
  • Making a commit to the main branch, forcing a Github Actions workflow to initiate an update workflow

Either one of these will force the Github Actions workflow to run and update the app. If you need to modify to enable/disable settings, you should re-run it as well.

Temporary Cookie Generation and Reset Mechanism

You should be following the instructions listed here up to and including step 4.

You will then take this cookie and base64 encode it, suggested site attached. Then add this in as a secret in your Github forked repo.

Should you have any issues with your token in running the application, you can reset the token by doing the steps above and then running the EpicGamesFreeGamesResetCookie Github Actions workflow.

Email CAPTCHA Support

Email captchas are supported with this mechanism and are supported by Mailgun. We are using Mailgun's sandboxed mode which requires you to manually verify your domain in order to prevent the service from being used as spam.

In order to verify your email address (the variable used for EMAIL_ADDRESS):

  1. Go to your app dashboard in Heroku, find the Mailgun addon.
  2. Click on the Mailgun addon to get SSO redirected to Mailgun dashboard.
  3. Then find the "Sending" tab in Mailgun.
  4. Click on the default domain (sandbox).
  5. On the right hand side, you will see a field entitled "Authorized Recipients".
  6. Enter your email address and Save Recipient.
  7. Wait for an email to arrive - THIS EMAIL WILL MOST LIKELY LAND IN YOUR SPAM BOX.
  8. Click the click in the email and then Yes on the webpage that is presented.
  9. Captcha emails will now be delivered to your email, again PLEASE CHECK IN YOUR SPAM FOLDER WHEN OUTPUT SPECIFIES CAPTCHA IS NEEDED.

Notes to consider

If you enable MFA on your Heroku account after deploying this process, you will need to regenerate the API key and update it within the Github secrets.

epicgames-freegames-heroku's People

Contributors

davidjameshowell avatar handyhat avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.