How n3rdmade/content-installer works
Content Installer is a Calagopus Panel extension for discovering, installing, and managing Minecraft plugins, mods, datapacks, and modpacks. The main workflow detects the server and Minecraft version, then filters browsable content or modpacks, resolves versions, and sends installs through panel APIs; users can also identify, update, or remove installed files. Backend routes handle installation, removal, CurseForge proxying, and settings, while embedded Wings scripts perform modpack installation. Source excerpts show key calls; additional capabilities and integrations are included where the README documents them.
Main entry points: lib.rs Install and file routes · ContentInstallerPage.tsx Installer page · BrowseTab.tsx Content browser · ModpacksTab.tsx Modpack browser
Components 19
Discovery and browsing
- Installer page
frontend/src/ContentInstallerPage.tsx - Server detection
frontend/src/detect.ts - Content browser
frontend/src/BrowseTab.tsx - Version formatting
frontend/src/versions.ts
Content lifecycle
- Modpack browser
frontend/src/ModpacksTab.tsx - Installed content manager
frontend/src/ManageTab.tsx
Backend and installation
- CurseForge proxy routes
backend/src/curseforge.rs - Install and file routes
backend/src/lib.rs - Modpack install scripts
backend/src/install_script.rs - Extension settings
backend/src/settings.rs - Admin configuration
frontend/src/AdminConfigPage.tsx
External services
- Modrinth client
frontend/src/modrinth.ts - CurseForge client
frontend/src/curseforge.ts - Modrinth API
- CurseForge API
- Wings installation flow
- Server files
Other components
- Panel user
- Calagopus Panel
Connections 27
- Panel user → Installer page: opens
README.md - Installer page → Server detection: detects server
frontend/src/ContentInstallerPage.tsx - Installer page → Content browser: renders
frontend/src/ContentInstallerPage.tsx - Installer page → Installed content manager: renders
frontend/src/ContentInstallerPage.tsx - Installer page → Modpack browser: renders
frontend/src/ContentInstallerPage.tsx - Content browser → Modrinth client: searches
frontend/src/BrowseTab.tsx - Content browser → CurseForge client: searches
frontend/src/BrowseTab.tsx - Content browser → Version formatting: formats versions
frontend/src/BrowseTab.tsx - Modpack browser → Modrinth client: searches
frontend/src/ModpacksTab.tsx - Modpack browser → CurseForge client: searches
frontend/src/ModpacksTab.tsx - Installed content manager → Modrinth client: identifies files
frontend/src/ManageTab.tsx - Installed content manager → Server files: lists files
frontend/src/ManageTab.tsx - Modrinth client → Modrinth API: queries
frontend/src/modrinth.ts - CurseForge client → CurseForge proxy routes: calls proxy
frontend/src/curseforge.ts - CurseForge proxy routes → CurseForge API: fetches
backend/src/curseforge.rs - CurseForge proxy routes → Extension settings: reads key
backend/src/curseforge.rs - Admin configuration → Extension settings: configures
README.md - Content browser → Install and file routes: installs content
README.md - Installed content manager → Install and file routes: updates or removes
README.md - Modpack browser → Install and file routes: requests install
README.md - Install and file routes → CurseForge proxy routes: registers routes
backend/src/lib.rs - Install and file routes → Extension settings: loads settings
backend/src/lib.rs - Install and file routes → Modpack install scripts: uses scripts
backend/src/lib.rs - Install and file routes → Wings installation flow: starts install flow
README.md - Modpack install scripts → Server files: installs files
README.md - Install and file routes → Server files: writes or removes
README.md - Server detection → Server files: reads server metadata
frontend/src/detect.ts