Skip to content

Add CurseForge modpack support#1

Draft
Copilot wants to merge 5 commits intomainfrom
copilot/implement-modpacks-from-curseforge
Draft

Add CurseForge modpack support#1
Copilot wants to merge 5 commits intomainfrom
copilot/implement-modpacks-from-curseforge

Conversation

Copy link
Copy Markdown

Copilot AI commented Jan 28, 2026

Extends the tool to process CurseForge modpacks with parity to existing Modrinth integration.

API Integration

  • CurseForge API client with search, modpack fetch, file listing, and download URL resolution
  • Environment-based authentication via CURSEFORGE_API_KEY
  • Single-emission warning for missing API key

Pack Processing

process_curseforge_pack(
    modpack_id=123456,
    file_id=789012,  # Optional, defaults to latest
    output_file="server-pack.zip",
    dry_run=False
)
  • Downloads and parses CurseForge manifest.json format
  • Fetches individual mod JARs via API (projectID + fileID pairs)
  • Applies existing Fabric/Forge client-side detection
  • Preserves overrides, repacks as server-ready .zip
  • Parallel mod processing with progress callbacks

CLI & GUI

  • CLI: --curseforge-id / -c with optional --file-id for version selection
  • GUI: CurseForge mode radio button, ID input, file dropdown, search dialog with logo previews
  • Worker threads maintain UI responsiveness

Implementation Notes

  • Optional mods now checked for sidedness rather than auto-skipped (server-side optional mods are valid)
  • Version string filtering handles empty strings safely (v and v[0].isdigit())
  • API key warning shown once per session to avoid log spam

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • docs.curseforge.com
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

implement modpacks from curseforge


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 4 commits January 28, 2026 07:48
Co-authored-by: skippystirr <150484926+skippystirr@users.noreply.github.com>
Co-authored-by: skippystirr <150484926+skippystirr@users.noreply.github.com>
Co-authored-by: skippystirr <150484926+skippystirr@users.noreply.github.com>
…d version filtering

Co-authored-by: skippystirr <150484926+skippystirr@users.noreply.github.com>
Copilot AI changed the title [WIP] Add modpacks implementation from CurseForge Add CurseForge modpack support Jan 28, 2026
Copilot AI requested a review from devsker January 28, 2026 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants