Skip to content

Explore daily and generally available Jam Tracks for the Fortnite Festival mode.

Notifications You must be signed in to change notification settings

FNFestival/fnfestival.github.io

Repository files navigation

FNFestival.co

This is the repository for the FNFestival.co website, where you can view the daily and generally available jam tracks for the Fortnite Festival mode.

How does it work?

The list of all available jam tracks can be found on the public Fortnite Content API at this link.

However, in order to retrieve the daily jam tracks, authentication is required. To do this, we use the fnbr.js library and then query the event flags that contain the daily jam tracks.

Using a GitHub workflow, we then run the script to update the jam tracks every day at midnight (0:00 UTC). We use a Cloudflare Worker to trigger the workflow because GitHub Action cronjobs are too delayed.

Authentication

To retrieve the daily jam tracks, authentication with the Fortnite client/Epic Games is required. Follow these steps:

  1. Run npm run auth to start the authentication process.
  2. You will be asked for an authorization code. Obtain it from this link.
  3. After logging in, you will receive a JSON response containing the authorization code.
  4. Enter the authorization code when prompted.
  5. A deviceAuth.json file will be created, containing the accountId, deviceId, and secret.
  6. Set these values as environment variables for the GitHub Action.

This process allows the script to connect to the Epic Games/Fortnite endpoints and request the events for Fortnite, including the daily jam tracks.

Thanks to

Contributing

This project was created rather quickly and there are many things that could be improved or added.

If you feel like it, you can help us out by making a pull request.

About

Explore daily and generally available Jam Tracks for the Fortnite Festival mode.

Topics

Resources

Stars

Watchers

Forks