Skip to content

Feature: Utilize Cloudflare R2 (or similar S3-like Storage) for Mod Downloading #73

Description

@FireMario211

Currently mod menu developers are having their entire accounts/organizations flagged for no apparent reason on Github. This also applies to normal developers who have been flagged for no reason at all.

When they are flagged, it also breaks mod downloads as well.

A solution for this would be to utilize a different service for users to download mods.

Flow:

  1. Developer uploads a mod
  2. Index downloads the .geode file and uploads it to a bucket (mods/{modid}/{version}). (Example: mods/geode.node-ids/v1.2.3, the mods being the bucket.)
  3. The URL of the download is set to the object url.
  4. Users who download the mod will download from that object url.
  5. Any pre-existing mods should have the option to migrate over

Include in .env both access & secret for R2/S3 to upload to bucket. (R2 can function similarly to an S3-compatible API)

(example)

S3_ENDPOINT_URL=
S3_BUCKET_NAME=
S3_REGION=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=

This could also be used for downloading Geode as well, in case users can't download from github due to their internet or if Github flags the geode-sdk organization for no reason.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions